Esempio n. 1
0
        private static BetfairConfiguration GetBetfairConfiguration()
        {
            var betfair = new BetfairConfiguration {
                AutoKeepAliveFrequency = 1800000
            };

            var endpoints = new string[2];

            endpoints[0] = @"https://api.betfair.com/exchange/v5/BFExchangeService";
            endpoints[1] = @"https://api-au.betfair.com/exchange/v5/BFExchangeService";
            betfair.EndPointExchangeAPIs = endpoints;
            betfair.EndPointGlobalAPI    = @"https://api.betfair.com/global/v3/BFGlobalService";
            betfair.Password             = "******";
            betfair.ProductId            = 26;
            betfair.Username             = "******";
            betfair.VendorSoftwareId     = 0;

            return(betfair);
        }
Esempio n. 2
0
        private static BetfairConfiguration GetBetfairConfiguration()
        {
            var betfair = new BetfairConfiguration {AutoKeepAliveFrequency = 1800000};

            var endpoints = new string[2];
            endpoints[0] = @"https://api.betfair.com/exchange/v5/BFExchangeService";
            endpoints[1] = @"https://api-au.betfair.com/exchange/v5/BFExchangeService";
            betfair.EndPointExchangeAPIs = endpoints;
            betfair.EndPointGlobalAPI = @"https://api.betfair.com/global/v3/BFGlobalService";
            betfair.Password = "******";
            betfair.ProductId = 26;
            betfair.Username = "******";
            betfair.VendorSoftwareId = 0;

            return betfair;
        }