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

Method mgMarketSell

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

* Creates a market sell order * @see https://developers.binance.com/docs/margin_trading/trade/Margin-Account-New-Order * @param {string} symbol - the symbol to sell * @param {numeric} quantity - the quantity required * @param {object} flags - additional sell order flags * @p

(symbol: string, quantity: number, params: Dict = {}, isIsolated = 'FALSE')

Source from the content-addressed store, hash-verified

5412 * @return {undefined}
5413 */
5414 async mgMarketSell(symbol: string, quantity: number, params: Dict = {}, isIsolated = 'FALSE') {
5415 return await this.marginOrder('MARKET', 'SELL', symbol, quantity, 0, { ...params, isIsolated });
5416 }
5417
5418 /**
5419 * Cancels an order

Callers

nothing calls this directly

Calls 1

marginOrderMethod · 0.95

Tested by

no test coverage detected