Skip to content

Commit

Permalink
3.0.0rc14
Browse files Browse the repository at this point in the history
  • Loading branch information
DogsTailFarmer committed Mar 9, 2024
1 parent 6e54d39 commit 5a0f6ca
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 11 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 3.0.0rc14 - 2024-03-09
### Update
* Up requirements for exchanges-wrapper==2.0.0
* Refined logging

## 3.0.0rc8 - 2024-03-08
### Fix
* logging for Simulate mode
Expand All @@ -8,8 +13,6 @@
* `WSS`: check and restart

## 3.0.0rc1 - 2024-03-02
### Fix
# TODO * `cancel_order_call()`: not raised asyncio.TimeoutError on timeout
* `on_balance_update_ex()`: don't update direct initial asset values in Reverse cycle
* Partially filled TP in Hold reverse cycle

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ All risks and possible losses associated with use of this strategy lie with you.
Strongly recommended that you test the strategy in the demo mode before using real bidding.

## Important notices
* After update to `2.1.0`, the configuration files `cli_XX_AAABBB.py` for all running trading pairs
should be updated, also update the configuration files `exch_srv_cfg.toml` and `ms_cfg.toml`. Use templates for reference.
* After update to `3.0.0`, the configuration files `cli_XX_AAABBB.py` for all running trading pairs
should be updated. Use templates for reference.

* You cannot run multiple pairs with overlapping currencies on the same account!

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__ = "3.0.0rc12"
__version__ = "3.0.0rc14"
__maintainer__ = "Jerry Fedorenko"
__contact__ = "https://github.com/DogsTailFarmer"

Expand Down
4 changes: 3 additions & 1 deletion martin_binance/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
__version__ = "3.0.0rc12"
__maintainer__ = "Jerry Fedorenko"
__contact__ = 'https://github.com/DogsTailFarmer'

import logging
##################################################################
import sys
import gc
Expand Down Expand Up @@ -455,7 +457,7 @@ def save_strategy_state(self, return_only=False) -> Dict[str, str]:
def restore_strategy_state(self, strategy_state: Dict[str, str] = None, restore=True) -> None:
if strategy_state:
# Restore from file if lose state only
self.message_log("restore_strategy_state from saved state:", log_level=logging.DEBUG)
self.message_log("Restore strategy state from saved state:", log_level=logging.INFO)
self.message_log("\n".join(f"{k}\t{v}" for k, v in strategy_state.items()), log_level=logging.DEBUG)
#
self.command = json.loads(strategy_state.get('command'))
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dynamic = ["version", "description"]
requires-python = ">=3.9"

dependencies = [
"exchanges-wrapper==2.0.0rc1",
"exchanges-wrapper==2.0.0",
"jsonpickle==3.0.2",
"psutil==5.9.6",
"requests==2.31.0",
Expand All @@ -37,7 +37,7 @@ dependencies = [
"pyarrow~=14.0.2",
"shortuuid~=1.0.11",
"numpy~=1.23.4",
"scipy~=1.9.3",
"scipy~=1.12.0",
"toml~=0.10.2",
]

Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
exchanges-wrapper==2.0.0rc1
exchanges-wrapper==2.0.0
jsonpickle==3.0.2
psutil==5.9.6
requests==2.31.0
Expand All @@ -18,5 +18,5 @@ orjson~=3.9.15
pyarrow~=14.0.2
shortuuid~=1.0.11
numpy~=1.23.4
scipy~=1.9.3
toml~=0.10.2
scipy==1.12.0
toml~=0.10.2

0 comments on commit 5a0f6ca

Please sign in to comment.