Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

multi instruments strategy

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

    multi instruments strategy

    hi, i've 2 instruments on 1 minute bar....when i refer 2nd instrument during bar in progress =0, it give me the previous bar close (ie, A 1:29 close =30, 1:30 = 31, B, 1:29=50, 1:30 = 51, when i print out bar @ 1:30, it will give me A =31, B =50)

    if I want to have both current bar close prices (ie, A=31, B = 51)...should i change the bar in progress =1 instead ??

    or, the firing sequence is pretty random ??

    #2
    Lawrence, in realtime mode there would be no guarantees on an event calling sequence here - as everything is done strictly event based, so the bars don't have to close at a certain time if no tick / trade was seen for example.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, Yesterday, 10:06 AM
    0 responses
    20 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    18 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    14 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    9 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    40 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X