mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-18 10:38:05 +00:00
Minor update
This commit is contained in:
@@ -22,7 +22,7 @@ public class TSeriesEventArgs : EventArgs {
|
||||
public class TSeries : List<(DateTime t, double v)> {
|
||||
public List<DateTime> t => this.Select(item => item.t).ToList();
|
||||
public List<double> v => this.Select(item => item.v).ToList();
|
||||
public (DateTime t, double v) Last => this[this.Count - 1];
|
||||
public (DateTime t, double v) Last => this[^1];
|
||||
public int Length => Count;
|
||||
public string Name { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user