Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Testing Order rejection

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Testing Order rejection

    Hi, I want to simulate an order rejection in order to test if my strategy is handling this correctly. In order to simulate this on FOREX I reset the simulation account SIM101 (account connected to my strategy) and put the initail cash on 1 and the margin on 1 as well (jn the tab 'accounts' the buying power is 1 so the reset is executed well). I expect that an order will be rejected because of margin/ not enough cash. But if I enable the strategy an order is still filled on SIM101? Is that because it is a FOREX order? How could I simulate an order rejection?

    Kind regards,
    Rene

    #2
    Renejm, what order size do you then try to submit with? Easiest probably for forex would be trying a 'marketable' limit order that should be rejected as not allowed there compared to futures.

    Comment


      #3
      I have submitted a market order of 20.000 for $AUDUSD. The order is submitted and filled despite a balance of $1.

      Comment


        #4
        Thanks, can you try running with a higher size, for example 200k?

        There are some limitations you into here on the simulator, our next major platform update will introduce a changed and improved logic here.

        Comment


          #5
          I have solved the issue. By default for currency pairs the margin to be calculated as defined in the instrument manager is set to 0. If increased margin is calculated and the order is rejected as expected. So issue solved. Thansk for your help.

          Comment


            #6
            Originally posted by Renejm View Post
            I have submitted a market order of 20.000 for $AUDUSD. The order is submitted and filled despite a balance of $1.
            Try submitting a Buy Stop entry below the market, or a Sell Stop entry above the market. That is the best way to guarantee a rejection.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            66 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            41 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            24 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            27 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            53 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X