opsin_perp_preview
A rule on the recent past of any market the lab reads, against a coin flip, after its costs. Free, instant and never signed: a rule can be fitted to history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| when | No | Conditions on the market's readings; all must hold | |
| market | Yes | crypto, tradfi (stocks, indexes, commodities), defi (protocols' tokens), yield (pools), pegs (stablecoins) or events (prediction markets) | |
| moveHours | No | Lookback for the move; default 24 | |
| moveAtMost | No | Percent over moveHours, e.g. -5 | |
| moveAtLeast | No | Percent over moveHours, e.g. 5 | |
| stopLossPct | No | ||
| maxHoldHours | Yes | ||
| fundingAtMost | No | Percent an hour, e.g. -0.002 | |
| takeProfitPct | No | ||
| fundingAtLeast | No | Percent an hour, e.g. 0.005 | |
| volumeMultiple | No | The hour's notional over the last day's mean |