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

Method mgSell

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

* Creates a 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 {numeric} price - the price to sell each unit for * @par

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

Source from the content-addressed store, hash-verified

5386 * @return {undefined}
5387 */
5388 async mgSell(symbol: string, quantity: number, price: number, flags: Dict = {}, isIsolated = 'FALSE') {
5389 return await this.marginOrder('LIMIT', 'SELL', symbol, quantity, price, { ...flags, isIsolated });
5390 }
5391
5392 /**
5393 * Creates a market buy order

Callers

nothing calls this directly

Calls 1

marginOrderMethod · 0.95

Tested by

no test coverage detected