Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_secret_key | Get secret key from environment variables |
| get_access_key | Get access key from environment variables |
| get_orderbook | Get orderbook data for a specific symbol |
| get_kline | Get K-line (candlestick) data |
| get_tickers | Get ticker information |
| get_wallet_balance | Get wallet balance |
| get_positions | Get position information |
| place_order | Execute order |
| cancel_order | Cancel order |
| get_order_history | Get order history |
| get_open_orders | Get open orders |
| set_trading_stop | Set trading stop |
| set_margin_mode | Set margin mode |
| get_api_key_information | Get API key information |
| get_instruments_info | Get exchange information |
| validate_order_quantity | Validate order quantity against Bybit trading rules and get properly formatted quantity |
| detect_position_mode | Detect current position mode (one-way vs hedge) and get recommended positionIdx for orders |
| set_leverage | Set leverage for a specific symbol |
| calculate_position_size | Calculate optimal position size based on risk management principles |
| calculate_trailing_stop | Calculate trailing stop loss with breakeven and profit protection |
| place_order_with_trailing_stop | Place order with trailing stop loss |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |