Change event trade_executed to trade_execution (and update references).

This commit is contained in:
Davide Casale
2023-04-20 01:43:44 +02:00
parent 1f9d1b719e
commit 4edbf5d44c
3 changed files with 7 additions and 7 deletions

View File

@@ -12,8 +12,8 @@ bfx = Client(wss_host=PUB_WSS_HOST)
def on_candles_update(_sub: subscriptions.Candles, candle: Candle):
print(f"New candle: {candle}")
@bfx.wss.on("t_trade_executed")
def on_t_trade_executed(_sub: subscriptions.Trades, trade: TradingPairTrade):
@bfx.wss.on("t_trade_execution")
def on_t_trade_execution(_sub: subscriptions.Trades, trade: TradingPairTrade):
print(f"New trade: {trade}")
@bfx.wss.on("wss-error")