Different Results in FIX API for Identical Demo Accounts
Different Results in FIX API for Identical Demo Accounts
21 Jan 2025, 04:53
Hello!
While working with two demo accounts on the cTrader platform via FIX API, I encountered an anomaly. Both accounts are using the same FIX server:
- Host:
demo-uk-eqx-01.p.ctrader.com
- Port:
5211
- SenderCompID:
demo.pepperstone.xxxx
The issue is that the two accounts return different results for the same FIX API request.
Example 1: Error When Placing an Order
Sent FIX Message:
8=FIX.4.4|9=158|35=D|49=demo.pepperstoneuk.4184****|56=CSERVER|34=3|52=20250121-00:46:24|11=90beca28-4c52-4527-bf09-378b71ae9239|55=2|54=1|60=20250121-00:46:24|38=1000.0|40=1|10=112|
Received Response:
8=FIX.4.4|9=233|35=j|34=3|49=CSERVER|50=TRADE|52=20250121-05:06:14.625|56=demo.pepperstoneuk.4184****|57=TRADE|58=TRADING_BAD_VOLUME:Order volume 1000.00 is smaller than group minVolume=999999999999.00.|379=a47f07cb-fcd1-4e5e-8a1c-203235c42b3c|380=0|10=058|
Example 2: Successful Order Execution
Sent FIX Message:
8=FIX.4.4|9=156|35=D|49=demo.pepperstone.5032****|56=CSERVER|34=3|52=20250121-00:45:32|11=e84c197d-92c4-4847-99f1-445dfcaa3a34|55=2|54=1|60=20250121-00:45:32|38=1000.0|40=1|10=190|
Received Response:
8=FIX.4.4|9=237|35=8|34=3|49=CSERVER|50=TRADE|52=20250121-00:45:32.356|56=demo.pepperstone.5032****|57=TRADE|11=e84c197d-92c4-4847-99f1-445dfcaa3a34|14=0|37=270053489|38=1000|39=0|40=1|54=1|55=2|59=3|60=20250121-00:45:32.319|150=0|151=1000|721=142024767|10=101|
Questions:
- Why do two demo accounts (both on the same FIX server) return different results for identical requests?
- How can this discrepancy be resolved to ensure consistent behavior, especially regarding the minimum trade volume? Is it really can be
minVolume=999999999999.00.??
Thank you in advance for your assistance! Please let me know if you need further details.