* Creates a sell order * @param {string} symbol - the symbol to sell * @param {numeric} quantity - the quantity required * @param {numeric} price - the price to pay for each unit * @param {object} flags - additional buy order flags * @param {function} callback - the callback function * @return {prom
(symbol: string, quantity: number, price: number, flags = {})
| 975 | * @return {promise or undefined} - omitting the callback returns a promise |
| 976 | */ |
| 977 | async sell(symbol: string, quantity: number, price: number, flags = {}) { |
| 978 | return await this.order('LIMIT', 'SELL', symbol, quantity, price, flags); |
| 979 | } |
| 980 | |
| 981 | /** |
| 982 | * Creates a market buy order |