Run Backtrader Engine
apex_run_backtrader_engineRun the allowlisted permissionless bounded backtrader-style single-asset backtest engine over supplied OHLCV bars and declarative strategy rules. Pure TS reimplementation of a narrow OSS backtrader 1.9.78.123 subset. DATA ONLY, read-only, no HMAC required, no broker adapters, no network, no orders, no wallet/account access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | Yes | ||
| costs | No | ||
| strategy | Yes | ||
| initial_cash | Yes |