• 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

access last historical data

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

  • tolisss
    started a topic access last historical data

    access last historical data

    Hi

    For a custom instrument I imported data from file and I would like from within an addon to access the last imported value

    but both are null

    Instrument.GetInstrument("Test").MarketData && Instrument.GetInstrument("Test").HistoricalData

  • NinjaTrader_AlanP
    replied
    Hello tolisss,

    You could access this data through a BarsRequest Object.

    Please see Accessing Market Data at the following link,
    https://ninjatrader.com/support/help...r_an_addon.htm

    Please let us know if you need further assistance.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by TraderCAD, Today, 04:27 PM
1 response
5 views
0 likes
Last Post TraderCAD  
Started by DavidHP, Today, 04:11 PM
0 responses
1 view
0 likes
Last Post DavidHP
by DavidHP
 
Started by alexstox, 03-24-2019, 01:07 PM
6 responses
57 views
0 likes
Last Post NinjaTrader_PatrickG  
Started by fredfred, Today, 11:29 AM
3 responses
12 views
0 likes
Last Post NinjaTrader_JoshG  
Started by swcooke, Today, 10:38 AM
3 responses
12 views
0 likes
Last Post NinjaTrader_Jesse  
Working...
X