Preview a theme rule's tickers (saves nothing)
preview_themeShow which tickers a theme rule would hold, before saving it (requires api:account). rule_text is the user's own words, such as "trending biotech names" or "the AI memory and compute bottleneck". Gambit compiles it with two model calls over its own market data (a pre-screen of the Hyperliquid listings and liquid US stocks, then a ranking from daily returns, dollar volume, card and news counts and recent headlines; a number Gambit holds no data for stays empty) into up to 100 candidates, best first, each with symbol, subject_id, display_symbol, reason (one line: why it fits), tradable (true when it has a Hyperliquid listing; a name without one can only be watched for trading), listing (its Hyperliquid id), signal (the numbers the ranking saw: r5, r20, r60 returns in percent, volz, dv20_usd_m, cards7, news7, and bars, the price source) named_in_rule, last_event (the newest card or news item on it in the last 7 days), and tier and tracked_by (what saving it now would track at the default caps, and why). signal at the top level is how the theme is ranked: anchored (a rule that names a thesis or tickers) or trend (a "trending" rule). exclusions are names the model left out on purpose, with why; dropped lists the symbols that did not resolve to one asset. Nothing is saved: to keep it, call save_theme with action create and the same rule_text (that compiles again). Each preview counts against the limit of 10 compiles per user per UTC day (preview, a rule create, and an edit with rule_text each count). Show the list to the user before saving. Errors: 429 theme_compile_limit with retry_after; 502 theme_compile_failed; 503 theme_compile_unavailable or themes_disabled.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rule_text": "<rule_text>"
},
"name": "preview_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_text | Yes | the user's own words describing the theme |