askmike / bitstamp

Bitstamp REST API wrapper
80 stars 54 forks source link

The order option "daily_order" is missing from limit orders #38

Open tuxitor opened 7 years ago

tuxitor commented 7 years ago

@askmike It is the same issue with both buy and sell In some situations "daily_order" is a better option if an order in the opposite direction is not desireable, IMO

Bitstamp.prototype.sell = function(market, amount, price, limit_price, callback) {
  this._post(market, 'sell', callback, {
    amount: amount,
    price: price,
    limit_price: limit_price
  });
}