fx-chartingDocs
Control

Props reference

Everything you can pass to <FxChart />.

PropDefaultDescription
symbol"EURUSD"First symbol (the user's later choice is remembered).
interval"60""1"…"240" minutes, "1D", "1W", "1M".
chartType"candles"bars, candles, hollow, line, area, heikinashi, renko (edition permitting).
theme"light""light" | "dark".
datafeeddemo pricesYour data
persistKey"fx-chart"localStorage key; false = don't save.
className / styleOn the root element.
onReady(api)Chart API
onSymbolChange, onIntervalChange, onChartTypeChange, onToolChange, onIndicatorsChangeChange callbacks.
onAlert(alert, price, time)An alert fired.
onPlaceOrder(order)Max: approve / forward orders — Broker
onTradeEvent(event)Max: trading events.
onWebhook({ url, body, json })Deliver webhooks yourself.
webhookMax: trading-webhook defaults { url, template, events }.
featuresSwitch features off: Feature flags