mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-18 06:14:22 +01:00
Improve /example/websocket/auth/calc.py demo.
This commit is contained in:
@@ -13,11 +13,7 @@ bfx = Client(
|
|||||||
|
|
||||||
@bfx.wss.on("authenticated")
|
@bfx.wss.on("authenticated")
|
||||||
async def on_authenticated(_):
|
async def on_authenticated(_):
|
||||||
await bfx.wss.inputs.calc("margin_base")
|
await bfx.wss.inputs.calc("margin_base", "margin_sym_tBTCUSD", "funding_sym_fUST")
|
||||||
|
|
||||||
await bfx.wss.inputs.calc("margin_sym_tBTCUSD")
|
|
||||||
|
|
||||||
await bfx.wss.inputs.calc("funding_sym_fUST")
|
|
||||||
|
|
||||||
|
|
||||||
@bfx.wss.on("base_margin_info")
|
@bfx.wss.on("base_margin_info")
|
||||||
|
|||||||
Reference in New Issue
Block a user