Skip to main content

Setting up the widget

The widget is fully hosted by you, so you have full control over the hosting environment, security, and data flow. You can host the widget on your own server or use a third-party hosting service.

Configuring market data

By default, the chart displays mock data. To display real data, you can either:

  • Configure your own data source. The procedure is the same as with the DXcharts React library (see Chart Data Provider)
  • Use the market data provided by our partners dxFeed. You can purchase a dxFeed plan through your sales representative. After purchasing the plan, you will receive the dxFeedURL and dxFeedToken credentials. To start receiving market data, specify these credentials in the widget settings (dxFeed Symbol Suggest - IPF URL, and dxFeed Chart Data - Access token)

Providers

The widget supports the same providers as the DXcharts React library. For more details on how to connect specific providers, go to the Providers section in DXcharts React library documentation.

Widget set up example

Here is the widget configuration example with the ChartDataProvider connected to a mock data source. You can use this example as a starting point for your widget configuration.