CategorizedDateTimeAxis is not suitable for financial intraday charts of instruments with low liquidity and pre/afterhours charts. It discards time periods (minutes) with no trades, ‘compresses time’ and makes picture confusing. They don’t do it in good trading platforms.
DateTimeAxis would help here. But is there any hack to remove time periods when market closed, weekend, holidays?
If not please consider it as new feature request. It can be implemented as a collection of time periods to remove or show.
- RTrade A asked 10 years ago
- You must login to post comments
I’m with @Dxat, and all that earlier stuff is 7 years old. How do you graph a series with arbitrary time dropouts?
Basically, how do we “lift the pen”?
- Jesse Hemingway answered 3 years ago
- You must login to post comments
Hello everyone, so right now with current V3 iOS-Swift version (‘SciChart’, ‘3.1.0-nightly.5287’)
what is the solution for avoiding gabs and empty line areas during weekends or other period that the dataSeries has no values ?
- Dxat answered 4 years ago
- You must login to post comments
I am considering applying server-side licensing for my javerScript application.
In the document below, there is a phrase “Our server-side licensing component is written in C++.”
(https://support.scichart.com/index.php?/Knowledgebase/Article/View/17256/42/)
However, there is only asp.net sample code on the provided github.
(https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-dotnet-server-licensing)
I wonder if there is a sample code implemented in C++ for server-side licensing.
Can you provide c++ sample code?
Also, are there any examples to run on Ubuntu?
- Andrew Burnett-Thompson answered 10 years ago
-
yes. Nyse, nasdaq low cap stocks, options, not front month futures. All these charts has a lot of empty 1,5 minutes intervals. You can start with having user to provide some collection of DateTime pairs (begin and end of interval to cut or to draw) along with DataSeries before rendreing a chart. Highlevel approach with calendars, weekend, market hours could be complicated and nonflexible where special cases emerges (multiday halts, etc.)
-
Ok so, a specialisation of DateTimeAxis which measures the X_value (unlike CatDateTimeAxis) and excludes a set of Date Pairs from the axis? I will add as a feature request. It has been asked before, but other things got in the way!
-
Right. But we should be able to change that collection of DateTime Pairs for existing chart as with clearing and appending DataSeries. I mean it's not what given once when creating a chart. In trading platforms you have chart window and you can make it show different instruments and different timeframes by typing its symbol and they could have different trading hours and holidays.
-
How about supporting nullable DataSeries like OhlcDataSeries <DateTime, double?> ? Or some kind of magic value which we can use in DataSeries to indicate that no bar or candle should be drawn for this tick. This way we can mimick normal behaviour for low liquid markets with CategorizedDateTimeAxis by injecting empty values in Dataseries.
-
We do support that - include the DateTime value and Open/High/Low/Close values set to double.NaN NaN is our 'magic' null value that excludes a data-point from the chart.
-
That's great! Thank you.
- You must login to post comments
Please login first to submit.