jasonl
Posts: 1
Joined: Sat Nov 30, 2024 2:11 am

Non-time-based chart aggregations, data providers

Hello,

New to HighCharts, have not purchased yet, so this is a very basic set of related questions:

1. I see stock charts (candlestick, etc.) down to 1 hr aggregations in the demo. Is it possible to set much smaller aggregations such as 1 min or even seconds such as you can on a trading platform? If second-level or tick-level data is flowing into the application (or is accessible via API as historical data), is there anything in High Charts itself that would prevent us from displaying, say, a 20 second chart?

2. Similarly, if data for non-time-based aggregations are available, can High Charts accurately chart that data? Examples: volume-based charts where each individual bar is 1,000 volume traded, or tick charts where a 100-tick aggregation means each bar is 100 transactions, regardless of size?

3. I'm assuming there is no issue with using financial data from sources other than Morningstar and the latter is simply already integrated? Would like to double-check that I can use data from, say, Polygon, Databento or DTN IQfeed via API.

4. We will be using historical/static data only. If, in a hypothetical future version, there is a business case for using streaming real-time data (via web sockets rather than REST) and charting the financial data in real-time with High Charts, are there any known or foreseeable issues with performance or anything else? The highest-volume real-time charting is typically done on trading platforms themselves, and the more robust ones tend to use Java or C++. Ours is a web app with a React front-end and most of the app logic in Python. No compiled languages. No current use-case for real-time data, just checking for future-proofing reasons.

5. Since the main app logic will be in Python, it sounds like we need to buy the core package, the stock package and the Python integration license in order to make stock charts work? Many thanks.
User avatar
dawid.d
Site Moderator
Posts: 1222
Joined: Thu Oct 06, 2022 11:31 am

Re: Non-time-based chart aggregations, data providers

Hello!

Welcome to our forum and the world of Highcharts. Let's tackle your questions one by one:

1. ​Smaller Time Aggregations:​ Highcharts Stock can indeed handle smaller time aggregations like seconds or even tick-level data. The charting library itself doesn't impose limits on the granularity of your data. If you have second-level or tick-level data, you can display it. Just be mindful of performance, as very high-frequency data can become heavy on the browser. Stock groups data for performance and readability based on the distance between x-axis extrema. This is configurable, see API docs: https://api.highcharts.com/highstock/se ... ping.units

2. ​Non-Time-Based Aggregations:​ Highcharts is flexible and can chart non-time-based data as well. You can represent volume-based or tick-based charts by customizing the data input and axis configuration. Highcharts doesn't inherently restrict the type of data aggregation—it depends on how you structure and feed the data into the chart. You can easily change the type of axis using this API option: https://api.highcharts.com/highcharts/xAxis.type

3. ​Data Sources:​ You can absolutely use financial data from sources other than Morningstar. Highcharts is data-agnostic, meaning you can integrate data from any API, such as Polygon, Databento, or DTN IQfeed, as long as you format it correctly for the chart.

4. ​Real-Time Data with Web Sockets:​ Highcharts can handle real-time data updates, including those via web sockets. Performance largely depends on the volume of data and how it's managed in your application. With a React front-end, you can efficiently update charts in real-time using Highcharts. However, as with any web-based solution, ensure that your data handling and rendering strategies are optimized for high-frequency updates.

5. ​Licensing:​ For licensing issues, I recommend contacting the sales team. The forum is primarily for technical support and we do not want to accidentally mislead anyone. https://shop.highcharts.com/contact

I hope this was helpful for you! Let me know if you have any more questions.

Best regards,
Dawid Draguła
Highcharts Developer

Return to “Highcharts Stock”