public void Init()
 {
     env = new(Mocks.ThreeMarketsDataProviderMock(), 100, 1, 1, 3);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 初始化
 /// </summary>
 /// <param name="strategy"> 策略 </param>
 /// <param name="environment"> 回測環境 </param>
 /// <param name="recorder"> 交易紀錄器 </param>
 public Runner(T strategy, SpotEnvironment environment, Recorder <U> recorder)
 => (this.strategy, this.environment, this.recorder) = (strategy, environment, recorder);