FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add quoteOrderQty param to docstrings on market orders · EncodingJerry/python-binance@e508ecb · GitHub

Commit e508ecb

Browse files
committed
Add quoteOrderQty param to docstrings on market orders
1 parent 3a95ee4 commit e508ecb

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎binance/client.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,6 +1066,9 @@ def create_order(self, **params):
10661066
:type timeInForce: str
10671067
:param quantity: required
10681068
:type quantity: decimal
1069+
:param quoteOrderQty: amount the user wants to spend (when buying) or receive (when selling)
1070+
of the quote asset, applicable to MARKET orders
1071+
:type quoteOrderQty: decimal
10691072
:param price: required
10701073
:type price: str
10711074
:param newClientOrderId: A unique id for the order. Automatically generated if not sent.
@@ -1279,6 +1282,9 @@ def order_market(self, **params):
12791282
:type side: str
12801283
:param quantity: required
12811284
:type quantity: decimal
1285+
:param quoteOrderQty: amount the user wants to spend (when buying) or receive (when selling)
1286+
of the quote asset
1287+
:type quoteOrderQty: decimal
12821288
:param newClientOrderId: A unique id for the order. Automatically generated if not sent.
12831289
:type newClientOrderId: str
12841290
:param newOrderRespType: Set the response JSON. ACK, RESULT, or FULL; default: RESULT.
@@ -1305,6 +1311,8 @@ def order_market_buy(self, **params):
13051311
:type symbol: str
13061312
:param quantity: required
13071313
:type quantity: decimal
1314+
:param quoteOrderQty: the amount the user wants to spend of the quote asset
1315+
:type quoteOrderQty: decimal
13081316
:param newClientOrderId: A unique id for the order. Automatically generated if not sent.
13091317
:type newClientOrderId: str
13101318
:param newOrderRespType: Set the response JSON. ACK, RESULT, or FULL; default: RESULT.
@@ -1331,6 +1339,8 @@ def order_market_sell(self, **params):
13311339
:type symbol: str
13321340
:param quantity: required
13331341
:type quantity: decimal
1342+
:param quoteOrderQty: the amount the user wants to receive of the quote asset
1343+
:type quoteOrderQty: decimal
13341344
:param newClientOrderId: A unique id for the order. Automatically generated if not sent.
13351345
:type newClientOrderId: str
13361346
:param newOrderRespType: Set the response JSON. ACK, RESULT, or FULL; default: RESULT.

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL