names wkng in subs, examples working
This commit is contained in:
1 parent
ce9880a9b1
commit
bb321926bc
21 files changed
+163
-71
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import json
|
||||
import websocket
|
||||
json_string = {
|
||||
json_payload = {
|
||||
"jsonrpc": 2,
|
||||
"method": "delete_order",
|
||||
"params": {
|
||||
@@ -8,6 +8,7 @@ json_string = {
|
||||
},
|
||||
"id": 1
|
||||
}
|
||||
json_string = json.dumps(json_payload)
|
||||
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