* Creates a buy order * @see https://developers.binance.com/docs/margin_trading/trade/Margin-Account-New-Order * @param {string} symbol - the symbol to buy * @param {numeric} quantity - the quantity required * @param {numeric} price - the price to pay for each unit * @param
(symbol: string, quantity: number, price: number, params: Dict = {}, isIsolated = 'FALSE')
| 5372 | * @return {undefined} |
| 5373 | */ |
| 5374 | async mgBuy(symbol: string, quantity: number, price: number, params: Dict = {}, isIsolated = 'FALSE') { |
| 5375 | return await this.marginOrder('LIMIT', 'BUY', symbol, quantity, price, { ...params, isIsolated }); |
| 5376 | } |
| 5377 | |
| 5378 | /** |
| 5379 | * Creates a sell order |
no test coverage detected