--- name: odds description: >- Shows what prediction markets price for the assets leading today's money: for the most traded US stocks and coins on Chord's map, the open Polymarket question with the most money on it (a revenue line, a merger by a date, a price Bitcoin hits this year), each answer's odds in percent, the dollars traded on it and when it closes. Up to four questions per market, each linked to its page on Polymarket. Use when the user asks what the odds are, what prediction markets or Polymarket expect for a leading stock or coin, or how likely a price level is. Not for placing bets, for any event the user names (it only covers the leading assets), or for Chord's own forecast. Read only; never signs or moves funds. license: MIT compatibility: Needs python3 and HTTPS to api.getchord.xyz. Set CHORD_API_KEY (free at chordsi.xyz/me). metadata: author: Chord (getchord.xyz) homepage: https://chordsi.xyz/s/odds version: "1.0.0" --- # Prediction Odds Chord takes the assets leading its money map (US stock tokens, and coins on the chains it indexes), asks Polymarket's public search about each one, and keeps the open question with the most dollars on it that names the asset. The odds are Polymarket's, not Chord's, refreshed every five minutes. A question nobody traded (under $1,000) is left out. Only the leading assets are asked about, so a Fed or election question appears only when it names one of them. ## Run it ```bash python3 scripts/odds.py [MARKET] ``` - `MARKET`: `stocks`, `crypto` or `all` (default `all`). Example: `python3 scripts/odds.py crypto` ## Read the answer `markets` holds one entry per market, each with `cards`: - `asset`, `chain`, `address`: the token on Chord's map the question is about. `searchedAs`: the word Chord searched. - `question`, `url`: the question as Polymarket writes it, and its page. - `outcomes`: up to three answers, each `label` and `pct` (the price of Yes, in percent). A question with several answers (price levels, dates) lists each answer's Yes, likeliest first; `answers` says how many there are in all. - `volumeUsd`: dollars traded on the question. `closesUtc`: when it resolves, UTC. - `asOf`: when Chord read the venue, UTC. An empty `cards` list means no open question names the leading assets now. ## How to answer the user 1. Quote the question as written, then the odds: "Polymarket prices 50.5% on Bitcoin trading down to $55,000 in 2026". 2. Always name Polymarket as the source, give the dollars traded on the question, the close date and the time read. 3. Odds are a crowd's price, not a probability Chord computed and not a forecast. Thin markets move fast; say so when the volume is small. 4. Never suggest placing a bet or a trade from the odds. ## Cost One call per market: the default (`all`) is 2 calls. 300 calls a month are free; then $0.006 a call from your ChordSI credit. If the script exits with code 4, show the person the message: their credit is empty or a limit was reached, and chordsi.xyz/me is where they top up.