Beispiel #1
0
 public string GetDepositAddress(AccountInfo account, string symbol)
 {
     return(Exchange.CheckCreateDeposit(account, symbol));
 }
Beispiel #2
0
 public TradingResult Buy(AccountInfo account, double lowestAsk, double amount)
 {
     return(Exchange.Buy(account, this, lowestAsk, amount));
 }
 public bool UpdateAccountTrades(AccountInfo account)
 {
     return(UpdateAccountTrades(account, null));
 }
Beispiel #4
0
 public bool UpdateBalance(AccountInfo account, string symbol)
 {
     return(Exchange.GetBalance(account, symbol));
 }
 public abstract bool UpdateOpenedOrders(AccountInfo account, Ticker ticker);
 public abstract bool UpdateAccountTrades(AccountInfo account, Ticker ticker);
 public abstract TradingResult Sell(AccountInfo account, Ticker ticker, double rate, double amount);
Beispiel #8
0
 public TradeInfoItem(AccountInfo account, Ticker ticker)
 {
     Account = account;
     Ticker  = ticker;
 }
 public abstract string CreateDeposit(AccountInfo account, string currency);
 public abstract bool GetDeposites(AccountInfo account);
 public abstract bool GetBalance(AccountInfo info, string currency);
 public abstract bool UpdateBalances(AccountInfo info);
 public bool UpdateOpenedOrders(AccountInfo account)
 {
     return(UpdateOpenedOrders(account, null));
 }
Beispiel #14
0
 public TradingResult Sell(AccountInfo account, double highestBid, double amount)
 {
     return(Exchange.Sell(account, this, highestBid, amount));
 }
 public abstract bool Cancel(AccountInfo account, string orderId);
Beispiel #16
0
 public bool Withdraw(AccountInfo account, string currency, string address, string paymentId, double amount)
 {
     return(Exchange.Withdraw(account, currency, address, paymentId, amount));
 }
 public abstract bool Withdraw(AccountInfo account, string currency, string adress, string paymentId, double amount);
 public void Edit(AccountInfo account)
 {
     EditedAccount = account;
     AddNew();
 }
 public abstract void OnAccountRemoved(AccountInfo info);