Logging on and off - ISSUE

Created at 22 Jan 2020, 19:24
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!
WI

wiktor.kisielewski

Joined 10.09.2019

Logging on and off - ISSUE
22 Jan 2020, 19:24


Hello,

Im trying to find a correct way of logging on and off the server. I have no issues while sending LOGON message as well as LOGOUT one (samples bellow)

logon request 

8=FIX.4.4|9=117|35=A|34=1|49=icmarkets.3647989|52=20200122-16:55:05.716|56=CSERVER|57=QUOTE|98=0|141=Y|108=30|553=3647989|554=MY_PASSWORD|10=132

logon response 

8=FIX.4.4|9=94|35=A|34=1|49=CSERVER|50=QUOTE|52=20200122-16:55:05.824|56=icmarkets.3647989|98=0|108=30|141=Y|10=231

 

logout request 

8=FIX.4.4|9=86|35=5|34=2|49=icmarkets.3647989|52=20200122-16:55:08.061|56=CSERVER|57=QUOTE|50=LOGOFF|10=250

logout response

8=FIX.4.4|9=76|35=5|34=2|49=CSERVER|50=QUOTE|52=20200122-16:55:08.113|56=icmarkets.3647989|10=144

However Im not able to login again after a LOGOUT message, Im sending same LOGON message with MsgSeqNum = 1 ofc. There is no response for that

logon request 

8=FIX.4.4|9=117|35=A|34=1|49=icmarkets.3647989|52=20200122-16:55:12.053|56=CSERVER|57=QUOTE|98=0|141=Y|108=30|553=3647989|554=123456|10=124

logon response

None

 

What am I missing here?


@wiktor.kisielewski
Replies

PanagiotisCharalampous
24 Jan 2020, 15:55

Hi wiktor,

When you logout then the connection is dropped by the server and you need to reconnect.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous