OHLC prices

Created at 20 Jan 2019, 05:48
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!
VI

viniciusfre

Joined 28.12.2018

OHLC prices
20 Jan 2019, 05:48


Hello,

As per cTraderFixApi_v2.15.2 documentation in Market Data Request there are only 2 types of prices:

0 = Bid; 1 = Offer

How can I get Open High Low Close prices? Is there no way to get them?

Thanks.


@viniciusfre
Replies

PanagiotisCharalampous
21 Jan 2019, 12:36

Hi viniciusfre,

Thanks for posting in our forum. Trend bar data is not available in FIX API. If you need trend bar data, you can consider Open API.

Best Regards,

Panagiotis


@PanagiotisCharalampous

viniciusfre
21 Jan 2019, 22:23

RE:

Panagiotis Charalampous said:

Hi viniciusfre,

Thanks for posting in our forum. Trend bar data is not available in FIX API. If you need trend bar data, you can consider Open API.

Best Regards,

Panagiotis

Hi Panagiotis,

One of reasons to use FIX API is because I want to run my robot on Linux. Can I run Open API robot on Linux?


@viniciusfre

PanagiotisCharalampous
22 Jan 2019, 09:54

Hi viniciusfre,

Yes you can run your robot on Linux. Open API is based on Protocol Buffers and it is not bounded to an operating system.

Best Regards,

Panagiotis


@PanagiotisCharalampous