Replies

Rimokatolik
31 Mar 2022, 23:53

RE:

Rimokatolik said:

I have created new demo account, and for it ProtoOAAccountAuthReq returns error code CANT_ROUTE_REQUEST with message "No environment connection", but code works with my live account. I am not aware of anything different between live and demo accounts for Open API, like there is for FIX API. What am I missing?


Thank you

Actually it was my mistake with ApiInfo.GetHost


@Rimokatolik

Rimokatolik
11 May 2020, 17:23

RE:

Can you please explain how come I get BUSINESS_MESSAGE_REJECT (j) message with Text (58) = INCORRECT_POSITION_ID:Unknown position. PositionId=203255, after I have successfully closed that position 203255?

Thank you


@Rimokatolik

Rimokatolik
19 Jul 2019, 21:39

FIX API has nothing to do with it. With my previous broker I could do it, and actually it was default behavior. It would help me to run different algos/programs against the same account, so I do not need to create multiple accounts for the same goal. I can run multiple cTrader apps from different machines and use the same account. I can connect to the socket, but cannot login. So, my question is can you/do you want to enable it?

Thank you


@Rimokatolik

Rimokatolik
17 Jul 2019, 16:37

I do not receive Logon messages after I send them from the second process. 


@Rimokatolik

Rimokatolik
21 Feb 2019, 08:09

Actually, I have not seen issue today with this message. I have other issues, but this can be closed. Thank you


@Rimokatolik

Rimokatolik
20 Feb 2019, 23:28

FxAccount, redirect url https://connect.spotware.com/apps/640/playground


@Rimokatolik

Rimokatolik
20 Feb 2019, 20:44

Still have this issue occasionally.


@Rimokatolik

Rimokatolik
20 Feb 2019, 20:43

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


@Rimokatolik

Rimokatolik
20 Feb 2019, 20:42

Limit GTD, but not sure why does it matter?


@Rimokatolik

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

Rimokatolik
19 Feb 2019, 21:03

Any update on this please?


@Rimokatolik

Rimokatolik
15 Feb 2019, 17:25

Unfortunately this did not work for me when I tried it. I got

Text (58) = INVALID_REQUEST:illegal value of limitPrice (1.12681) for MARKET order

My order was:

8=FIX.4.4|9=322|35=D|49=fxpig.3001420|50=Trade|56=cServer|57=TRADE|34=5|52=20190215-15:20:20.493|11=1_O_06-5-152020492|55=1|54=2|60=20190215-15:20:20.395|38=1000|40=1|44=1.12681|494=5_112681_112685_20190215-15:19:18.182_1_CG4IC1:CDSv8+OL1MLT10NTS10CTS10MSS100INV0+GO1VI500VO1ICO1GLC15MGC20TLC100ICC0TCM-5DGV15DGT600000DLT60000DLC100DCM-5|10=037|


@Rimokatolik

Rimokatolik
15 Feb 2019, 16:08

This is getting wierder, I am getting similar experience with OrderMassStatusRequest. Is there some issue if I within short time restart application and send same messages with same sequence ids?


@Rimokatolik

Rimokatolik
15 Feb 2019, 02:24

Thank you for considering it. I reread that page and I still fail to see how does it imply to refer to cTrader implementation only. Title is "Limitations of FIX API for Traders" and starts with "FIX API is a flexible protocol but it was created to perform in very a specific scope and it's range is tightly defined in the rules of engagement. FIX API allows developers to perform a determined set of operations, which cannot be extended." Anyway, your decision.


@Rimokatolik

Rimokatolik
13 Feb 2019, 23:28

Great, thank you. Good to know.


@Rimokatolik

Rimokatolik
12 Feb 2019, 22:31

RE:

I am asking this also because my own broker offers only spot subscription on FIX connection. BTW, offers I get over spot subscriptions through cTrader or directly from broker differ, so if you can also explain that difference.


@Rimokatolik

Rimokatolik
12 Feb 2019, 16:54

For example this one:

8=FIX.4.4|9=93|35=x|49=fxpig.1000575|50=Trade|56=cServer|57=TRADE|34=2|52=20190212-03:36:17.788|320=1|559=0|10=119|

proxy: h45.p.ctrader.com

Thank you


@Rimokatolik

Rimokatolik
12 Feb 2019, 16:02

I have listener that constantly reads incoming messages.


@Rimokatolik