Ejemplo n.º 1
0
 /// <summary>
 /// インスタンス化。
 /// </summary>
 /// <param name="useStub">ネットワーク通信をしないスタブを使用する場合はtrue</param>
 public TradeController(bool useStub = false)
 {
     if (useStub)
     {
         this.mt4 = new MT4Stub();
     }
     else
     {
         this.mt4 = new MT4();
     }
     this.logger = new PrintLogger();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// インスタンス化。
 /// </summary>
 /// <param name="useStub">ネットワーク通信をしないスタブを使用する場合はtrue</param>
 public TradeController(bool useStub = false)
 {
     if (useStub)
     {
         this.mt4 = new MT4Stub();
     }
     else
     {
         this.mt4 = new MT4();
     }
     this.logger = new PrintLogger();
 }
Ejemplo n.º 3
0
 public void Disconnect()
 {
     mt4.Disconnect();
     mt4 = null;
 }
Ejemplo n.º 4
0
 public void Disconnect()
 {
     mt4.Disconnect();
     mt4 = null;
 }