Replies

david-connect-api
15 Oct 2016, 01:19

RE: RE: RE:

maxim_7 said:

david-connect-api said:

 

I had the same problem which I resolved adding tag 50=QUOTE to the header of the Logon message that starts the session for which you are requesting market data. Also check the ports you are using, since sessions for quoting and trading have different ports.

Thanx for attempt to help. But I already using tag 50=QUOTE to the header of the Logon message, and also tried both ports. On both ports the same result.

And adding tag 265=1 to MsgType(35)=V even though the ctrader's rules of engagement says it is not necessary? I am using quickfix/j and it is working for me, i can subscribe for data request (the server responds with MsgType(35)=W, not with MsgType(35)=X but it works). I can't think in anything else...


@david-connect-api

david-connect-api
14 Oct 2016, 22:40

RE:

maxim_7 said:

Hi Support.

Need help to understand what is wrong in my request:

Req:
8=FIX.4.4|9=113|35=V|34=2|49=fxpro.9999999|50=QUOTE|52=20161013-23:43:09.761|56=CSERVER|262=1|263=1|264=1|146=1|55=1|267=2|269=0|10=112|
Resp:
8=FIX.4.4|9=148|35=3|34=2|49=CSERVER|52=20161013-23:43:08.564|56=fxpro.9999999|57=QUOTE|45=2|58=Incorrect NumInGroup count for repeating group|371=267|372=V|373=16|10=068|

 

Req:
8=FIX.4.4|9=119|35=V|34=2|49=fxpro.9999999|50=QUOTE|52=20161013-23:39:44.219|56=CSERVER|262=1|263=1|264=1|146=1|55=1|267=2|269=0|269=1|10=136|
Resp: - connection drop

Thanx

I had the same problem which I resolved adding tag 50=QUOTE to the header of the Logon message that starts the session for which you are requesting market data. Also check the ports you are using, since sessions for quoting and trading have different ports.


@david-connect-api