Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

simulator logics

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

    simulator logics

    In the "Simulator" help file, you states:
    "NinjaTrader provides a state of the art internal simulation engine that you can use to test trading ideas and hone your skills. The simulation engine is not a simple algorithm that fills your order once the market trades at your order price. The engine uses a scientific approach to determine fill probability by including a number of variables including ask/bid volume, trade volume, time (to simulate order queue position) and random time delay for switching between order states."
    Can you provide a bit more details on how the simulator uses those variables mentioned to simulate order queue position and fill probability?
    Thanks.

    #2
    Unfortunately we are unable to disclose any further information on that matter, since we consider the fill logic of our simulator as a competitive advantage.

    Comment


      #3
      Can this simulating order fill logic be applied in the backtesting mode?

      Comment


        #4
        Hello imagineer,

        Unfortunately not. You can select a default and liberal fill type in the Strategy Analyzer upon backtesting a strategy. You can even create your own algorithm. More information can be found at the link below.


        Historical Fill Processing

        NinjaTrader provides two system fill algorithms that can be used in a backtest. In addition, if you have some experience programming, you can script your own algorithm.

        The two system fill algorithms are:

        Default
        An algorithm that takes a conservative and more realistic approach to filling limit and stop limit orders.
        • Limit orders only fill if the limit price was penetrated
        • Limit orders are always filled at the limit price specified never better (for example, if a limit order is submitted on bar n, NT will check if the order is filled on bar n+1, if this bar gaps down and the limit order was a buy, the order would be filled at the limit price and NOT the high of bar n+1)

        Liberal
        An algorithm that takes a liberal approach to filling limit and stop limit orders.
        • Limit orders fill if the limit price was touched
        • On gap down bars, buy limit orders will fill at the high of the gap down bar
        • On gap up bars, sell limit orders will fill at the low of the gap up bar
        JasonNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by bill2023, Yesterday, 08:51 AM
        8 responses
        43 views
        0 likes
        Last Post bill2023  
        Started by yertle, Today, 08:38 AM
        6 responses
        25 views
        0 likes
        Last Post ryjoga
        by ryjoga
         
        Started by algospoke, Yesterday, 06:40 PM
        2 responses
        24 views
        0 likes
        Last Post algospoke  
        Started by ghoul, Today, 06:02 PM
        3 responses
        16 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by jeronymite, 04-12-2024, 04:26 PM
        3 responses
        46 views
        0 likes
        Last Post jeronymite  
        Working...
        X