Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How NT7 factor Ask/Bid in Backtesting?

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

    #16
    That what I do Cheers!

    Comment


      #17
      No reply from Ninja Trader development team. I would be interesting to know if they are interested or not in changing anything, or making any comments

      Comment


        #18
        At this time there are no plans "to change anything" nor to comment beyond Ray's statements below. Thanks

        Comment


          #19
          Could you please tell in what format shall I supply Bid/Ask?

          For last I use NT6.5 format as per quote below and it works:

          Tick Format
          Each tick must be on its own line and fields must be separated by semicolon (.


          The format is:
          yyyyMMdd HHmmss;price;volume


          Sample data:
          20061107 000431;1383.00;1
          20061107 000456;1383.25;25

          Comment


            #20
            would using 1-range bars for orders help?

            One method mentioned here is using 1-range or 1-tick bars for your orders. Wouldn't this be accurate within +/-1 tick of the real price for backtesting?

            Comment


              #21
              No it wouldnt. I always tested it with 1-tick interval as an execution timeframe but absence of Bid/Ask rendered the result invalid.

              Comment


                #22
                Originally posted by maxima View Post
                Could you please tell in what format shall I supply Bid/Ask?

                For last I use NT6.5 format as per quote below and it works:

                Tick Format
                Each tick must be on its own line and fields must be separated by semicolon (.


                The format is:
                yyyyMMdd HHmmss;price;volume


                Sample data:
                20061107 000431;1383.00;1
                20061107 000456;1383.25;25
                Same format for last price is used.
                RayNinjaTrader Customer Service

                Comment


                  #23
                  Originally posted by NinjaTrader_Ray View Post
                  Same format for last price is used.
                  But what meaning of volume here?

                  Are you saying I need date/time and bid or ask price with semi-colon.. What is volume for?

                  Comment


                    #24
                    maxima,

                    They are separate files. Bid prices and ask prices are their own files just like how last prices are imported in its own file.

                    You would provide a file that is all bid prices, provide the volume at that bid price and when you import you have the option to choose if you are importing last, bid, or ask prices.
                    Josh P.NinjaTrader Customer Service

                    Comment


                      #25
                      Right. That what I needed.

                      Just to make sure...

                      Bid/Ask import file has to be:

                      yyyyMMdd HHmmss;price;volume

                      where price = bid/ask price at that time and volume = volume at bid/ask


                      Or in other words = bid/ask import files are volume at bid/ask not bid/ask time change as I thought before.

                      Comment


                        #26
                        That is correct.
                        Josh P.NinjaTrader Customer Service

                        Comment


                          #27
                          Sold!

                          Thank you

                          Comment


                            #28
                            get a real data feed ... go fibre! or go to the pit

                            Originally posted by maxima View Post
                            Aha! I was looking for something like that! Many thanks!
                            ...
                            Now I need to find proper data with somewhat correct ask and bid and this should be solved!

                            Thanks again.
                            Your best bet to get good data is to have a fibre cable feed direct off the server at the exchange. Anything less than that can only be considered an approximation. Your use of 'somewhat' is accurate ... all we will ever see at the retail trader level is 'some what like reality' just like we can say sea water is salty ... reality is that the salinity, ph and mineralization mix changes with each passing moment ... and such is true with the capability of having accurate data to trade from ... good luck wuth your search!

                            Mark

                            Comment

                            Latest Posts

                            Collapse

                            Topics Statistics Last Post
                            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                            0 responses
                            612 views
                            0 likes
                            Last Post Geovanny Suaza  
                            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                            0 responses
                            355 views
                            1 like
                            Last Post Geovanny Suaza  
                            Started by Mindset, 02-09-2026, 11:44 AM
                            0 responses
                            105 views
                            0 likes
                            Last Post Mindset
                            by Mindset
                             
                            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                            0 responses
                            561 views
                            1 like
                            Last Post Geovanny Suaza  
                            Started by RFrosty, 01-28-2026, 06:49 PM
                            0 responses
                            564 views
                            1 like
                            Last Post RFrosty
                            by RFrosty
                             
                            Working...
                            X