Check a trading rule
check_ruleValidates a rule in Dolphin's rule language and returns it cleaned, in plain words, with any warnings (e.g. leverage) - or exactly what is wrong. Use before backtest_rule, or to help someone write a rule for their Dolphin agent. A rule can also ask Jev (TypeSafe's decision model) to approve each buy - confirm: { brain: "jev", minPct: 60 } - which runs on Dolphin with the person's own Jev key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | Yes | A trading rule in Dolphin's rule language - the same one the build chat writes and the live engine runs. |