PartialValue returns NaN for compressed GetExternalSymbol
Author: kelvinyip
Creation Date: 8/30/2019 3:41 PM
profile picture

kelvinyip

#1
symbol I am using is the 5 min SPY, "market" group contains SPY daily data. I have streaming chart enabled. If my whole symbol timeframe is daily, my PrintDebug pClose shows the partial bar value but if my timeframe is 5 mins but tried to sync with daily then this partialValue returns NaN. Is there anyway to use 5 min data in my loop but be able access this intraday daily partial bar data ?

CODE:
Please log in to see this code.
profile picture

Eugene

#2
I think it's becase the secondary symbol is not streamed. You might find this useful: Choosing optimal trading tool: Strategy Monitor or Strategy window
profile picture

kelvinyip

#3
oh man, seems complicated
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).