Posted By: kzhao
Zorro 2.15 not showing live Spread from Oanda V20 - 09/27/19 14:00
I have a dumb script to print out the live Spread on every 1-minute bar.
function run()
{
set(LOGFILE);
BarPeriod = 1;
vars Prices = series(price());
printf("%.5f, %.5f\n", price(), Spread);
}
When connected to Oanda live, it is always print out 0.0. I tried the TradeTest script and got the same result. Does anyone have the same issue?
Thanks.
function run()
{
set(LOGFILE);
BarPeriod = 1;
vars Prices = series(price());
printf("%.5f, %.5f\n", price(), Spread);
}
When connected to Oanda live, it is always print out 0.0. I tried the TradeTest script and got the same result. Does anyone have the same issue?
Thanks.