HEARTBEAT_EVENT not sent after subscribe for spots

Created at 28 Dec 2020, 14:00
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

HEARTBEAT_EVENT not sent after subscribe for spots
28 Dec 2020, 14:00


Hello,

In my app I receive HeartBeat event correctly. But after I subscribe for spots, the HEARTBEAT_EVENT stops to be sent by server and the PROTO_OA_SPOT_EVENT stops.

Should I send heartBeatACK even when not receiving a HEARTBEAT_EVENT?

Thanks.


@viniciusfre
Replies

PanagiotisCharalampous
28 Dec 2020, 14:26

Hi viniciusfre,

You should always sent heartbeats else the server will drop the connection.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous