Getting "Invalid MsgType <35>" when sending marketDataRequest

Created at 08 Aug 2023, 20:39
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!
JO

johnson.fergusaka

Joined 24.03.2023

Getting "Invalid MsgType <35>" when sending marketDataRequest
08 Aug 2023, 20:39


I am using a demo account to test the marketDataRequest (35=V) and I get a Reject message.

The messages I have tried sending:
8=FIX.4.4|9=172|35=V|49=demo.ctrader.XXXXXXX|56=CServer|57=QUOTE|50=QUOTE|34=2|52=20230808-20:32:08|262=2edf0543-ecd8-401a-baaf-f4bebda6ea4e|263=1|264=1|265=1|267=2|269=0|269=1|146=1|55=1| 10=XXX|

8=FIX.4.4|9=172|35=V|49=demo.ctrader.XXXXXXX|56=CServer|57=TRADE|50=TRADE|34=2|52=20230808-20:32:08|262=2edf0543-ecd8-401a-baaf-f4bebda6ea4e|263=1|264=1|265=1|267=2|269=0|269=1|146=1|55=1| 10=XXX|

Each time I get the response:

RefSeqNum:2 

Text:Invalid MsgType <35> 

EncodedTextLen: 

EncodedText: 

RefTagID: 

RefMsgType:V 

SessionRejectReason:11

I'm not sure what's causing this


@johnson.fergusaka
Replies

PanagiotisChar
09 Aug 2023, 05:32

Hi there,

Can you share the exact FIX response as well?

Aieden Technologies

Need help? Join us on Telegram


 


@PanagiotisChar

johnson.fergusaka
09 Aug 2023, 08:18

RE: Getting "Invalid MsgType <35>" when sending marketDataRequest

PanagiotisChar said: 

Hi there,

Can you share the exact FIX response as well?

Aieden Technologies

Need help? Join us on Telegram


 

8=FIX.4.49=13035=334=249=CServer50=TRADE52=20230809-08:17:32.62656=demo.ctrader.XXXXXXX57=TRADE45=258=Invalid MsgType <35>372=V373=1110=002


@johnson.fergusaka

PanagiotisChar
10 Aug 2023, 10:19

Hi there,

This message should be sent to the QUOTE channel. Can you send it again and share the response? Make sure you are sending it to the correct port as well

Aieden Technologies

Need help? Join us on Telegram


@PanagiotisChar

johnson.fergusaka
10 Aug 2023, 16:52 ( Updated at: 10 Aug 2023, 16:53 )

RE: Getting "Invalid MsgType <35>" when sending marketDataRequest

PanagiotisChar said: 

Hi there,

This message should be sent to the QUOTE channel. Can you send it again and share the response? Make sure you are sending it to the correct port as well

Aieden Technologies

Need help? Join us on Telegram

I was getting an EOF error when trying via the price port, the client I use should be the same as the client I use for the trade port.

Do I have to login on both channels, or is it possible that something else is causing this?


@johnson.fergusaka