• 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

    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

    #2
    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.
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Bionian, Today, 02:47 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by RickB60, Today, 01:55 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by filopearson, Today, 01:18 PM
    6 responses
    11 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by kujista, Today, 12:28 PM
    3 responses
    14 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by mroberts_nos, Today, 11:47 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X