Error in dwx_client_example.py
SaraStemPro opened this issue · 1 comments
Hi,
I am testing the new version of dwx_client in python but it does not work.
After running the example, I receive the next error:
on_bar_data: EURUSD H1 2023-01-24 11:27:07.282436 2023.01.24 12:00 1.08604 1.08664 1.0852 1.08638
ERROR | WRONG_FORMAT_COMMAND | Wrong format for command: 3|SUBSCRIBE_SYMBOLS_BAR_DATA|EURUSD,H1
ERROR | WRONG_FORMAT_COMMAND | Wrong format for command: 1|RESET_COMMAND_IDS|
ERROR | WRONG_FORMAT_COMMAND | Wrong format for command: 2|OPEN_ORDER|EURUSD,buy,0.01,0,1.053,0,0,,0
ERROR | WRONG_FORMAT_COMMAND | Wrong format for command: 1|RESET_COMMAND_IDS|
ERROR | WRONG_FORMAT_COMMAND | Wrong format for command: 2|OPEN_ORDER|EURUSD,buy,0.01,0,1.053,0,0,,0
ERROR | WRONG_FORMAT_COMMAND | Wrong format for command: 1|RESET_COMMAND_IDS|
ERROR | WRONG_FORMAT_COMMAND | Wrong format for command: 2|OPEN_ORDER|EURUSD,buy,0.01,0,1.063,0,0,,0
ERROR | WRONG_FORMAT_COMMAND | Wrong format for command: 1|RESET_COMMAND_IDS|
ERROR | WRONG_FORMAT_COMMAND | Wrong format for command: 2|SUBSCRIBE_SYMBOLS|EURUSD,GBPUSD
And does not open any order.
Is there any solution?
Thank you.
Ok, I had a wrong configuration of the expert. Everything is ok!