Get secret key from environment variables :return: Secret key
Get access key from environment variables :return: Access key
Get orderbook data :parameter symbol: Symbol (e.g., BTCUSDT) limit: Number of orderbook entries to retrieve category: Category (spot, linear, inverse, etc....
Get K-line (candlestick) data Args: category (str): Category (spot, linear, inverse, etc.) symbol (str): Symbol (e.g....
Get ticker information Args: category (str): Category (spot, linear, inverse, etc.) symbol (str): Symbol (e.g....
Get wallet balance Args: accountType (str): Account type (UNIFIED, CONTRACT, SPOT) coin (Optional[str]): Coin symbol Returns: Dict: Wallet balance information Example: get_wallet_balance("UNIFIED", "BTC") Reference: https://bybit-exchange.github.io/docs/v5/account/wallet-balance
Get position information Args: category (str): Category (spot, linear, inverse, etc.) symbol (Optional[str]): Symbol (e.g....
Execute order Args: category (str): Category - spot: Spot trading * Minimum order quantity: 0.000011 BTC (up to 6 decimal places) * Minimum order amount: 5 USDT * If buying at market price, qty should be input in USDT units (e.g....
Cancel order Args: category (str): Category (spot, linear, inverse, etc.) symbol (str): Symbol (e.g....
Get order history Args: category (str): Category (spot, linear, inverse, etc.) symbol (Optional[str]): Symbol (e.g....
Get open orders Args: category (str): Category (spot, linear, inverse, etc.) symbol (Optional[str]): Symbol (e.g....
Set trading stop Args: category (str): Category (spot, linear, inverse, etc.) symbol (str): Symbol (e.g....
Set margin mode Args: category (str): Category (spot, linear, inverse, etc.) symbol (str): Symbol (e.g....
Get API key information Returns: Dict: API key information Example: get_api_key_information() Reference: https://bybit-exchange.github.io/docs/v5/user/apikey-info
Get exchange information Args: category (str): Category (spot, linear, inverse, etc.) symbol (str): Symbol (e.g....
Bybit API access key.
Bybit API secret key.