Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarsRequest inconsistencies

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

    BarsRequest inconsistencies

    Hello,

    I've got a couple of items to ask about in regard to BarsRequest (https://ninjatrader.com/support/help...arsrequest.htm)

    First, is the number of days of data returned by BarsRequest always dependent on the data provider, or is the days lookback unlimited so long as the historical data is already downloaded? I've seen some inconsistencies when retrieving tick data but haven't nailed it down yet.

    Also, when using BarsRequest, the number of days of tick data that I'm able to retrieve seems dependent on the Trading Hours template used in the request (ie Default 24 x 5 seems to yield more days back than US Equities RTH in some cases). Can you please explain why this would be possible?

    Thanks for your help.

    #2
    Hello deltaZ,

    Thank you for your note.

    The number of days returned in a BR could depend on your data provider, your data plan with them, whether or not you already have the data downloaded, and of course how long the instruments been trading.

    Many data providers will limit how much tick data you can pull, for example 3 months. Maybe less for certain markets.

    I would not expect trading hour’s template to influence how many days a Bars Request returns. I would suggest going to the Control Center>Tools>Historical Data>Historical and finding the contract you’re interested in and expand its tick folder for clues.

    Compare the oldest date you see in their vs the days back you’re seeing in the bars request. Default 24x5 does not include holidays which US Equities RTH would, and this could be one reason to explain what you’re seeing.

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    30 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    17 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    9 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    16 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    19 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X