• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Load historical data via code

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

    Load historical data via code

    Hello,

    1. Is NT8 support to load historical data via code ? If so whats the relevant methods or functions?

    2. is there any samples?

    Sincerely,Kobi

    #2
    Hello levikNT,

    Yes, this can be done with a BarsRequest. Below is a link to the help guide on BarsRequest which includes an example.
    http://ninjatrader.com/support/helpG...arsrequest.htm

    Also, below is a link to a working sample.
    http://ninjatrader.com/support/forum...802#post455802

    Just as a tip, the NinjaTrader 8 section of the forums can be found below.
    http://ninjatrader.com/support/forum...splay.php?f=59
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Sure would be nice to have a BarsRequest for Bid/Ask data, especially when Tick Replay and AddDataSeries is over-kill.

      Comment


        #4
        Hi CriticalTrader,

        Are you referring to the MarketDataType property of the BarsPeriod?
        http://ninjatrader.com/support/helpG...barsperiod.htm

        This allows you to set Ask, Bid, or Last as the market data type when creating the bars request.

        If this is not what you are referring to, can you elaborate on what you are trying to do?
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Dah...apparently I am asking that. Sorry... for some reason I missed that option.
          Thank you.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by bankavaselina, Today, 10:38 AM
          0 responses
          2 views
          0 likes
          Last Post bankavaselina  
          Started by dieterp, Today, 09:40 AM
          1 response
          5 views
          0 likes
          Last Post NinjaTrader_Heath  
          Started by bankavaselina, Today, 08:51 AM
          1 response
          13 views
          0 likes
          Last Post NinjaTrader_PatrickG  
          Started by ballboy11, Today, 09:05 AM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_Jim  
          Started by frankduc, Today, 08:39 AM
          4 responses
          10 views
          0 likes
          Last Post frankduc  
          Working...
          X