This demo shows how you can implement a simple “Order Book” chart using our Serial chart. The chart shows a real distribution of booked sell and buy orders for bitcoin and their volume.

Live data loading and processing

This chart uses our Data Loader plugin, which makes it easy to attach the chart to external data sources.

In this case we load data directly from Bitcoin exchange Poloniex API.

Since the API returns data in JSON format that is not directly compatible with amCharts Serial chart, we pre-process the data using Data Loader’s postProcess¬†function handler.

The chart is set to reload the data every 30 seconds.