Skip to content

Commit

Permalink
init commit (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyding committed Nov 15, 2022
1 parent f4f168d commit 3ad7e5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions dydx3/modules/private.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ def create_order(
expiration=None,
expiration_epoch_seconds=None,
signature=None,
reduce_only=None
):
'''
Post an order
Expand Down Expand Up @@ -529,6 +530,9 @@ def create_order(
:param signature: optional
type signature: str
:param reduce_only: optional
type reduce_only: bool
:returns: Order
:raises: DydxAPIError
Expand Down Expand Up @@ -581,6 +585,7 @@ def create_order(
'postOnly': post_only,
'clientId': client_id,
'signature': order_signature,
'reduceOnly': reduce_only,
}

return self._post(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

setup(
name='dydx-v3-python',
version='1.9.0',
version='1.9.1',
packages=find_packages(),
package_data={
'dydx3': [
Expand Down

0 comments on commit 3ad7e5d

Please sign in to comment.