Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

External Feed Playback Date/Timestamp

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

    External Feed Playback Date/Timestamp

    I am coding a NeoTicker Delphi DLLthat supplies data for an external datafeed to Ninja to enableend-to-end testing of mytrading systems.Within thiscode I use theNinja AskPlayback and BidPlayback functions to set the price and size for the specified instrumentand then use the NeoTickerSimulation Server toreplay thehistorical market data (often at accelerated replay levels) to conduct tick-by-tick forward testing of my systems. After submitting a place order command, I rely on the designated Ninja strategy to take me out of the trade.

    This works great, except that it appears thedate/timestamp that is used on the Ninja order, execution, and performancetabsis from thecomputer clock and not from thedate/timestamp supplied from theplayback functions. I have confirmed that theplayback functions aresending the correctdate/timestamp in the form of 'yyyymmddhhnnss' where nn is seconds per another post on this topic.

    Needless to say, the ability to review performance information on adate/time basis that corresponds to the incoming datafeed is extremely important for ATI system testing. Please confirm the current operations as I have described and I would appreciate it if you could offer anyworkarounds or enhancements. Many thanks.

    Regards,

    Whitmark






    whitmark
    NinjaTrader Ecosystem Vendor - Whitmark Development

    #2
    imported post

    1) Correct format is yyyyMMddhhmmss. mm is minutes.
    2) Bid/Ask/LastPlayback only set timestamp on the market data. Order related events are timestamped by computer clock.

    Comment


      #3
      imported post

      Thanks Dierk,

      Yes, I misstated #1, you are correct.

      Regarding#2, what are the merits of posting timestamps based onthe computer clock when replaying historical market data? Is the implication that ATIusers that rely onthe playback functions for testing are to do their owntracking and performance management reporting?

      This would seem to be a shortcoming whether oneis using marketreplay to practice discretionary trading or, as in my case, testing systems through the ATI, whether the source of the databe eSignal, NeoTicker orother platform that supports actual or accelerated playback. Are any enhancements planned in this area?

      Thanks for your thoughts on this topic.

      Regards,

      Whitmark

      whitmark
      NinjaTrader Ecosystem Vendor - Whitmark Development

      Comment


        #4
        imported post

        Whitmark is right on this...

        If the playback functions are returning a timestamp then orders should be timestamped to the playback function timestamp.

        Comment


          #5
          imported post

          Will be implemented with next release.

          Comment


            #6
            imported post

            Dierk, thats great!Thank you.

            In the same vein, I've noticed that minute-based TIF arguments utilized viaATI are also clocked based. I was hopingfrom mytrading system I could send an order with strategy calland monitor the marketposition until 1)the order is not filled and is cancelled via a minute based TIF or 2) order is filled and completely managed bythe called Ninja strategy. I am finding that the minute-based TIF orders are not executing properly onaccelerated replay so I assume they arereferencing the computer clock vs market replay time. Thanks for your consideration on this.

            Regards,

            Whitmark
            whitmark
            NinjaTrader Ecosystem Vendor - Whitmark Development

            Comment


              #7
              imported post

              I'm a bit lost "on minute-based TIF orders" order. What do you mean? "DAY" and "GTC" are not minute based. Can you please provide a sample on how place "minute-based TIF orders"?

              Thanks

              Comment


                #8
                imported post

                It was my understanding from the following post that you could supply a whole number in place of the "DAY" or "GTC"using the API command function (not DOM) and the order would cancel if not filled after the specified number of minutes. Looks like it works in computer clock time, but not market replay time.

                http://ninjatrader.mywowbb.com/view_...;highlight=TIF

                Regards,

                Whitmark
                whitmark
                NinjaTrader Ecosystem Vendor - Whitmark Development

                Comment


                  #9
                  imported post

                  This is true for NT4 but not NT5, where this feature is not (yet) implemented.

                  Comment


                    #10
                    imported post

                    Hmm . . . I'll have to take a closer look to see whats happening with my unfilled orders as I thought it was working. None the less,short-term time-based cancelling of unfilled entry orders representsa one-off housekeepingchorethat would be unnecessary if the NT4 functionality was restated. Enabling the ability to place "set it and forget it" entry order commands with the appropriate filled strategyand unfilled TIFactions would be very helpful for automated operations.I suspect that is why it was included in NT4 in the first place. Looking forward to its return. Thanks.

                    Regards,

                    Whitmark
                    whitmark
                    NinjaTrader Ecosystem Vendor - Whitmark Development

                    Comment


                      #11
                      imported post

                      Any update or timing regardingthese enhancements that are under consideration from this thread?

                      1) Data basedvs computer clock timestames for historical data playback and proper posting forcontrol center reporting

                      2) Reinstatement of minute based TIF orders (at least on ATI) that are data vs computer clock based for historical data playback

                      Thanks,

                      Whitmark


                      whitmark
                      NinjaTrader Ecosystem Vendor - Whitmark Development

                      Comment


                        #12
                        imported post

                        1) Works with NT5R7
                        2) On the list

                        Comment


                          #13
                          imported post

                          I was hoping for an update on whereminute based"TIF" parameters are prioritized given the comment fromDierk early this year.

                          As I have noted before, the Ninja ATI is great for offloading order and position management to free up your trading platform from theseintensive tasks,however, the exception to this is the cancelling ofstale entry limit orders that have nottriggered. Theintensivechore within my trading platform of having to inspect eachorderto determine which is stale and therefore has to be cancelled, would be alleviated if theminute-based TIF was made available as it was in NT4, if only in the ATI.

                          In my attempt to rely on Ninjato take me out of a trade once an order is placed in a"set it and forget it" manner, the lack of this feature is aserious shortcoming to the ATI capabilities that require unessessary workarounds tomanage and is a curious ommission since it's introductionNT4. If there are otherautomated means to cancel stale limit orders within NT5, please let me know.

                          Thanks for your consideration.

                          Regards,

                          Whitmark
                          whitmark
                          NinjaTrader Ecosystem Vendor - Whitmark Development

                          Comment


                            #14
                            imported post

                            Hi Whitmark,

                            We do see the value of it which is why it's on our list but it has not been committed for development yet.

                            Ray
                            RayNinjaTrader Customer Service

                            Comment

                            Latest Posts

                            Collapse

                            Topics Statistics Last Post
                            Started by algospoke, Yesterday, 06:40 PM
                            2 responses
                            19 views
                            0 likes
                            Last Post algospoke  
                            Started by ghoul, Today, 06:02 PM
                            3 responses
                            14 views
                            0 likes
                            Last Post NinjaTrader_Manfred  
                            Started by jeronymite, 04-12-2024, 04:26 PM
                            3 responses
                            45 views
                            0 likes
                            Last Post jeronymite  
                            Started by Barry Milan, Yesterday, 10:35 PM
                            7 responses
                            20 views
                            0 likes
                            Last Post NinjaTrader_Manfred  
                            Started by AttiM, 02-14-2024, 05:20 PM
                            10 responses
                            181 views
                            0 likes
                            Last Post jeronymite  
                            Working...
                            X