private async Task <BitmexApiResult <OrderDto> > SellInternal(string symbol, int amount, decimal price) { var posOrderParams = OrderPOSTRequestParams.CreateSimpleLimit(symbol, amount, price, OrderSide.Sell); return(await _client.Execute(BitmexApiUrls.Order.PostOrder, posOrderParams)); }
async Task <OrderDto> Sell(string symbol, int quantity, decimal price) { var cmd = OrderPOSTRequestParams.CreateSimpleLimit(symbol, quantity, price, OrderSide.Sell); return(await _bitmexSvc.Execute(BitmexApiUrls.Order.PostOrder, cmd)); }