예제 #1
0
        public BetslipHelper _helper; //public for test

        protected EcambiPlacer(string mainDomain, string market, string lang)
        {
            _mainDomain = mainDomain;
            _market     = market;
            _lang       = lang;

            _helper        = new BetslipHelper();
            CurrentBetslip = new Betslip();
            Logger         = AppLogger.CreateLogger <EcambiPlacer>();
        }
예제 #2
0
        public void Init()
        {
            betType  = BetType.Treble;
            stake    = 0.01;
            ew       = false;
            helper   = new BetslipHelper();
            outcomes = InitOutcomes();
            logger   = InitLogger();

            logger.LogDebug($"Was generated outcome:\n{outcomes.GetDump()}");
        }