AnyStock - WebSocket and Stock Analysis Tools
This demo shows how to use AnyStock charts with real-time data and apply analysis tools.
AnyStock offers a large set of features, that allow you to build your online financial portal and one of the most exciting features is the ability to draw/display on the chart so called drawing tools or, as they are called in our documentation and settings, annotations. Also, any financial portal should provide technical indicators to analyze chart and indicate market direction. AnyStock charts are ready to use with real-time data. All you need is to choose data vendor and preferable transfer protocol.
- The real-time data is provided by CEXIO. The data is loaded with Secured WebSocket.
- Technical indicators.
- Drawing Tools and Annotations. All annotations can be saved to local storage by click on
Save Annotationsbutton on the toolbar. This allows users to restore all annotations if the page was reloaded or theme or chart settings were changed.
- Changing theme setting on fly.
To use this sample you must have package manager for Node.js - NPM installed. If not please visit NodeJS official site.
To start this example run commands listed below. Clone the repository from github.com:
git clone email@example.com:anychart-integrations/websocket-cexio-anystock-demo.git
Navigate to the demo folder:
Run the nodejs server which establishes a secure WebSocket connection to the data vendor CEXIO and forwards received data to the client side:
Open browser at
AnyStock - WebSocket and Stock Analysis Tools demo includes two parts:
If you have any questions regarding licensing - please contact us. firstname.lastname@example.org