Installation
To install LightningChart JS Trader (trial version or purchased one), use the following command in your project:
npm i @lightningchart/lcjs-trader
After installing the package, you will need to provide Trader your license key before using the chart. To get the key, please fill the contact form here opened by clicking the Start 30-day Free Trial button.
import { trader } from "@lightningchart/lcjs-trader";
trader('my-license-key')
.then(ta => {
const tradingChart = ta.tradingChart()
})