Skip to content

Commit

Permalink
2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
DogsTailFarmer committed Dec 11, 2023
1 parent 8eb5a01 commit 1e73543
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## 2.0.4.post1 - 2023-12-xx
## 2.0.5 - 2023-12-11
### Update
* Refining restoration of grid orders after their execution during the grid shift process
* Up requirements for exchanges-wrapper==1.4.2
* Some minor changes

## 2.0.4 - 2023-12-08
Expand Down
2 changes: 1 addition & 1 deletion martin_binance/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
__author__ = "Jerry Fedorenko"
__copyright__ = "Copyright © 2021 Jerry Fedorenko aka VM"
__license__ = "MIT"
__version__ = "2.0.4.post3"
__version__ = "2.0.5"
__maintainer__ = "Jerry Fedorenko"
__contact__ = "https://github.com/DogsTailFarmer"

Expand Down
5 changes: 3 additions & 2 deletions martin_binance/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
__author__ = "Jerry Fedorenko"
__copyright__ = "Copyright © 2021 Jerry Fedorenko aka VM"
__license__ = "MIT"
__version__ = "2.0.4.post3"
__version__ = "2.0.5"
__maintainer__ = "Jerry Fedorenko"
__contact__ = 'https://github.com/DogsTailFarmer'
##################################################################
Expand Down Expand Up @@ -2688,7 +2688,8 @@ def on_order_update(self, update: OrderUpdate) -> None:
if _order := self.orders_save.get_by_id(update.original_order.id):
self.orders_save.remove(update.original_order.id)
_order['amount'] -= amount_first
self.orders_save.orders_list.append(_order)
if _order['amount'] > 0:
self.orders_save.orders_list.append(_order)
# Increase trade result and if next fill order is grid decrease trade result
self.sum_amount_first += amount_first_fee
self.sum_amount_second += amount_second_fee
Expand Down
2 changes: 1 addition & 1 deletion martin_binance/margin_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
__author__ = "Jerry Fedorenko"
__copyright__ = "Copyright © 2021 Jerry Fedorenko aka VM"
__license__ = "MIT"
__version__ = "2.0.4.post2"
__version__ = "2.0.5"
__maintainer__ = "Jerry Fedorenko"
__contact__ = "https://github.com/DogsTailFarmer"

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dynamic = ["version", "description"]
requires-python = ">=3.8"

dependencies = [
"exchanges-wrapper==1.4.1",
"exchanges-wrapper==1.4.2",
"margin-strategy-sdk==0.0.11",
"jsonpickle==3.0.2",
"psutil==5.9.6",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
exchanges-wrapper==1.4.1
exchanges-wrapper==1.4.2
margin-strategy-sdk==0.0.11
jsonpickle==3.0.2
psutil==5.9.6
Expand Down

0 comments on commit 1e73543

Please sign in to comment.