Replace a preference set
update_preferencesReplace one of YOUR preference sets (requires api:account). kind=market_brief takes market_brief; kind=trade_routing takes trade_routing. Each REPLACES THE WHOLE SET: a field you leave out goes back to its default. So call get_preferences with the same kind first, change only what the user asked for, and send the whole set back. The response echoes what was stored. market_brief: hidden_rows ({category: [row ids]}, categories global | crypto | fx | commodities | sectors | bonds, ≤64 ids each), crypto_rows (3-12), display ({timeframe: 1d | 5d | 1m | 3m | ytd | 1y, view: list | bars | lines, layout: grid | full}), opportunity_hidden_subjects (asset:… subject ids, ≤256), opportunity_hidden_asset_classes (equity | crypto | commodity | fx | index | prediction) and opportunity_hyperliquid_only. trade_routing: default_destination (hyperliquid | brokerage) and symbol_overrides ({TICKER: hyperliquid | brokerage}, ≤200, US tickers only) — it preselects the trade ticket's destination; it never routes or places an order. The trading profile (risk caps, agent mode, chat execution) cannot be changed here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| market_brief | No | REQUIRED for kind=market_brief: the whole set | |
| trade_routing | No | REQUIRED for kind=trade_routing: the whole set |