kaizen
Member
- Joined
- Mar 12, 2008
- Messages
- 8
- Programming Experience
- 5-10
Hi,
I have a List of a custom class (barData) that I need to remove elements form based on a date.
The bardata class holds data of stock price information.
PriceDate
Open
High
Low
Close
Volume
I have
Which then gets loaded with data for each day for the stock selected.
What I need to do is remove some data based on a start and end date.
Is there a way to do it without looping through each bar as I may have 2000 plus bars for each stock and may have 2000+ plus stocks to look at. It can be done by looping but it is slow.
Thanks.
I have a List of a custom class (barData) that I need to remove elements form based on a date.
The bardata class holds data of stock price information.
PriceDate
Open
High
Low
Close
Volume
I have
VB.NET:
Public QuoteData As New List(Of BarData)()
Which then gets loaded with data for each day for the stock selected.
What I need to do is remove some data based on a start and end date.
Is there a way to do it without looping through each bar as I may have 2000 plus bars for each stock and may have 2000+ plus stocks to look at. It can be done by looping but it is slow.
Thanks.