Ejemplo n.º 1
0
        public virtual void InitExchange()
        {
            var ex = DbGateway.GetExchangeInfo(GetExchangeName());

            BTCUSDMinValue  = ex.UsdMinValue;
            LTCUSDMinValue  = ex.UsdMinValue;
            BCHUSDMinValue  = ex.UsdMinValue;
            ETHUSDMinValue  = ex.UsdMinValue;
            XRPUSDMinValue  = ex.UsdMinValue;
            DASHUSDMinValue = ex.UsdMinValue;
            IOTAUSDMinValue = ex.UsdMinValue;
            TradingState    = TradingState.Ok;
            TradeFee        = ex.TradeFee;

            _account = new AccountManagement(this, Log);
            _account.UpdateBalances();
        }