Stop limit order error
Stop limit order error
21 Jul 2022, 17:42
Could somebody please send me an example of how the FIX message of the stop limit order should look like?
I have tried sending a stop order with Limit price:
8=FIX.4.49=8735=D11=12920638=10000040=344=1.07154=155=159=060=20220721-16:37:13.29199=1.0710=216 -> QuickFix.Session
This is what I got:
8=FIX.4.49=18835=j34=1149=cServer50=TRADE52=20220721-14:37:14.11356=demo.ctrader.344194557=APP_TRADE_SESSION58=INVALID_REQUEST:illegal value of limitPrice (1.071) for STOP order379=129206380=010=208
I have also tried submitting a stop limit order, like this:
8=FIX.4.49=8735=D11=16570038=10000040=444=1.07154=155=159=060=20220721-16:40:53.76499=1.0710=219 -> QuickFix.Session
This is what I got:
8=FIX.4.49=15135=j34=749=cServer50=TRADE52=20220721-14:40:54.59356=demo.ctrader.344194557=APP_TRADE_SESSION45=758=Unsupported OrdType(40)=4379=165700380=010=192
Thank you for the help in advance.
mr.Gekko
21 Jul 2022, 19:00
Ahh, I see that it is not supported despite the fact that it is in the xml. :-( It would be nice to get an update on this.
@mr.Gekko