unit of trend bar volume

Created at 30 Nov 2018, 10:28
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
HS

hsbcstor

Joined 06.11.2018

unit of trend bar volume
30 Nov 2018, 10:28


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


@hsbcstor
Replies

PanagiotisCharalampous
30 Nov 2018, 11:02

Hi hsbcstor,

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

Best Regards,

Panagiotis


@PanagiotisCharalampous