unit of trend bar volume

30 Nov 2018, 10:28unit of trend bar volume#1
hsbcstorposts: 7since: 06 Nov 2018

Hi Support,

 

I was testing OpenAPIv2 getting historical trend bars of EURUSD.

In the object ProtoOATrendbar, the document writes

required int64 volume = 3; // Bar volume in cents.

it sounds like first I need to multiple by 100 ("in cents").

after that, may I know if any more conversion need to be applied on this field? like multiplying symbol's stepVolume etc.

 

Thanks

30 Nov 2018, 11:02#2
Panagiotis Charalampousposts: 1818since: 13 Jan 2017

Hi hsbcstor,

This is a misprint. Volume is provided in ticks not in cents. We will fix the documentation.

Best Regards,

Panagiotis


Head of Community Management at cTrader