Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Recommended Simulator Settings?

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

    Recommended Simulator Settings?

    I'm using

    - NeoTicker as a Ninja Trader External Data Feed
    - NeoTicker's Simulation Server
    - an interface to Ninja Trader's ATI to execute trades in Ninja Trader

    As I've written before, I'm doing this to do end-to-end testing of my system(s).

    A benefit of this approach is that I can set the speed of the "Data Replay" in NeoTicker to multiples of actual market speed. This is great because I can test more market scenarios in a short amount of time.

    However, as I understand it, Ninja Trader provides some "fill logic" that is intended to mimic fills in realtime trading. This is great but when I'm running NeoTicker at a multiple of actual market time gets in the way of some orders being executed.

    So, my question is this: How best might I minimize Ninja Trader's fill filter mechanism?

    In this testing, my objective is not to test actual fills so much as it is to test the robustness of the trade execution code I've written. So, what I really want is for Ninja Trader to execute the trade as soon as the market hits my Limit Order Price and not filter the fill.

    Is there a way to do this?

    Thanks.

    #2
    imported post

    No there is not.

    What you can do is uncheck (if not already) "Enforce partial fills" and set the communication delay parameters to zero.

    Ray
    RayNinjaTrader Customer Service

    Comment


      #3
      imported post

      Thanks Ray for the info. I had already set the communication delay parameters to zero.

      I'd appreciate it if you could add the following to the User Wish List for options in use with the Sim101 Account.

      Provide users with the ability to "turn off" any Ninja Trader constraint on immediate fills when a Limit Order fill price is hit. This will provide Ninja Trader ATI users with the ability to do end-to-end trade execution testing of their calls to the ATI when using platforms like NeoTicker's Simulation Server at a faster than actual Market replay speed.

      The need for Testing, Testing, and more Testing is critical to ensure that the user's system and the execution process is bullet-proof. This need is easy to underestimate.

      Anything that Ninja Trader can do to facilitate these Testing processes is much appreciated.

      Comment


        #4
        imported post

        Ray, et al.

        Using the Simulation Server from NeoTicker to supply external data toNinja Trader is an effectiveapproach fortestingautomated systemorder executionas well asfor testing orderfillsin a more realisticsimulation environment.

        To make this type of system testing even more effective, it is useful toaccelerate the replay of Neo's Simulation Server for bothtesting objectives. Systemforward testing usingseveral weeks ofdata, tick-by-tick,can then be accomplished ina couple hours.

        Ideally,for execution order testing in accelerated time,itwould be great to enable "instant fills" on limit orders. However,for order fill testing in accelerated time, it would be great to minimizethe processing time of thesophisticated order fill mechanism so as not tosignificantly constrain the replay process. Not sure if there is room for improvement in this area.

        Icertainly agree with Asp'scomments regarding the need fortesting, testing, and more testing.

        I appreciate your consideration of these enhancements.

        Whitmark


        whitmark
        NinjaTrader Ecosystem Vendor - Whitmark Development

        Comment


          #5
          imported post

          Thanks for taking the time to write and provide feedback.

          Ray
          RayNinjaTrader Customer Service

          Comment


            #6
            imported post

            Ray,

            Do you see that Bleemus in the eSignal thread is really working through the same issue WhitMark and I have addressed here... namely...

            The Ninja Trader fill algorithm mechanism is great for Simulation testing but it only works well when running at actual market speed. But the implication of what Bleemus is up to is that it would be useful to be able to turn it off...

            Having said that... there is another alternative. Here it is:

            Give us the ability within the ATI to drive the timestamps on ticks as part of the External Data Feed. This latter option might actually be the most valuable.

            This alternative would allow us to leverage your work on the limit order fill mechanism and still allow us speeding through Simulations using replay on platforms external to Ninja Trader.

            Comment


              #7
              imported post

              Not sure what you are asking for. There already are the Bid/Ask/LastPlayback functions with take a timestamp parameter.

              Comment


                #8
                imported post

                Oh. I had overlooked those functions. That looks like precisely what I'd like and you've already done it.

                Fantastic!

                Let me ask a question then...

                Is the portion of the Limit Order fill logic that references the passage of time based on the passage of time on the computer clock or on the timestamp on transactions?

                If it's based on the passage of time on the timestamps on transactions then using those functions rather than the Bid/Ask functions ought to lessen the effect of missed Limit Orders when running in a faster than market replay.

                Thanks! Thanks! Thanks!

                Comment


                  #9
                  imported post

                  It's based on computer clock.

                  Ray
                  RayNinjaTrader Customer Service

                  Comment


                    #10
                    imported post

                    OK.

                    What we need then is to be able to shut the Ninja Trader "fill logic" on limits off.

                    Again, the point is not that we don't appreciate the necessity for limit order fill reality testing. But that logic gets in the way when we're at the stage of testing the execution process itself by speeding through an External Data Feed and Order Placement replay. The fill logic you've developed gets in the way of doing that kind of basic test.

                    Thanks for the info.

                    Comment


                      #11
                      imported post

                      OK

                      Will add "Enforce immediate fills" simulator option for R6. Maybe you can publish an article on end to end testing and post links to it in various forums?

                      Ray
                      RayNinjaTrader Customer Service

                      Comment


                        #12
                        imported post

                        For accelerated market replay testing of limit order fills, it would be great to have all time-based delays based on the datafeed timestamp vs the computer clock.

                        Is the minute-based TIF functionalitybased on the timestamp of the datafeed or the computer clock? If its the latter,this would be another candidate to convert tothe timestamp on the datafeed.

                        Yourconsideration of these enhancement ideas is greatly appreciated.

                        Whitmark

                        whitmark
                        NinjaTrader Ecosystem Vendor - Whitmark Development

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by jaybedreamin, Today, 05:56 PM
                        0 responses
                        2 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
                        1 view
                        0 likes
                        Last Post Jon17
                        by Jon17
                         
                        Started by Javierw.ok, Today, 04:12 PM
                        0 responses
                        6 views
                        0 likes
                        Last Post Javierw.ok  
                        Started by timmbbo, Today, 08:59 AM
                        2 responses
                        10 views
                        0 likes
                        Last Post bltdavid  
                        Working...
                        X