Svelte component for rendering the TradingView Advanced Real-Time Chart Widget.
https://borakilicoglu.github.io/svelte-tradingview-widget
yarn add svelte-tradingview-widget
or
npm install --save svelte-tradingview-widget
import TradingViewWidget from "svelte-tradingview-widget";
<TradingViewWidget />;
Define all properties into options and then pass them to the component. See this page for the TradingView Advanced Real-Time Chart API.
import TradingViewWidget from "svelte-tradingview-widget";
let options = { symbol: "BINANCE:BTCUSDT", theme: "dark", autosize: true, locale: "fr" };
<TradingViewWidget {options} />;