mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 06:44:22 +01:00
Add support for event base_margin_info and symbol_margin_info.
This commit is contained in:
@@ -64,6 +64,8 @@ _COMMON = [
|
||||
"trade_execution",
|
||||
"trade_execution_update",
|
||||
"wallet_update",
|
||||
"base_margin_info",
|
||||
"symbol_margin_info",
|
||||
"notification",
|
||||
"on-req-notification",
|
||||
"ou-req-notification",
|
||||
@@ -105,7 +107,7 @@ class BfxEventEmitter(AsyncIOEventEmitter):
|
||||
) -> Union[_Handler, Callable[[_Handler], _Handler]]:
|
||||
if event not in BfxEventEmitter._EVENTS:
|
||||
raise UnknownEventError(
|
||||
f"Can't register to unknown event: <{event}> (to get a full"
|
||||
f"Can't register to unknown event: <{event}> (to get a full "
|
||||
"list of available events see https://docs.bitfinex.com/)."
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user