FIX API example Send Heartbeat
FIX API example Send Heartbeat
30 Mar 2017, 11:50
Hi Spotware,
In fix api example when i hit Send Heartbeat button after login everything freezing and sometimes shows send socket error message. It is not first time.
What is wrong with Heartbeat request or wah tis with server?
And why there no queue for message ? When i hit cople buttons in short time application will crash.
Thanks.
Replies
mindbreaker
30 Mar 2017, 12:28
RE:
Spotware said:
Hi mindbreaker,
Get the latest code from GitHub. Heartbeat issue is solved
And why there no queue for message ? When i hit cople buttons in short time application will crash.
The example's purpose is to demonstrate how to construct, send and receive a FIX message therefore it was kept as simple as possible. It does not have any practical use therefore there is no need to implement queueing or other mechanisms that would complicate the sample.
It works but if i hit logon message after login system crashing.
@mindbreaker
mindbreaker
30 Mar 2017, 13:01
( Updated at: 21 Dec 2023, 09:20 )
But does not work on fxpro accounts. Why?
For wath is it if works only on spotware demo :D:D:D
@mindbreaker
mindbreaker
30 Mar 2017, 15:39
RE:
Spotware said:
Hi mindbreaker,
FIX API works for all cTrader accounts. Can you please check again the host name through your cTrader FIX API credentials?
Now show h23.p. but it works :) Thanks
@mindbreaker
Spotware
30 Mar 2017, 12:06
Hi mindbreaker,
Get the latest code from GitHub. Heartbeat issue is solved
And why there no queue for message ? When i hit cople buttons in short time application will crash.
The example's purpose is to demonstrate how to construct, send and receive a FIX message therefore it was kept as simple as possible. It does not have any practical use therefore there is no need to implement queueing or other mechanisms that would complicate the sample.
@Spotware