deriv-lightweight-charts

Installation
SKILL.md

Hosted MCP first, then bundled references

If hosted MCP tools are available, call them by bare name (get_schema, get_field, validate_payload, get_example, search_endpoints, guide_api_conventions, guide_authenticate, and the other hosted guide tools). Do not use bundled field lists while those tools work. Never invent fields.

If those tools are missing or fail, read this skill and its references/. Do not invent fields that are not in those files.

Never name a host-namespaced tool; use the bare tool name only.

Add the Lightweight Charts price chart

Lightweight Charts is a rendering library, not a trading chart: it draws whatever series the application feeds it and knows nothing about symbols, markets, trading hours, or contracts. Everything a trading app needs beyond candles — the symbol picker, market-closed state, barriers, contract markers — is supplied by the application from state the sibling skills already own. It is the default chart for these skills: read the chart selection guide to confirm no requirement escalates to SmartCharts, state the choice in one line, and proceed.

Compose the flow skills

  1. Read the market-data flow. The chart's history and live updates are adapters over that layer's tick history and subscription lifecycle.
  2. Read the trade lifecycle whenever the chart shows barriers or contract markers — they are derived from proposal and open-contract state, never computed by chart code.
  3. Read the authentication flow if the chart must follow the application from the public socket to the account's OTP socket: it follows the single connection owner through that switch.
  4. Read the SmartCharts skill's trade overlays for what to derive per contract family; this skill's overlay reference covers only how to draw it with this library.
  5. Read the trading-app router when the chart is part of an end-to-end trading application.
Installs
3
First Seen
Sep 19, 2026