names wkng in subs, examples working

This commit is contained in:
arhamGIT authored and Taha Afzal committed 2023-03-27 11:40:51 -05:00
1 parent ce9880a9b1
commit bb321926bc
21 files changed
+163 -71

No files matched your search

+2 -1
View File
@@ -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):