DataSeries Type behaviour
DataSeries Type behaviour
20 Jul 2024, 10:07
Does the DataSeries type always ensure that the data in the series is up to date with market Data. And also does the indexing change, as in is zero the latest bar, or the oldest bar in history.
I would love some clarification on this as it is not clear in the documentation. Thanks for any help offered.
Replies
tbbusinge
30 Jul 2024, 09:46
( Updated at: 30 Jul 2024, 11:45 )
RE: DataSeries Type behaviour
PanagiotisCharalampous said:
Hi there,
If you refer to Bars class, yes it always contains the latest data. Indexing starts from from the oldest data to the newest e.g. Bars.ClosePrices[0] is the oldest close price available.
Best regards,
Panagiotis
Thanks for the response sir.
Kindly look at my new query if you have the time.
@tbbusinge
PanagiotisCharalampous
22 Jul 2024, 06:15
Hi there,
If you refer to Bars class, yes it always contains the latest data. Indexing starts from from the oldest data to the newest e.g. Bars.ClosePrices[0] is the oldest close price available.
Best regards,
Panagiotis
@PanagiotisCharalampous