Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Importing Historical Market Depth?

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

    Importing Historical Market Depth?

    Hi,

    Is there a way to import market-depth, or at least bid/ask prices, using Ninjatrader Historical Data Import?

    Thanks.

    #2
    Hello Kingwizz,

    Thank you for your post.

    Version 7 will allow you to import historical bid / ask data but this is not currently supported in version 6.5.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thanks. I am using version 7 at the moment. Would you be able to advise on the format needed to import bid/ask data?

      Comment


        #4
        Hi,

        In V7, click the F1 Key to open up the Help Guide, then select the Historical Data Manager section--> Importing--> Understanding the Import Options.
        Vince B.NinjaTrader Customer Service

        Comment


          #5
          Thanks, I've found the details. How do I run a strategy so that it enters on the ask price, and exits on the bid price?

          Comment


            #6
            Hi Kingwizz,

            In your strategy code, you can use GetCurrentAsk() and GetCurrentBid()

            More info at - http://www.ninjatrader-support.com/H...?GetCurrentAsk
            and - http://www.ninjatrader-support.com/H...?GetCurrentBid

            Keep in mind this will access the Close price if used in backtesting.
            TimNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            66 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            36 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            59 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            62 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            53 views
            0 likes
            Last Post CarlTrading  
            Working...
            X