Exemplo n.º 1
0
        public override BaseRobot MakeCopy()
        {
            var bot = new SimpleTradeMachineRobot
            {
                TradeIntervalSec = TradeIntervalSec,
                StopLossPoints   = StopLossPoints,
                TakeProfitPoints = TakeProfitPoints,
                FixedVolume      = FixedVolume
            };

            CopyBaseSettings(bot);
            return(bot);
        }
 public override BaseRobot MakeCopy()
 {
     var bot = new SimpleTradeMachineRobot
         {
             TradeIntervalSec = TradeIntervalSec,
             StopLossPoints = StopLossPoints,
             TakeProfitPoints = TakeProfitPoints,
             FixedVolume = FixedVolume
         };
     CopyBaseSettings(bot);
     return bot;
 }