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

  • NinjaTrader_Jim
    replied
    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.

    Leave a comment:


  • 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

Latest Posts

Collapse

Topics Statistics Last Post
Started by Barry Milan, Yesterday, 10:35 PM
5 responses
18 views
0 likes
Last Post NinjaTrader_Manfred  
Started by DanielSanMartin, Yesterday, 02:37 PM
2 responses
13 views
0 likes
Last Post DanielSanMartin  
Started by DJ888, 04-16-2024, 06:09 PM
4 responses
13 views
0 likes
Last Post DJ888
by DJ888
 
Started by terofs, Today, 04:18 PM
0 responses
12 views
0 likes
Last Post terofs
by terofs
 
Started by nandhumca, Today, 03:41 PM
0 responses
8 views
0 likes
Last Post nandhumca  
Working...
X