Пример #1
0
        public override BaseRobot MakeCopy()
        {
            var bot = new CaymanRobot
            {
                CaymanFilePath   = CaymanFilePath,
                SkipCandles      = SkipCandles,
                FixedVolume      = FixedVolume,
                StopLossPoints   = StopLossPoints,
                TakeProfitPoints = TakeProfitPoints,
                Leverage         = Leverage,
                RoundType        = RoundType,
                NewsChannels     = NewsChannels,
                RoundMinVolume   = RoundMinVolume,
                RoundVolumeStep  = RoundVolumeStep
            };

            CopyBaseSettings(bot);
            return(bot);
        }
Пример #2
0
        public override BaseRobot MakeCopy()
        {
            var bot = new CaymanRobot
            {
                CaymanFilePath   = CaymanFilePath,
                FixedVolume      = FixedVolume,
                StopLossPoints   = StopLossPoints,
                TakeProfitPoints = TakeProfitPoints,
                Leverage         = Leverage,
                RoundType        = RoundType,
                NewsChannels     = NewsChannels,
                RoundMinVolume   = RoundMinVolume,
                RoundVolumeStep  = RoundVolumeStep,
                HighLevel        = HighLevel,
                LowLevel         = LowLevel,
                CloseSignal      = CloseSignal
            };

            CopyBaseSettings(bot);
            return(bot);
        }