• 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 siriusm, Today, 09:15 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by Duval, Today, 09:27 AM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by chazyang, Today, 08:11 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by Erwin Beckers, 11-04-2018, 02:39 AM
    6 responses
    79 views
    2 likes
    Last Post koganam
    by koganam
     
    Started by sergey_z, Today, 02:34 AM
    3 responses
    14 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Working...
    X