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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    47 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    15 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    21 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X