Example #1
0
 // Helper method for SELL orders (ASYNC)
 public static async Task <ExchangeOrderResult> SellAsync(this IExchangeAPI api, string symbol, decimal price, decimal amount)
 {
     return(await ApiHelper.PlaceOrderAsync(api, symbol, OrderSide.Sell, price, amount));
 }
Example #2
0
 // Helper method for SELL orders
 public static ExchangeOrderResult Sell(this IExchangeAPI api, string symbol, decimal price, decimal amount)
 {
     return(ApiHelper.PlaceOrder(api, symbol, OrderSide.Sell, price, amount));
 }