Remove wss-event event from BfxWebSocketClient and BfxWebSocketBucket.

This commit is contained in:
Davide Casale
2023-10-13 17:38:25 +02:00
parent 374b632c6c
commit e5ec94b757
9 changed files with 13 additions and 44 deletions

View File

@@ -12,10 +12,6 @@ bfx = Client(
api_secret=os.getenv("BFX_API_SECRET")
)
@bfx.wss.on("wss-error")
def on_wss_error(code: Error, msg: str):
print(code, msg)
@bfx.wss.on("authenticated")
async def on_authenticated(event):
print(f"Authentication: {event}")

View File

@@ -14,10 +14,6 @@ bfx = Client(
filters=["wallet"]
)
@bfx.wss.on("wss-error")
def on_wss_error(code: Error, msg: str):
print(code, msg)
@bfx.wss.on("wallet_snapshot")
def on_wallet_snapshot(wallets: List[Wallet]):
for wallet in wallets: