Skip to content

Commit 3ad7e5d

Browse files
authored
init commit (#176)
1 parent f4f168d commit 3ad7e5d

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

dydx3/modules/private.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ def create_order(
460460
expiration=None,
461461
expiration_epoch_seconds=None,
462462
signature=None,
463+
reduce_only=None
463464
):
464465
'''
465466
Post an order
@@ -529,6 +530,9 @@ def create_order(
529530
:param signature: optional
530531
type signature: str
531532
533+
:param reduce_only: optional
534+
type reduce_only: bool
535+
532536
:returns: Order
533537
534538
:raises: DydxAPIError
@@ -581,6 +585,7 @@ def create_order(
581585
'postOnly': post_only,
582586
'clientId': client_id,
583587
'signature': order_signature,
588+
'reduceOnly': reduce_only,
584589
}
585590

586591
return self._post(

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
setup(
2323
name='dydx-v3-python',
24-
version='1.9.0',
24+
version='1.9.1',
2525
packages=find_packages(),
2626
package_data={
2727
'dydx3': [

0 commit comments

Comments
 (0)