Guides / Cookbooks
Cookbooks · 14 recipes
Cookbooks
Worked recipes for ora-fin1, market first: each one has a goal, when to use it, the request, the real response, the code, how to act on it, and variations.
Before you start
- Decide on a stock with just its symbol: what
{"symbol": …}fills in. - Read probabilities and choose thresholds: how to set the lines the recipes use.
- Rule language: what you can write in
ask.
Screening and digests
Many symbols, one ranking or one message.
| Recipe | What it does | Level |
|---|---|---|
| Rank a watchlist by probability | One request per symbol, sent in parallel, then rank the list by a yes_no answer. | Beginner |
| Send a pre-open digest | A weekday workflow: the same questions for a watchlist, one Slack message per run. | Beginner |
Signals: rules plus forecasts
A rule says what is true now; a forecast says what is likely next. Use both in one request.
| Recipe | What it does | Level |
|---|---|---|
| Trend filter plus entry trigger | Rule C > sma(C,200) as the filter, a forecast as the trigger, one action when both agree. | Intermediate |
| Breakout confirmation with volume | A breakout rule with a volume condition, its two halves asked separately, and a forecast. | Intermediate |
| RSI and Bollinger mean-reversion checks | Is it stretched now (rules), and does the next week lean toward a bounce (forecast)? | Intermediate |
| Gap-fill playbook to your order system | fill_today / fill_5d on your own gap numbers, three branches, a signed webhook. | Advanced |
Risk and execution
Gate, size and block before anything reaches an order.
| Recipe | What it does | Level |
|---|---|---|
| Confidence-gated actions | Act automatically only outside a band around 0.5; send the rest to a person. | Beginner |
| Detect two-way risk | drop5 and rally5 both high: a wide range, with an options angle. | Intermediate |
| Size positions by volatility regime | ATR-percentage and realized-volatility rules pick a size multiplier. | Intermediate |
| Risk guardrail before an order | Block, reduce or allow an order from drawdown odds and a trend rule, via webhook or inline. | Advanced |
Techniques
Ways to ask that make answers cheaper and more trustworthy.
| Recipe | What it does | Level |
|---|---|---|
| Ask many questions in one request | Eight questions, forecasts and rules, in one call: one round trip and far fewer tokens. | Beginner |
| Self-consistency: three wordings | Ask the same question three ways in one request and use the spread to catch bad wordings. | Intermediate |
Text
The same request shape for tickets and headlines.
| Recipe | What it does | Level |
|---|---|---|
| Route support tickets | choice + score + yes_no on a ticket, routed only when confidence is high. | Beginner |
| Is a headline relevant to a symbol? | Relevance, tone and materiality of a headline for one company. | Beginner |
Information, not investment advice. Every number on this page is a real response for the session shown; answers change with each session.
Create an account Open the Playground
Everything here also lives in the console, next to your keys and usage.