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

Method limitOrder

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

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

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 1

orderMethod · 0.95

Tested by

no test coverage detected