minor updates

This commit is contained in:
Miha Kralj
2023-01-08 19:28:45 -08:00
parent 6db1ba7562
commit 585bbdf129
7 changed files with 52 additions and 17 deletions
+1
View File
@@ -34,6 +34,7 @@ public class GBM_Feed : TBars
}
}
public void Add(bool update = false) {this.Add(DateTime.Now, update);}
public void Add(DateTime timestamp, bool update = false) {
double Open = GBM_value(seed, volatility*volatility, drift, precision);
double Close = GBM_value(Open, volatility, drift, precision);