* Creates a spot limit order * @see https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-trade * @see https://developers.binance.com/docs/binance-spot-api-docs/rest-api/public-api-endpoints#test-new-order-trade * @see https://developers.binance.com/docs/bina
(side: OrderSide, symbol: string, quantity: number, price: number, params: Dict = {})
| 1005 | * @return {promise or undefined} - omitting the callback returns a promise |
| 1006 | */ |
| 1007 | async limitOrder(side: OrderSide, symbol: string, quantity: number, price: number, params: Dict = {}) { |
| 1008 | return await this.order('LIMIT', side, symbol, quantity, price, params); |
| 1009 | } |
| 1010 | |
| 1011 | /** |
| 1012 | * Creates a market buy order using the cost instead of the quantity (eg: 100usd instead of 0.01btc) |