openmarket
Installation
SKILL.md
om — agent playbook
This is the umbrella skill markdown for the OpenMarket CLI (om). Any shell-capable LLM client reads these files to learn how to drive the binary.
One binary, seven jobs:
- Market data:
om points,om markets,om symbols,om coins,om exchanges,om normalized-symbols,om block-sizes,om tenors,om enum,om usage,om subscribe,om polymarket,om metric. Calls the OpenMarket Data API athttps://api.openmarket.xyzvia the bundled SDK.om metric getcomputes any registered scalar metric (price, volume, funding_rate, open_interest, plus indicators like RSI / MACD / EMA / BB / ATR / Stoch) for a symbol on-demand; same metric registry the alert engine uses, so values match what an alert would fire on. - WRUN packages:
om installinstalls WRUN packages from local paths, GitHub repos, or registry tarballs;om wrun ...scaffolds, validates, builds, exports, installs, lists, removes, upgrades, and configures WRUN indicator packages. Installed outputs become metric ids likewrun/@scope/name/outputthat work with metric lookup, alerts, and chart adds (om collab indicator add --type wrun/...). Seemarketplace.mdfor the registry workflow and agent-native authoring. - Alert engine:
om alert ...to author alerts as JSON files under~/.openmarket/alerts/(typed conditions OR custom-script conditions backed by files under~/.openmarket/scripts/), optional Hyperliquid or Polymarket auto-execution viaon_fire.execute,om service installto install a launchd/systemd daemon that watches them,om alert watchto tail fire events in real time. - News / text-event feeds:
om news ...manages three products behind one capability-gated surface — alerts (name a trigger, get pinged when it happens), briefs (name a subject, get a few story cards a day), and streams (ready-made feeds from Synoptic's marketplace). Acquiring any of them auto-attaches a per-feed event-watch, so what they carry reaches journals and notification channels. Seenews.md. - Event watches:
om event-watch ...manages persistent event-stream monitors;om event-journal ...retrieves their local Markdown event journals on demand. Seeevent-watches.md. - Research studies:
om research studyruns strictly correlational event studies over accepted event-watch rows and one asset's candles. Use it to inspect event anchors and pre/post returns, never as a trade signal. Seeresearch.md. - Collab bridge:
om collab ...to inspect and mutate OpenMarket chart workspaces through a persistent WebSocket the daemon holds open tocollab-service. Commands are grouped by resource (session/workspace/chart/indicator/drawing) — the same shapekubectlanddockeruse so the surface scales as new server-side actions ship. Reads:om collab session status,om collab workspace list,om collab workspace state --workspace <id>. Mutations:om collab chart layout(multi-chart grid —3x1/2x2/...),om collab chart symbol/chart interval/chart plot-type(per-pane),om collab chart sync(symbol/interval/crosshair sync),om collab indicator add(RSI/MACD/EMA/...),om collab drawing add(TrendLine, FibonacciRetracement),om collab chart view(set the visible time range — ephemeral). Seechart-actions.mdfor the full workflow. A grid/layout request is achart layoutchange FIRST, then per-panechart symbol. - Strategies:
om signal+om strategywire a signal (over a watched event stream or a market metric) to automated trading on Polymarket or Hyperliquid — a signal emits a direction/conviction view, a strategy binds it to a pinned market + sizer, and the daemon evaluates enabled strategies each tick (observe / paper / dry_run / live). Author, thenom strategy resume; the daemon acts (no foreground strategy-run command). Seestrategy.md.
The same om binary owns all of these surfaces. There is no separate "data", "wrun", "runner", "research", or "collab" CLI.