public BitCoinStock(BitCoinTicker ticker, double buyThreshold, double sellThreshold, double requestFrequency)
 {
     SetMemberValue(buyThreshold, sellThreshold, requestFrequency);
     XmlFile = null;
     Trader  = new BitCoinTrader();
     Ticker  = ticker;
 }
 public BitCoinStock()
 {
     SetMemberValue();
     XmlFile = null;
     Trader  = new BitCoinTrader();
     Ticker  = new BitCoinTicker();
 }
        public BitCoinStock(string xmlFile)
        {
            XmlFile = xmlFile;
            Hashtable datas = XmlConfigHandler._LoadConfigXml(XmlFile);

            SetMemberValue(datas);
            Trader = new BitCoinTrader((Hashtable)datas["Trader"]);
            Ticker = new BitCoinTicker((Hashtable)datas["Ticker"]);
        }