Login Page - Create Account

Support Board


Date/Time: Sat, 27 Jul 2024 01:34:28 +0000



Post From: DTC SUBMIT_NEW_SINGLE_ORDER does not submit order

[2023-08-17 17:05:19]
User258363 - Posts: 11
I've tried with 2 implementations

1. python + websockets + json encoding
2. golang + tcp + protocol buffers

both have the same result. no response from trade request. not even an error unless I remove a required field like order_type. to make it easier to debug I've uploaded the code here:

https://github.com/mason/python-ws-dtc-client/commits/master

the exact line that sends the trade is here:
https://github.com/mason/python-ws-dtc-client/blob/master/example_client.py#L39

run it like so
python example_client.py -n 127.0.0.1 -p 11099 -s -q 11098

might need to pip install dependencies


pip install websocket_client
pip install flask
pip install Flask-Sockets
pip install gevent-websocket

Date Time Of Last Edit: 2023-08-17 17:07:27