Pending Orders

Viewing 3 posts - 1 through 3 (of 3 total)
  • #122245

    I have a system running at 15 minute intervals. Where a market already has an open trade and the conditions are in place for a new position the trade seems to go into a Pending Status. These trades stay there until they can be opened. Is there a way to stop them from going into pending.

    I am able to cancel these order manually but I would prefer them not to use Pending at all

    I have DEFPARAM CumulateOrders = false and to open a trade my code uses IF NOT LongOnMarket

    Any help will be appreciated

     

    #122247

    Not easy to help without seeing the code.

    You are not testing on DJI are you … I’m sure you know they keep applying the Circuit Breaker … is that why your Orders go into Pending??

    already has an open trade

    IF NOT LongOnMarket

    With above  … if LongOnMarket  then you would NOT be able to open another trade.

     

    #122307

    This issue seemed to clear itself up around 4pm yesterday. It was happening in a PRT demo account linked to IG demo so perhaps the sheer volume of trades happening yesterday because of the increased volatility was something to do with it.

    Thanks for your comments GraHal

    1 user thanked author for this post.
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