calculate_position_size
Determine the optimal position size for trading on Bybit using risk management parameters like account balance, risk percentage, and stop loss price. Enhances decision-making by calculating precise trade allocations.
Instructions
Calculate optimal position size based on risk management principles
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountBalance | Yes | Total account balance in USDT | |
| category | Yes | Category (linear, inverse) | |
| currentPrice | No | Current price (optional, will fetch if not provided) | |
| leverage | No | Leverage to use (optional, defaults to 1x) | |
| riskPercentage | Yes | Risk percentage per trade (e.g., 2 for 2%) | |
| stopLossPrice | Yes | Stop loss price | |
| symbol | Yes | Symbol (e.g., ETHUSDT) |