Skip to content

Commit

Permalink
1.3.7b2
Browse files Browse the repository at this point in the history
  • Loading branch information
DogsTailFarmer committed Sep 29, 2023
1 parent 65c9e04 commit 135f755
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion martin_binance/__init__.py
100644 → 100755
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__ = "1.3.7b1"
__version__ = "1.3.7b2"
__maintainer__ = "Jerry Fedorenko"
__contact__ = "https://github.com/DogsTailFarmer"

Expand Down
Empty file modified martin_binance/executor.py
100644 → 100755
Empty file.
7 changes: 4 additions & 3 deletions martin_binance/margin_wrapper.py
100644 → 100755
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__ = "1.3.7b1"
__version__ = "1.3.7b2"
__maintainer__ = "Jerry Fedorenko"
__contact__ = "https://github.com/DogsTailFarmer"

Expand Down Expand Up @@ -1312,7 +1312,7 @@ async def create_limit_order(_id: int, buy: bool, amount: str, price: str) -> No
cls.orders[order.id] = order
elif ms.SAVE_TRADE_HISTORY:
row = ["TRADE_BY_MARKET",
result["transactTime"],
int(time.time() * 1000),
result["side"],
result["orderId"],
result["clientOrderId"],
Expand Down Expand Up @@ -1381,7 +1381,8 @@ async def cancel_order_call(_id: int, cancel_all: bool):
elif ms.MODE == 'S':
await on_funds_update()
else:
cls.strategy.on_cancel_order_error_string(_id, f"Cancel order warning, result: {result}")
await fetch_order(_id, _filled_update_call=True)
cls.strategy.on_cancel_order_error_string(_id, "Warning, not result getting")


async def cancel_order_timeout(_id):
Expand Down

0 comments on commit 135f755

Please sign in to comment.