Replies

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

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

johnson.fergusaka
18 Jul 2023, 11:20

RE:

PanagiotisChar said:

Hi there,

There is no such symbol on Spotware demo accounts. The symbol id for US 500 is 21499

Aieden Technologies

Need help? Join us on Telegram

But on non demo accounts it would be 10013?
Would a security list request return 21499 if I sent the request on a demo account, if not how would I check whether the symbol differs between accounts?


@johnson.fergusaka

johnson.fergusaka
18 Jul 2023, 10:27 ( Updated at: 18 Jul 2023, 10:28 )

RE:

PanagiotisChar said:

Hi there,

Can you share the exact FIX message you are sending and the relevant FIX response?

Aieden Technologies

Need help? Join us on Telegram

Order message:
8=FIX.4.49=17135=D49=demo.ctrader.xxxxxxx56=CServer57=TRADE50=TRADE34=252=20230718-07:23:4211=1287cce3-ca7e-4f66-ba7c-57908df88cbe55=1001354=260=20230718-07:23:4238=70040=110=244

Order response:
8=FIX.4.49=17635=j34=249=CServer50=TRADE52=20230718-07:23:41.17256=demo.ctrader.xxxxxxx57=TRADE45=258=Symbol(55) 10013 does not exist.379=1287cce3-ca7e-4f66-ba7c-57908df88cbe380=010=026

(^haven't swapped "\u0001" for "|")


@johnson.fergusaka

johnson.fergusaka
17 Jul 2023, 21:56

RE:

PanagiotisChar said:

Hi there,

Only them can check such issues, they are just a bit lazy, you need to push them more :)

Aieden Technologies

Need help? Join us on Telegram

I get the issue on a demo account, "demo.ctrader.XXXXXXX", where would i check the broker for that?


@johnson.fergusaka

johnson.fergusaka
13 Jul 2023, 08:17

RE:

PanagiotisChar said:

Hi there,

It's better to check with your broker for execution issues.

Aieden Technologies

Need help? Join us on Telegram

 

When I reached out to IC Markets I was referred to both here and 

 This is the only symbol so far that I get this response for


@johnson.fergusaka

johnson.fergusaka
07 May 2023, 18:00

RE: RE:

ctid1980098 said:

That random string was taken from the docs. You can change it to anything you wish. I generate my own random string and store it if need be. The ID can be any random text string. it should work

So I'm guessing it doesn't matter if you use the same string across multiple sessions?
Also, I've created a mapping of symbol:symbolID pairs from the response, and one of the symbol pairs is:
fjkhsdjkfhsdjkaf:22394
I was wondering what this is?


@johnson.fergusaka

johnson.fergusaka
03 May 2023, 19:12

RE:

PanagiotisChar said:

Hi there,

If it is necessary to logout before closing the connection

It is not, the server will close the connection if it does not receive a heartbeat

 what would i do in the event that the connection closes by itself? 

Just connect again.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us


 

So if I set heartbeat to 0, I would have to close the connection myself?


@johnson.fergusaka