public void ExecuteBot(string botInstanceId)
        {
            if (State == "RUNNING")
            {
                var instance  = _botInstanceRepository.GetBotInstanceData(botInstanceId);
                var processor = _botProcessorFactory.GetBotProcessor(instance.ProcessorID);

                _tradingViewAlertService.ProcessTradingViewUpdates(botInstanceId);

                if (instance.State == "CREATED")
                {
                    processor.Initialise(instance);
                }
                if (instance.State == "STARTED")
                {
                    processor.Process(instance, DateTime.UtcNow);
                    _botInstanceRepository.Save(instance);
                }
            }
        }
        public Dictionary <string, string> GetConfiguration(string botInstanceId)
        {
            var botInstance = _botInstanceDataRepository.GetBotInstanceData(botInstanceId);

            return(botInstance.GetVariables());
        }