Hello,

for some products such as Canadian and European stocks, open price is
not provided by IB.
What s the best way to get it in real time?
I tried lastvalue(foreign(symbol,"o",0)) in day compression but it
doesn t work properly, even using a perfect the reference symbol.
The problem is that not all stock open at the same time, so I need to
make sure the lastvalue is not from the previous day.
I tried something like valuewhen(datenum()==today), but datenum is
refered to the cuurent symbol not the foreign so it doesn work either.
How can it be retrieved directly the datenum and timenum of a given
bar of a foreign symbol?

Thanks
Ly

Reply via email to