StockSeriesData
Moderator: Queue Moderators
StockSeriesData
I have a requirement to display OHLC data every minute. When creating StockSeriesData I can only specify the Date. Is it possible to display multiple StockSeriesData points per day?
-
- Posts: 141
- Joined: Wed Mar 27, 2019 1:05 pm
Re: StockSeriesData
Hello Michel,
Yes, it is possible to show stock data every minute. StockSeriesData structure also accepts DateTime objects, allowing you to set hours, minutes and seconds as well. For example:
Hope this helps.
Best regards,
Lasse
Yes, it is possible to show stock data every minute. StockSeriesData structure also accepts DateTime objects, allowing you to set hours, minutes and seconds as well. For example:
Code: Select all
StockSeriesData[] data = new StockSeriesData[] {
new StockSeriesData(new DateTime(2010, 09, 01, 10, 0, 0), 24.35, 24.76, 24.81, 23.82, 269210, 6610451.55),
new StockSeriesData(new DateTime(2010, 09, 01, 10, 30, 0), 24.85, 24.66, 24.85, 24.53, 216395, 5356858.225),
new StockSeriesData(new DateTime(2010, 09, 01, 11, 0, 0), 24.80, 24.84, 25.07, 24.60, 164583, 4084950.06),
new StockSeriesData(new DateTime(2010, 09, 01, 11, 30, 0), 24.85, 25.01, 25.12, 24.84, 118367, 2950889.31)
};
Best regards,
Lasse