Backtest a strategy
simulate_strategyPaper-backtest a pair strategy on the last 7 days of Hyperliquid prices with $10,000, the same engine the OUROS launch desk uses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| long | No | fixed / spread: first leg | |
| type | Yes | How the pair is chosen | |
| exitZ | No | spread: close when |z| falls under this (default 0.3) | |
| short | No | fixed / spread: second leg | |
| entryZ | No | spread: open when |z| reaches this (default 1.5) | |
| perDay | No | max USD opened per UTC day, at least 2 × perTrade (default 4000) | |
| perTrade | No | max USD per leg (default 1000) | |
| universe | Yes | Hyperliquid market names, e.g. BTC, ETH, xyz:NVDA, xyz:GOLD | |
| lookbackH | No | ||
| rebalanceH | No | ||
| maxLeverage | No |