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 argusthome, 03-08-2026, 10:06 AM
            0 responses
            85 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            48 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            29 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            32 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            67 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X