chord-charts
Draw a candlestick price chart (SVG) with volume for any token traded on Ethereum, Base, Monad, BNB Chain, Avalanche, Arbitrum, Robinhood Chain (tokenized stocks such as NVDA, TSLA), Arc or Solana, from Chord's own DEX trade data, and summarise the move (change, high, low, volume, trades). Use when the user asks for a chart, candles, price history or "how did X move" for a token on those chains. No API key; Python 3 standard library only.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1.6k
- Forks
- 491
01 前言 Front Matter
- name
- chord-charts
- license
- MIT
- metadata
- { "author": "Chord (getchord.xyz)", "version": "1.0.0", "homepage": "https://getchord.xyz" }
- description
- Draw a candlestick price chart (SVG) with volume for any token traded on Ethereum, Base, Monad, BNB Chain, Avalanche, Arbitrum, Robinhood Chain (tokenized stocks such as NVDA, TSLA), Arc or Solana, from Chord's own DEX trade data, and summarise the move (change, high, low, volume, trades). Use when the user asks for a chart, candles, price history or "how did X move" for a token on those chains. No API key; Python 3 standard library only.
02 资源文件 1
- 脚本scripts/chart.py8.2 KB
03 SKILL.md 正文
Chord charts
Chord indexes every DEX swap on its chains and builds candles from those trades. scripts/chart.py turns them into a standalone SVG candlestick chart and prints a JSON summary.
Draw a chart
python3 scripts/chart.py --chain base --token AERO --tf 1h --limit 48
python3 scripts/chart.py --chain solana --token BONK --tf 15m --limit 96
python3 scripts/chart.py --chain robinhood --token NVDA --tf 1d --limit 60
python3 scripts/chart.py --chain arbitrum --token 0x912ce59144191c1204e64559fe8253a0e49e6548 --tf 4h --limit 42 --out arb.svg
--chain:ethereum,base,monad,bnb,avalanche,arbitrum,robinhood,arc,solana.--token: a symbol or name, or an address (0x…on EVM chains, the base58 mint on Solana, case-sensitive). A symbol is resolved through Chord's search; the script prints the address it picked. Similar tickers are common: if the user named a token loosely, show them the resolved address.--tf:1m 5m 15m 1h 4h 1d 1w(Solana up to1d).--limit: number of candles, up to 1000.- Output: the SVG file (path in the summary, default
chart-<symbol>-<chain>-<tf>.svg) and a JSON summary on stdout:symbol,token,open,close,changePct,high,low,volumeUsd,trades,lastCandleOpen.
Show the user the chart file and a one-line read of the summary, for example: "AERO on Base, last 48 hours: $0.884, -2.75%, range $0.831 to $0.920, $10.5M traded."
Notes
- Prices are in USD from on-chain trades. Wrapped majors stand in for the coin: WETH for ETH, cbBTC on Base, BTC.b on Avalanche, BTCB on BNB Chain, WMON on Monad. Say which token you charted.
- Robinhood Chain stock tokens trade around the clock on-chain, so their candles can move while the US market is closed.
- Solana candles are one pool's prices (the main pool), not a blend across pools.
- If the last candle is still open,
lastCandleOpenis true and the subtitle says so. - About 60 requests a minute without a key; a chart costs one or two requests.
- For raw data without a chart:
GET https://api.getchord.xyz/v1/candles?chain=<chainId>&token=<address>&tf=1h&limit=48(EVM) orGET https://api.getchord.xyz/v1/chains/solana/token/<mint>/candles?tf=1h&limit=48.
04 同仓库更多 Skills
worktable-review-with-annotations
Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.
worktable-find-and-synthesize-context
Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.
worktable-create-or-update-docs
Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.
worktable-create-or-manage-records
Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.
worktable-create-or-manage-interactive-html
Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.
worktable-collaborate-threads
Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.