Mismatch between cTrader app and FIX

Created at 20 Feb 2019, 15:07
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!
RI

Rimokatolik

Joined 12.02.2019

Mismatch between cTrader app and FIX
20 Feb 2019, 15:07


For testing I have created order in cTrader app and used AF and AN messages with FIX, AF message did not return any orders (message j), and I received one position report (AP) but it did not contain symbol field (55). Is this supposed to work or you do not support mixing FIX and cTrader app?


@Rimokatolik
Replies

Rimokatolik
20 Feb 2019, 15:26

Actually for me (demo account) AF always results in j message, even if I open orders with FIX. Here is my request:

8=FIX.4.4|9=94|35=AF|49=fxpig.3001420|50=Trade|56=cServer|57=TRADE|34=2|52=20190220-13:21:00.451|584=2|585=7|10=119|

Positions is correct for orders placed through FIX, and it contains field 55.


@Rimokatolik

PanagiotisCharalampous
20 Feb 2019, 15:31

Hi ctid731646,

What kind of orders do you place? Market or pending orders?

Best Regards,

Panagiotis


@PanagiotisCharalampous

Rimokatolik
20 Feb 2019, 20:42

Limit GTD, but not sure why does it matter?


@Rimokatolik

Rimokatolik
20 Feb 2019, 20:43

Actually from cTrader app was market order, whle FIX app generates limit GTD


@Rimokatolik

PanagiotisCharalampous
21 Feb 2019, 09:55

Hi ctid731646,

AF message will return the status of pending orders. If your orders have been executed then you will receive a  Business Message Reject(j). Same applies for positions. Only open positions are returned. I tried both messages using the FIX API example application and I can see no problem.

Best Regards,

Panagiotis


@PanagiotisCharalampous