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
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) |
Input Schema (JSON Schema)
{
"properties": {
"accountBalance": {
"description": "Total account balance in USDT",
"type": "number"
},
"category": {
"description": "Category (linear, inverse)",
"type": "string"
},
"currentPrice": {
"description": "Current price (optional, will fetch if not provided)",
"type": "number"
},
"leverage": {
"description": "Leverage to use (optional, defaults to 1x)",
"type": "number"
},
"riskPercentage": {
"description": "Risk percentage per trade (e.g., 2 for 2%)",
"type": "number"
},
"stopLossPrice": {
"description": "Stop loss price",
"type": "number"
},
"symbol": {
"description": "Symbol (e.g., ETHUSDT)",
"type": "string"
}
},
"required": [
"category",
"symbol",
"accountBalance",
"riskPercentage",
"stopLossPrice"
],
"type": "object"
}