MCPcopy Create free account
hub / github.com/ccxt/node-binance-api / sell

Method sell

src/node-binance-api.ts:977–979  ·  view source on GitHub ↗

* 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 = {})

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

orderMethod · 0.95

Tested by

no test coverage detected