Posted By: TedMar
Differences in Volume History and Result, why? - 06/21/20 22:22
Hi, i try find out why my result of volume is different from history in same TF, maybe any one can help ?
Data history is SPY t6 in 1 min time frame include Vol per Bar.
in Zorro History Viewer are Vol prints Volume O.K.
SPY data History Download is available here.
Example code
for Example result, check attachment, them display difference between History and Result.
Anyone know a way to resolve this problem?
Data history is SPY t6 in 1 min time frame include Vol per Bar.
in Zorro History Viewer are Vol prints Volume O.K.
SPY data History Download is available here.
Example code
Code
function run() { set(LOGFILE+PLOTNOW); Verbose = 3; TickFix = 1; StartDate = 20200616; EndDate = 20200617; BarPeriod = 1; // same as History (RAW) asset("SPY"); // vars Prices = series(priceClose()); vars Vol = series(marketVol()); plot("MarketVol",Vol,BARS|NEW,BLUE); }
for Example result, check attachment, them display difference between History and Result.
Anyone know a way to resolve this problem?