加密货币策略回测
backtest_crypto_strategyBacktest crypto trading strategies (SMA, RSI, MACD) using historical price data and technical indicators to evaluate performance.
Instructions
基于加密货币历史价格与技术指标进行简单策略回测(SMA/RSI/MACD)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "backtest_crypto_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bar | No | K线周期: 1H/4H/1D | 4H |
| limit | No | 回测K线数量 | |
| symbol | No | 币种,格式: BTC 或 ETH | BTC |
| strategy | No | 策略类型: SMA/RSI/MACD | SMA |