• 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 XimoTrader, Today, 12:57 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by FxInception, Today, 12:27 PM
    2 responses
    12 views
    0 likes
    Last Post FxInception  
    Started by siroya, Today, 10:34 AM
    1 response
    20 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by Leeroy_Jenkins, Today, 11:22 AM
    2 responses
    12 views
    0 likes
    Last Post Leeroy_Jenkins  
    Started by RedDuke, Today, 10:27 AM
    2 responses
    15 views
    0 likes
    Last Post RedDuke
    by RedDuke
     
    Working...
    X