Skip to content

Commit

Permalink
2.0.0.post3
Browse files Browse the repository at this point in the history
  • Loading branch information
DogsTailFarmer committed Nov 25, 2023
1 parent 741a831 commit 830c25c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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.0.post2"
__version__ = "2.0.0.post3"
__maintainer__ = "Jerry Fedorenko"
__contact__ = "https://github.com/DogsTailFarmer"

Expand Down
6 changes: 3 additions & 3 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.0.post2"
__version__ = "2.0.0.post3"
__maintainer__ = "Jerry Fedorenko"
__contact__ = 'https://github.com/DogsTailFarmer'
##################################################################
Expand Down Expand Up @@ -155,7 +155,7 @@ def dx(_fn, _x, _delta, **_kwargs):
if tries > max_tries * 2:
break
_err.append(err)
return f2d(0), "\n".join(f"delta: {k}\tresult: {v}" for k, v in solves)
return O_DEC, "\n".join(f"delta: {k}\tresult: {v}" for k, v in solves)


class Orders:
Expand Down Expand Up @@ -2925,7 +2925,7 @@ def on_cancel_order_success(self, order_id: int, cancel_all=False) -> None:
self.grid_remove = None
self.order_q_placed = False
self.place_profit_order()
elif self.grid_remove and cancel_all:
elif self.grid_remove:
self.cancel_grid(cancel_all=cancel_all)
elif order_id == self.cancel_order_id:
self.message_log(f"Processing canceled TP order {order_id}")
Expand Down

0 comments on commit 830c25c

Please sign in to comment.