Agent rules
Strategies: when this holds, do that.
A strategy is a rule that lives in your vault: when this holds, do that. Oasis has four kinds. You can create them yourself, the agent creates them for you, or you take one from the marketplace as a playbook.
| Kind | When | Does |
|---|---|---|
| Recurring buy | On a schedule | Buys a fixed amount of a stock. |
| Stop-loss | Price ≤ your level | Sells the position to limit a loss. It guarantees neither the price nor the execution. |
| Take-profit | Price ≥ your target | Sells the position to lock a gain. |
| Rebalance | The mix drifts past a band | Trades back to the shares you set. |
What a rule contains
#2 Take-profit · agent watching price Sell all AAPL for USDG if price ≥ $354.16 runs 0 / 100 last never slippage 1.5%
The number of runs, the expiry and the slippage are part of the rule. A keeper can only run it when the condition holds on a fresh Chainlink price, and the fill must stay inside the slippage.
Playbooks (under study)
Any rule that ran could be shared as a playbook. Its result would be counted from the chain's own records and today's prices, never typed by the author. A playbook would be ranked by return only after at least 5 runs, $100 traded and 7 days live; newer ones are marked “building history”.
For a buy rule the result is profit or loss on what it bought; for a sell rule it is how much better or worse than simply holding. Past results do not promise future ones.