Skip to content

Commit

Permalink
fixing issue of modify order
Browse files Browse the repository at this point in the history
  • Loading branch information
2pd committed Jul 3, 2023
1 parent 9ca4eea commit 745f845
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
### Changed
- Change `User-Agent`

### Updated
- Fixed `modify_order` (`PUT /fapi/v1/order`) Endpoint by correctly adding the `price` parameter

## 4.0.0rc2 - 2023-05-25

### Added
Expand Down
2 changes: 2 additions & 0 deletions binance/um_futures/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ def modify_order(
"side": side,
"quantity": quantity,
"orderId": orderId,
"price": price,
**kwargs,
}
else:
Expand All @@ -203,6 +204,7 @@ def modify_order(
"side": side,
"quantity": quantity,
"origClientOrderId": origClientOrderId,
"price": price,
**kwargs,
}

Expand Down

0 comments on commit 745f845

Please sign in to comment.