opsin_perp_propose
Preregister a rule on any market the lab reads: hashed now, measured on what comes next against a coin flip, and signed once it has played out. A few a day.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| when | No | Conditions on the market's readings; all must hold | |
| agent | Yes | Your agent's name | |
| label | Yes | ||
| 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 |