• 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

BarsRequest - Local Data Only

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

    BarsRequest - Local Data Only

    Hi,

    Using

    NinjaTrader.Data.BarsRequest(instrument, DateTime.Now.AddDays(10), DateTime.Now);

    is it possible to force it to use local data only so doesn't request new data from any connected data provider?

    If no is there any other way to do so? Similar to using the historical data windows but through code?

    Thanks

    #2
    Hello tmfdouglas,

    Thank you for your post.

    The only means to do so is to disable NinjaTrader from gathering data from the server.

    In NinjaTrader 7:
    Go to Tools > Options > Data > Historical chart data > disable the option 'Get data from server' > OK.
    In NinjaTrader 8:
    Go to Tools > Options > Market Data > Historical > disable the option 'Get data from server' > OK.

    Please let me know if you have any questions.
    Patrick H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by bebbus, Today, 04:03 PM
    2 responses
    5 views
    0 likes
    Last Post bltdavid  
    Started by Unicorn_Catcher, Today, 04:06 PM
    1 response
    5 views
    0 likes
    Last Post User1104  
    Started by punkiy2111, Today, 04:02 PM
    2 responses
    3 views
    0 likes
    Last Post punkiy2111  
    Started by traderharley, Today, 03:32 PM
    1 response
    16 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by yrch1985, Today, 02:04 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Kate  
    Working...
    X