Esempio n. 1
0
 public CrazySellerTrap(IConfiguration config, ILogger logger)
 {
     _config = config;
     _logger = logger;
     _requestor = new BtcChinaApi(config, logger);
     Initialize();
 }
Esempio n. 2
0
 public NaiveBear(IConfiguration config, ILogger logger)
 {
     _logger = logger;
     _logger.Message("Naive Bear trader initialized with operative share " + OPERATIVE_AMOUNT + " BTC");
     _requestor = new BtcChinaApi(config, logger);
     _trend = new MarketTrend();
 }
Esempio n. 3
0
 public NightlyFrogBoiling(IConfiguration config, ILogger logger)
 {
     _logger = logger;
     _operativeAmount = double.Parse(config.GetValue("operative_amount"));
     _logger.Message("Nightly Frog Boiling trader initialized with operative amount " + _operativeAmount + " BTC");
     _requestor = new BtcChinaApi(config, logger);
 }
Esempio n. 4
0
 public CrazyBuyerTrap(IConfiguration config, ILogger logger)
 {
     _config = config;
     _logger = logger;
     _requestor = new BtcChinaApi(config, logger);
 }