Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple single orders in Market Replay, possible bug?

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

    Multiple single orders in Market Replay, possible bug?

    When using a simple strategy that places limit orders of size n using the managed approach, if I attempt to test them with market replay, it fills the limit order as 2 trades:
    1 of 1 unit and 1 of n-1 units.

    When those orders are then closed, it closes them all one by one! Obviously, if I go long 1/2 million EUR/USD then on closing the trade I get 1/2 a million executions for one trade!

    This doesn't occur in backtesting or in real time, only in market replay.

    Any ideas why this is?

    #2
    Hi skeksis,

    Welcome to the NinjaTrader forums. There are some simulator options you can look into:
    Click Tools > Options > Simulator tab.
    Uncheck Enforce Partial fills.
    Check Enforce immediate fills.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thanks, enforcing immediate fills fixed the problem. I don't see why this should happen either way though, it definitely seems like a bug of some sort.

      Comment


        #4
        NT supports multiple asset classes, so the simulator offers some settings flexibility to accommodate this. Glad to hear you've found the settings that work for you.
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by bortz, 11-06-2023, 08:04 AM
        47 responses
        1,602 views
        0 likes
        Last Post aligator  
        Started by jaybedreamin, Today, 05:56 PM
        0 responses
        8 views
        0 likes
        Last Post jaybedreamin  
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        18 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by Jon17, Today, 04:33 PM
        0 responses
        4 views
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        12 views
        0 likes
        Last Post Javierw.ok  
        Working...
        X