Using AI to generate strategies

Forums ProRealTime English forum ProOrder support Using AI to generate strategies

Viewing 4 posts - 1 through 4 (of 4 total)
  • #243111

    I’m trying to use Grok AI to generate basic strategies.

     

    The prompt is: ”

    write me an algo that opens a trade 1 hour after market open. if the first hourly candle closes positive, open a long trade of one contract. close the position at market close of the day.”

    I’m getting an error on Line 1.

    It’s returned this, does anyone know what needs to be added to remediate the error?

     

     

     

    #243112

    line 7 functions or calls to functions do not exist with PRT

    1 user thanked author for this post.
    #243114

    Your prompt did not refer to PRT, try again and state strategy to run on ProRealTime Platform.

    Your code above contains several errors (will not work on PRT) so best solution is to do above.

    1 user thanked author for this post.
    #243123

    Hi!
    Currently, the AI is not capable of creating good code for Probuilder. For python it works very well, but not for Prorealtime.
    The only option to have some “luck” with the results is to give the AI a coding example. Even then, it will still give errors.
    good luck 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login