Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Subscribing to 1-minute bar updates for hundreds of instruments

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

    Subscribing to 1-minute bar updates for hundreds of instruments

    Hello,

    I wanted to check whether what I am intending to do is realistic or downright crazy.

    I am using the AddOn Framework as the basis for my addon. I would like to subscribe to 1-minute bar updates of many - likely up to 500 instruments at a time.

    I have changed the original implementation to use holder collections for the barsRequest objects I get, and which I use for subscribing to barsUpdate events using 1-minute period.

    When I use only a handful of instruments, this works, but using e.g. 300 seems to not receive nor the bars object, neither is the barsUpdate event triggered. some of the 300 instruments do actually receive the data, and the event is triggered for them, but it takes dozens of minutes before this happens and only a very small fraction (maybe 1%, ie 3 of the 300).

    My question is therefore whether this is something that is expected when trying to subscribe to bars update for such a large number of instruments, or if this should be supported and rather fast..

    Many thanks,

    LIbor

    #2
    Hello liborc,

    There are not any limitations that I know of outside of what your data provider may limit.

    Could you attach your modifications to the script so we may take a look on our end?

    Also, who is your data provider?

    I look forward to being of further assistance.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by maybeimnotrader, Today, 05:46 PM
    0 responses
    6 views
    0 likes
    Last Post maybeimnotrader  
    Started by quantismo, Today, 05:13 PM
    0 responses
    6 views
    0 likes
    Last Post quantismo  
    Started by AttiM, 02-14-2024, 05:20 PM
    8 responses
    167 views
    0 likes
    Last Post jeronymite  
    Started by cre8able, Today, 04:22 PM
    0 responses
    8 views
    0 likes
    Last Post cre8able  
    Started by RichStudent, Today, 04:21 PM
    0 responses
    5 views
    0 likes
    Last Post RichStudent  
    Working...
    X