public static List <Deposit> BinanceToDeposits(IEnumerable <Binance.Account.Deposit> binanceDesposits)
        {
            var list = new List <Deposit>();

            foreach (var exchangeDeposit in binanceDesposits)
            {
                var deposit = new Deposit
                {
                    Address       = exchangeDeposit.Address,
                    Amount        = Convert.ToDouble(exchangeDeposit.Amount),
                    Currency      = exchangeDeposit.Asset,
                    Time          = exchangeDeposit.Time(),
                    TransactionId = exchangeDeposit.TxId
                };

                list.Add(deposit);
            }

            return(list);
        }
        public static List <Deposit> PoloniexToDeposits(IList <Jojatekok.PoloniexAPI.WalletTools.Deposit> poloDeposits)
        {
            var list = new List <Deposit>();

            foreach (var exchangeDeposit in poloDeposits)
            {
                var deposit = new Deposit
                {
                    Address       = exchangeDeposit.Address,
                    Amount        = Convert.ToDouble(exchangeDeposit.Amount),
                    Confirmations = exchangeDeposit.Confirmations,
                    Currency      = exchangeDeposit.Currency,
                    Time          = exchangeDeposit.Time,
                    TransactionId = exchangeDeposit.TransactionId,
                };

                list.Add(deposit);
            }

            return(list);
        }