mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-22 12:38:06 +00:00
GBM_Feed fix
This commit is contained in:
@@ -20,7 +20,7 @@ GBM - Geometric Brownian Motion is a random simulator of market movement, return
|
|||||||
|
|
||||||
public class GBM_Feed : TBars
|
public class GBM_Feed : TBars
|
||||||
{
|
{
|
||||||
double seed;
|
static double seed;
|
||||||
readonly double drift, volatility;
|
readonly double drift, volatility;
|
||||||
public GBM_Feed(int Bars = 252, double Volatility = 1.0, double Drift = 0.05, double Seed = 100.0) {
|
public GBM_Feed(int Bars = 252, double Volatility = 1.0, double Drift = 0.05, double Seed = 100.0) {
|
||||||
seed = Seed;
|
seed = Seed;
|
||||||
|
|||||||
Reference in New Issue
Block a user