To 1., I'm not sure that I understand the problem - can you give an example?
In the opening post of this topic I added a sample script that shows the problem. When looking into the actual t6 data (with ZHistory tool) then it becomes obvious that the given values are unexpected.
To 4., you can find the returned data by any specific API on the API page in the manual.
Yes. Unfortunately not all pages show this information.
The following do:
http://zorro-trader.com/manual/en/mt4plugin.htmhttp://zorro-trader.com/manual/en/oanda.htmhttp://zorro-trader.com/manual/en/fxcm.htmhttp://zorro-trader.com/manual/en/ib.htmAnd these do not:
http://zorro-trader.com/manual/en/ig.htmhttp://zorro-trader.com/manual/en/ally.htmhttp://zorro-trader.com/manual/en/dukascopy.htmhttp://zorro-trader.com/manual/en/nxcore.htmBut as I said earlier this could easily be improved by providing functions that really return what they claim to return.
For example instead of a marketVol(int) function you could have a marketTickFrequency(int) and marketVolume() function that internally are aware if they return what they promise.
For example
void marketVolume(int offset)
{
if (plugin == ig || assetData == t6)
{
return volume[offset];
}
return 0;
}
Otherwise the user needs to implement and maintain such checks himself (if he needs them).