Add wss exmaple to create order, refactoring

This commit is contained in:
itsdeka
2023-01-11 11:51:16 +01:00
parent 876e05e9f3
commit 44ba7e780a
4 changed files with 50 additions and 3 deletions

View File

@@ -1,10 +1,11 @@
# python -c "from examples.websocket.order_book import *"
from collections import OrderedDict
from typing import List
from bfxapi import Client, Constants
from bfxapi.websocket import BfxWebsocketClient
from bfxapi.websocket.enums import Channels, Error
from bfxapi.websocket.typings import Subscriptions, TradingPairBook