Skip to main content

Module types

Module types 

Source
Expand description

Type definitions for the Bybit API.

Re-exports§

pub use account::*;
pub use market::*;
pub use position::*;
pub use trade::*;

Modules§

account
Account-related types for wallet and account management.
market
Market data types for the Bybit V5 API.
position
Position-related types for position management.
trade
Trade-related types for order management.

Structs§

Empty
Empty result type for endpoints that return no data.
PaginationParams
Generic cursor-based pagination parameters.
RateLimitInfo
Rate limit information parsed from response headers.
ServerTime
Server time response.
SymbolInfo
Symbol information base fields (common across categories).

Enums§

AccountType
Account type for wallet operations.
Category
Trading category for the V5 API.
KlineInterval
Kline/candlestick interval.
MarginMode
Margin mode for the account.
OrderStatus
Order status.
OrderType
Order type.
PositionIdx
Position index for position mode.
PositionMode
Position mode.
Side
Order side (buy or sell).
StopOrderType
Stop order type.
TimeInForce
Time in force for orders.
TradeMode
Trade mode (cross or isolated margin).
TriggerBy
Trigger price type for conditional orders.