diff --git a/build_helpers/TA_Lib-0.4.21-cp37-cp37m-win_amd64.whl b/build_helpers/TA_Lib-0.4.21-cp37-cp37m-win_amd64.whl deleted file mode 100644 index bccfd090f..000000000 Binary files a/build_helpers/TA_Lib-0.4.21-cp37-cp37m-win_amd64.whl and /dev/null differ diff --git a/build_helpers/TA_Lib-0.4.21-cp38-cp38-win_amd64.whl b/build_helpers/TA_Lib-0.4.21-cp38-cp38-win_amd64.whl deleted file mode 100644 index 67b41bf99..000000000 Binary files a/build_helpers/TA_Lib-0.4.21-cp38-cp38-win_amd64.whl and /dev/null differ diff --git a/build_helpers/TA_Lib-0.4.21-cp39-cp39-win_amd64.whl b/build_helpers/TA_Lib-0.4.21-cp39-cp39-win_amd64.whl deleted file mode 100644 index da9d74558..000000000 Binary files a/build_helpers/TA_Lib-0.4.21-cp39-cp39-win_amd64.whl and /dev/null differ diff --git a/build_helpers/TA_Lib-0.4.22-cp37-cp37m-win_amd64.whl b/build_helpers/TA_Lib-0.4.22-cp37-cp37m-win_amd64.whl new file mode 100644 index 000000000..b8dd7f396 Binary files /dev/null and b/build_helpers/TA_Lib-0.4.22-cp37-cp37m-win_amd64.whl differ diff --git a/build_helpers/TA_Lib-0.4.22-cp38-cp38-win_amd64.whl b/build_helpers/TA_Lib-0.4.22-cp38-cp38-win_amd64.whl new file mode 100644 index 000000000..0ac516db3 Binary files /dev/null and b/build_helpers/TA_Lib-0.4.22-cp38-cp38-win_amd64.whl differ diff --git a/build_helpers/TA_Lib-0.4.22-cp39-cp39-win_amd64.whl b/build_helpers/TA_Lib-0.4.22-cp39-cp39-win_amd64.whl new file mode 100644 index 000000000..c69b68e16 Binary files /dev/null and b/build_helpers/TA_Lib-0.4.22-cp39-cp39-win_amd64.whl differ diff --git a/build_helpers/install_windows.ps1 b/build_helpers/install_windows.ps1 index ec38ea212..cda87e98d 100644 --- a/build_helpers/install_windows.ps1 +++ b/build_helpers/install_windows.ps1 @@ -6,13 +6,13 @@ python -m pip install --upgrade pip $pyv = python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')" if ($pyv -eq '3.7') { - pip install build_helpers\TA_Lib-0.4.21-cp37-cp37m-win_amd64.whl + pip install build_helpers\TA_Lib-0.4.22-cp37-cp37m-win_amd64.whl } if ($pyv -eq '3.8') { - pip install build_helpers\TA_Lib-0.4.21-cp38-cp38-win_amd64.whl + pip install build_helpers\TA_Lib-0.4.22-cp38-cp38-win_amd64.whl } if ($pyv -eq '3.9') { - pip install build_helpers\TA_Lib-0.4.21-cp39-cp39-win_amd64.whl + pip install build_helpers\TA_Lib-0.4.22-cp39-cp39-win_amd64.whl } pip install -r requirements-dev.txt diff --git a/docs/windows_installation.md b/docs/windows_installation.md index 2db0ae913..965dde485 100644 --- a/docs/windows_installation.md +++ b/docs/windows_installation.md @@ -23,9 +23,9 @@ git clone https://github.com/freqtrade/freqtrade.git Install ta-lib according to the [ta-lib documentation](https://github.com/mrjbq7/ta-lib#windows). -As compiling from source on windows has heavy dependencies (requires a partial visual studio installation), there is also a repository of unofficial pre-compiled windows Wheels [here](https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib), which need to be downloaded and installed using `pip install TA_Lib-0.4.21-cp38-cp38-win_amd64.whl` (make sure to use the version matching your python version). +As compiling from source on windows has heavy dependencies (requires a partial visual studio installation), there is also a repository of unofficial pre-compiled windows Wheels [here](https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib), which need to be downloaded and installed using `pip install TA_Lib‑0.4.22‑cp38‑cp38‑win_amd64.whl` (make sure to use the version matching your python version). -Freqtrade provides these dependencies for the latest 2 Python versions (3.7 and 3.8) and for 64bit Windows. +Freqtrade provides these dependencies for the latest 3 Python versions (3.7, 3.8 and 3.9) and for 64bit Windows. Other versions must be downloaded from the above link. ``` powershell diff --git a/freqtrade/wallets.py b/freqtrade/wallets.py index d10847099..98a39ea2d 100644 --- a/freqtrade/wallets.py +++ b/freqtrade/wallets.py @@ -260,8 +260,8 @@ class Wallets: if self._log: logger.info( f"Adjusted stake amount for pair {pair} is more than 30% bigger than " - f"the desired stake ({stake_amount} * 1.3 > {max_stake_amount}), " - f"ignoring trade." + f"the desired stake amount of ({stake_amount:.8f} * 1.3 = " + f"{stake_amount * 1.3:.8f}) < {min_stake_amount}), ignoring trade." ) return 0 stake_amount = min_stake_amount diff --git a/requirements.txt b/requirements.txt index 89abe2a14..e0b7a9ee7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ numpy==1.21.4 -pandas==1.3.4 +pandas==1.3.5 pandas-ta==0.3.14b -ccxt==1.63.55 +ccxt==1.63.65 # Pin cryptography for now due to rust build errors with piwheels cryptography==36.0.0 aiohttp==3.8.1 @@ -13,7 +13,7 @@ cachetools==4.2.2 requests==2.26.0 urllib3==1.26.7 jsonschema==4.2.1 -TA-Lib==0.4.21 +TA-Lib==0.4.22 technical==1.3.0 tabulate==0.8.9 pycoingecko==2.2.0 @@ -31,7 +31,7 @@ python-rapidjson==1.5 sdnotify==0.3.2 # API Server -fastapi==0.70.0 +fastapi==0.70.1 uvicorn==0.16.0 pyjwt==2.3.0 aiofiles==0.8.0