Skip to main content

Module data_types

Module data_types 

Source
Expand description

Bybit-specific custom data types.

These types carry Bybit domain data to subscribing actors as CustomData: liquidations flow through the data engine, and margin results through the execution event channel.

Structs§

BybitLiquidation
Bybit public liquidation from the allLiquidation WebSocket stream.
BybitMarginBorrowResult
Result from a manual Bybit spot margin borrow operation.
BybitMarginRepayResult
Result from a manual Bybit spot margin repay operation.
BybitMarginStatusResult
Current borrowed amount on Bybit for a coin.

Functions§

register_bybit_custom_data
Registers Bybit custom data types.