How to get a candle based on ask price?

Created at 09 Jul 2019, 13:01
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!
66

66281850

Joined 26.06.2019

How to get a candle based on ask price?
09 Jul 2019, 13:01


Is there a candle based on the bid price only on the Ctrade platform?

and Is it only possible to get a candle based on the bid price by openapi?


@66281850
Replies

PanagiotisCharalampous
09 Jul 2019, 14:14

Hi 66281850,

Candlesticks in cTrader are created based on bid prices. To get historical candlesticks in cTrader use ProtoOAGetTrendbarsReq. If you want to receive live candlesticks in your spot events use ProtoOASubscribeLiveTrendbarReq.

Best Regards,

Panagiotis


@PanagiotisCharalampous