backtest_strategy
Backtests a declarative long-only spot strategy against public Binance candles before risking capital, with next-candle execution and configured fees.
When an agent should call it
No user code is executed; data is bounded. Signals form at candle close and execute at the next open; historical performance is not a prediction. Pair with scan_arbitrage to check cross-venue spreads for the same market.
Input: Binance market, timeframe, date range, capital and declarative strategy parameters
Price: $0.10 USDC per call, paid in USDC via x402 on Base.
MCP connection: one-time setup, then call backtest_strategy on each needed workflow.
Direct HTTP resource: https://mcp.dropenginehq.com/api/backtest-strategy
Example input
{
"market": "BTCUSDT",
"timeframe": "1d",
"start": "2025-01-01",
"end": "2025-04-01",
"initial_capital": 10000,
"strategy": {
"type": "buy_and_hold",
"parameters": {}
}
}Each call requests payment for this tool only. The agent receives a structured result and decides what to do next. Check the limits above before acting on risk, market, freshness, or availability results.
MCP endpoint: https://mcp.dropenginehq.com/api/agent-services