Live order book / depth chart
Important: This demo uses direct access URL to Poloniex API, which may be prevented by CORS restrictions in browser. If the demo does not work, try accessing the following URL directly first, then reload this page, so the source is cached.
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.