calculateWinRate
Calculate win rate and profit metrics for cryptocurrency trading accounts over specified periods. Analyze trading performance by account and symbol to evaluate strategy effectiveness.
Instructions
Calculate win rate and profit metrics for a configured account
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accountName": "<accountName>"
},
"name": "calculateWinRate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountName | Yes | Account name defined in the configuration file (e.g., 'bybit_main') | |
| symbol | No | Optional trading symbol (e.g., 'BTC/USDT') to filter trades | |
| period | No | Analysis period: '7d', '30d', or 'all' | 30d |