changed samples
This commit is contained in:
1 parent
317f17d7da
commit
ce9880a9b1
15 files changed
+272
-39
No files matched your search
@@ -1,7 +1,13 @@
|
||||
import json
|
||||
import websocket
|
||||
json_payload = {'jsonrpc': 2, 'method': 'delete_order', 'params': {'order_id': 541002}, 'id': 1}
|
||||
json_string = json.dumps(json_payload)
|
||||
json_string = {
|
||||
"jsonrpc": 2,
|
||||
"method": "delete_order",
|
||||
"params": {
|
||||
"order_id": 541002
|
||||
},
|
||||
"id": 1
|
||||
}
|
||||
ws_url = "ws://localhost:8080"
|
||||
# Define a callback function to handle received messages
|
||||
def on_message(ws, message):
|
||||
|
||||
Reference in new issue
Block a user