Im developing a bot in c++ using QuickFix, using Remarkets to test my app but when I send a newOrderSingle y get "Internal application error, contact support."
I assume the application is myself, but i also tried to contact Remarkets without any answer.
The messages go like this:
Logon:
8=FIXT.1.1 9=124 35=A 34=1 49=usr123 52=20201012-21:00:35.860 56=ROFX 553=usr123 554=hdjbxA7# 98=0 108=30 141=Y 1137=9 10=129
Logon answer:
8=FIXT.1.1 9=89 35=A 34=1 49=ROFX 52=20201012-21:00:36.534 56=usr123 98=0 108=30 141=Y 1137=9 10=246
Recieve this Trading Session Status that i dont fully understand:
8=FIXT.1.1 9=114 35=h 34=2 49=ROFX 52=20201012-21:00:38.069 56=usr123 325=Y 335=NONE 336=[N/A] 340=2 1300=DDF 1301=ROFX 10=098
8=FIXT.1.1 9=115 35=h 34=3 49=ROFX 52=20201012-21:00:38.069 56=usr123 325=Y 335=NONE 336=[N/A] 340=2 1300=DUAL 1301=ROFX 10=188
8=FIXT.1.1 9=114 35=h 34=4 49=ROFX 52=20201012-21:00:38.069 56=usr123 325=Y 335=NONE 336=[N/A] 340=2 1300=DDA 1301=ROFX 10=095
8=FIXT.1.1 9=115 35=h 34=5 49=ROFX 52=20201012-21:00:38.069 56=usr123 325=Y 335=NONE 336=[N/A] 340=2 1300=MERV 1301=ROFX 10=210
8=FIXT.1.1 9=115 35=h 34=6 49=ROFX 52=20201012-21:00:38.069 56=usr123 325=Y 335=NONE 336=[N/A] 340=2 1300=RFXI 1301=ROFX 10=210
8=FIXT.1.1 9=128 35=h 34=7 49=ROFX 52=20201012-21:00:38.070 56=usr123 58=EXTERNAL 325=Y 335=NONE 336=[N/A] 340=2 1300=MATBA 1301=ROFX 10=009
8=FIXT.1.1 9=118 35=h 34=8 49=ROFX 52=20201012-21:00:38.581 56=usr123 325=Y 335=NONE 336=1 340=0 625=1 1300=[N/A] 1301=ROFX 10=216
I try to buy
8=FIXT.1.1 9=151 35=D 34=2 49=usr123 52=20201012-21:00:39.084 56=ROFX 1128=7 11=1132322 21=1 40=1 44=250 54=1 55=SOJ.ROSNov20 59=0 60=20201012-21:00:39 99=1 10=151
Get this rejection
8=FIXT.1.1 9=145 35=j 34=9 49=ROFX 52=20201012-21:00:39.225 56=usr123 58=Internal application error, contact support.13558951763361350 372=[N/A] 380=4 10=036
I have tried several ways to make this message, always getting the same response.
My questions:
- Is there something wrong with my newOrderSingle?
- I have a working bot in python using pyRofex. Is there a way for me to see what fix message is pyRofex generating?
- Is it OK to use tag 55 for the instrument?
55=SOJ.ROSNov20I've seen some examples with value "EUR/USD" in that field. Should the symbol be a part of a group? - About ClOrdID: Remarkets documentation states that
Orders should have a unique identifier (tag ClOrdID <11>) assigned by the institution for a trading day. Orders with duplicate identifiers will be rejected by the exchange.
But every client y see is managing those ClOrdIDs internally. I understand that the only constrain is that it does not repeat in a single market day. Did i get it right?
Thanks in advance!!