Sorting a DataSeries
Author: mafiat
Creation Date: 9/8/2009 1:05 AM
profile picture

mafiat

#1
I need help on how to sort a DataSeries. I am writing a program and I need to sort a 1-minute intraday Volume on per size. For example: If a day has 390 1-minute bars, I want to sort the Volume in descending order for the 390 bars.

Can you help me?

Thanks/Mafiat
profile picture

Eugene

#2
Think .NET. You can use a SortedList (see SetContext in the QuickRef for the example of sorting Turnover values), or a generic List<>.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).