We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9525a63 commit 89a1a46Copy full SHA for 89a1a46
README.md
@@ -300,10 +300,10 @@ Creates a new order.
300
301
```js
302
console.log(await client.order({
303
- symbol: 'ETHBTC',
+ symbol: 'XLMETH',
304
side: 'BUY',
305
- quantity: 1,
306
- price: 1,
+ quantity: 100,
+ price: 0.0002,
307
}))
308
```
309
@@ -324,6 +324,19 @@ console.log(await client.order({
324
<summary>Output</summary>
325
326
327
+{
328
329
+ orderId: 1740797,
330
+ clientOrderId: '1XZTVBTGS4K1e',
331
+ transactTime: 1514418413947,
332
+ price: '0.00020000',
333
+ origQty: '100.00000000',
334
+ executedQty: '0.00000000',
335
+ status: 'NEW',
336
+ timeInForce: 'GTC',
337
+ type: 'LIMIT',
338
+ side: 'BUY'
339
+}
340
341
342
</details>
0 commit comments