not accumulating orders

Forums ProRealTime English forum ProOrder support not accumulating orders

  • This topic has 2 replies, 2 voices, and was last updated 6 years ago by avatardac.
Viewing 3 posts - 1 through 3 (of 3 total)
  • #87690
    dac

    hello

    my code is not accumulating orders when actually putting a order on top of another one with real money.

    Let me explain more . My code works fine (DEFPARAM CumulateOrders = True // Cumulating positions deactivated) on the test screen in real time and the trade shows up at the exact time it should. But

    when I check if actual order was placed, it wasn’t . Its the same code exactly as I only have a single code .

    So the code shows me the trade but the actual order is not placed on the second,third order etc. .

    Thanks in advance .

    #87692

    When you launched your strategy, how many contracts did you allow?

    If you wrote 1, no matter what your strategy does just 1 contract at most will be allowed. If youe strategy wants to buy, say, 100 contracts, then you can reduce that limit at runtime by setting a lower number when you launch the strategy.

    #87699
    dac

    thanking you .

    yes I put in 1 contract as I only trade a single contract at a time i.e. 10 dollars ,not 20 dollars etc.

    I thought it was a failsafe on an individual contract , not a number of trades over a set code cycle .

    When contracts is both the value of a trade and how many trades per code cycle, i was confused.

    Maybe it’s just me!

    I will adjust .

    Thanks  again for your fast response .

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

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