Skip to content

Commit ae0fb20

Browse files
authored
Merge pull request #24 from ebirito/patch-1
Update AccountMethods.md
2 parents f2bdde4 + bc208e7 commit ae0fb20

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/AccountMethods.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@ Post new iceberg order
2020
### Method Signature:
2121

2222
```c#
23-
public async Task<NewOrder> PostNewOrder(string symbol, decimal quantity, decimal price, OrderType orderType, OrderSide side, TimeInForce timeInForce = TimeInForce.GTC, long recvWindow = 6000000)
23+
public async Task<NewOrder> PostNewOrder(string symbol, decimal quantity, decimal price, OrderSide side, OrderType orderType = OrderType.LIMIT, TimeInForce timeInForce = TimeInForce.GTC, decimal icebergQty = 0m, long recvWindow = 5000)
2424
```
2525

2626
## Post test order
2727
Test new order creation and signature/recvWindow long. Creates and validates a new order but does not send it into the matching engine.
2828
### Example:
2929

3030
```c#
31-
var testOrder = binanceClient.PostNewOrderTest("ethbtc", 1m, 0.1m, OrderType.LIMIT, OrderSide.BUY).Result;
31+
var testOrder = binanceClient.PostNewOrderTest("ethbtc", 1m, 0.1m, OrderSide.BUY, OrderType.LIMIT).Result;
3232
```
3333
### Method Signature:
3434

3535
```c#
36-
public async Task<dynamic> PostNewOrderTest(string symbol, decimal quantity, decimal price, OrderType orderType, OrderSide side, TimeInForce timeInForce = TimeInForce.GTC, long recvWindow = 6000000)
36+
public async Task<dynamic> PostNewOrderTest(string symbol, decimal quantity, decimal price, OrderSide side, OrderType orderType = OrderType.LIMIT, TimeInForce timeInForce = TimeInForce.GTC, decimal icebergQty = 0m, long recvWindow = 5000)
3737
```
3838

3939
## Get order

0 commit comments

Comments
 (0)