From a0e27d82aadf784ab36fdf9b027a1b2aa12e0698 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 May 2022 03:01:00 +0000 Subject: [PATCH 01/13] Bump types-python-dateutil from 2.8.12 to 2.8.14 Bumps [types-python-dateutil](https://github.com/python/typeshed) from 2.8.12 to 2.8.14. - [Release notes](https://github.com/python/typeshed/releases) - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-python-dateutil dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index c4fe366a5..35f4ba47c 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -26,4 +26,4 @@ types-cachetools==5.0.1 types-filelock==3.2.5 types-requests==2.27.20 types-tabulate==0.8.7 -types-python-dateutil==2.8.12 +types-python-dateutil==2.8.14 From 3d730661ee9ccfae9d8670b09eaf11b9403b205b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 May 2022 03:01:11 +0000 Subject: [PATCH 02/13] Bump mkdocs-material from 8.2.10 to 8.2.12 Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 8.2.10 to 8.2.12. - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/8.2.10...8.2.12) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- docs/requirements-docs.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt index 97be17243..cddde4789 100644 --- a/docs/requirements-docs.txt +++ b/docs/requirements-docs.txt @@ -1,5 +1,5 @@ mkdocs==1.3.0 -mkdocs-material==8.2.10 +mkdocs-material==8.2.12 mdx_truly_sane_lists==1.2 pymdown-extensions==9.4 jinja2==3.1.1 From 4990534bf41988dde6b1d9e5568764ad12c7a30b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 May 2022 03:01:22 +0000 Subject: [PATCH 03/13] Bump mypy from 0.942 to 0.950 Bumps [mypy](https://github.com/python/mypy) from 0.942 to 0.950. - [Release notes](https://github.com/python/mypy/releases) - [Commits](https://github.com/python/mypy/compare/v0.942...v0.950) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index c4fe366a5..d793d3239 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -7,7 +7,7 @@ coveralls==3.3.1 flake8==4.0.1 flake8-tidy-imports==4.6.0 -mypy==0.942 +mypy==0.950 pre-commit==2.18.1 pytest==7.1.2 pytest-asyncio==0.18.3 From 73aafb886b15d16da222665bd5088ad028ec0e95 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 May 2022 03:01:33 +0000 Subject: [PATCH 04/13] Bump ccxt from 1.80.61 to 1.81.16 Bumps [ccxt](https://github.com/ccxt/ccxt) from 1.80.61 to 1.81.16. - [Release notes](https://github.com/ccxt/ccxt/releases) - [Changelog](https://github.com/ccxt/ccxt/blob/master/exchanges.cfg) - [Commits](https://github.com/ccxt/ccxt/compare/1.80.61...1.81.16) --- updated-dependencies: - dependency-name: ccxt dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ab8329979..193be1e85 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ numpy==1.22.3 pandas==1.4.2 pandas-ta==0.3.14b -ccxt==1.80.61 +ccxt==1.81.16 # Pin cryptography for now due to rust build errors with piwheels cryptography==36.0.2 aiohttp==3.8.1 From 093bea4230e279c8596bc89cbbd9a74b25708d72 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 May 2022 03:01:34 +0000 Subject: [PATCH 05/13] Bump types-requests from 2.27.20 to 2.27.25 Bumps [types-requests](https://github.com/python/typeshed) from 2.27.20 to 2.27.25. - [Release notes](https://github.com/python/typeshed/releases) - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-requests dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index c4fe366a5..7f5ba3370 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -24,6 +24,6 @@ nbconvert==6.5.0 # mypy types types-cachetools==5.0.1 types-filelock==3.2.5 -types-requests==2.27.20 +types-requests==2.27.25 types-tabulate==0.8.7 types-python-dateutil==2.8.12 From 9de0652b2cbad776466ebb521a0122720bc692d9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 May 2022 04:31:34 +0000 Subject: [PATCH 06/13] Bump jinja2 from 3.1.1 to 3.1.2 Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.1 to 3.1.2. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.1...3.1.2) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- docs/requirements-docs.txt | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt index cddde4789..c5a4b64b3 100644 --- a/docs/requirements-docs.txt +++ b/docs/requirements-docs.txt @@ -2,4 +2,4 @@ mkdocs==1.3.0 mkdocs-material==8.2.12 mdx_truly_sane_lists==1.2 pymdown-extensions==9.4 -jinja2==3.1.1 +jinja2==3.1.2 diff --git a/requirements.txt b/requirements.txt index 193be1e85..472d207f0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,7 +17,7 @@ TA-Lib==0.4.24 technical==1.3.0 tabulate==0.8.9 pycoingecko==2.2.0 -jinja2==3.1.1 +jinja2==3.1.2 tables==3.7.0 blosc==1.10.6 joblib==1.1.0 From ba28fa6c3cec0ffa6f2bc4842ff8ec475b3e75a9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 May 2022 04:31:35 +0000 Subject: [PATCH 07/13] Bump cryptography from 36.0.2 to 37.0.1 Bumps [cryptography](https://github.com/pyca/cryptography) from 36.0.2 to 37.0.1. - [Release notes](https://github.com/pyca/cryptography/releases) - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pyca/cryptography/compare/36.0.2...37.0.1) --- updated-dependencies: - dependency-name: cryptography dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 193be1e85..7162dca38 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ pandas-ta==0.3.14b ccxt==1.81.16 # Pin cryptography for now due to rust build errors with piwheels -cryptography==36.0.2 +cryptography==37.0.1 aiohttp==3.8.1 SQLAlchemy==1.4.35 python-telegram-bot==13.11 From 49c1b310c2d35bca329eb51021f8de2d446e3f80 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 2 May 2022 06:44:30 +0200 Subject: [PATCH 08/13] Bump pre-commit types --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2170b704a..150a665b5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: additional_dependencies: - types-cachetools==5.0.1 - types-filelock==3.2.5 - - types-requests==2.27.20 + - types-requests==2.27.25 - types-tabulate==0.8.7 - types-python-dateutil==2.8.12 # stages: [push] From 71ae92274d849c9f57722018460d0cdae4c54c40 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 2 May 2022 06:45:42 +0200 Subject: [PATCH 09/13] Bump pre-commit dependency --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2170b704a..79ed17c7c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: - types-filelock==3.2.5 - types-requests==2.27.20 - types-tabulate==0.8.7 - - types-python-dateutil==2.8.12 + - types-python-dateutil==2.8.14 # stages: [push] - repo: https://github.com/pycqa/isort From 67dd9be95a16be0a77d33a7b768880208534e646 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 May 2022 05:00:17 +0000 Subject: [PATCH 10/13] Bump sqlalchemy from 1.4.35 to 1.4.36 Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.4.35 to 1.4.36. - [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases) - [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst) - [Commits](https://github.com/sqlalchemy/sqlalchemy/commits) --- updated-dependencies: - dependency-name: sqlalchemy dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7162dca38..6972606aa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ ccxt==1.81.16 # Pin cryptography for now due to rust build errors with piwheels cryptography==37.0.1 aiohttp==3.8.1 -SQLAlchemy==1.4.35 +SQLAlchemy==1.4.36 python-telegram-bot==13.11 arrow==1.2.2 cachetools==4.2.2 From 24ce90ba9b36697da7d03c755add3a2a0ebed980 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 May 2022 06:00:02 +0000 Subject: [PATCH 11/13] Bump types-tabulate from 0.8.7 to 0.8.8 Bumps [types-tabulate](https://github.com/python/typeshed) from 0.8.7 to 0.8.8. - [Release notes](https://github.com/python/typeshed/releases) - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-tabulate dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index c2e630c7e..151200982 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -25,5 +25,5 @@ nbconvert==6.5.0 types-cachetools==5.0.1 types-filelock==3.2.5 types-requests==2.27.25 -types-tabulate==0.8.7 +types-tabulate==0.8.8 types-python-dateutil==2.8.14 From 38dffe1ed675f6b4844704304ab716e82b370072 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 2 May 2022 08:11:05 +0200 Subject: [PATCH 12/13] types-tabulate - pre-commit update --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 335b11f12..1185028b9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: - types-cachetools==5.0.1 - types-filelock==3.2.5 - types-requests==2.27.25 - - types-tabulate==0.8.7 + - types-tabulate==0.8.8 - types-python-dateutil==2.8.14 # stages: [push] From 2a6efab8a2c0d63a28cde675da0cac7ab1c69652 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 2 May 2022 07:16:10 +0200 Subject: [PATCH 13/13] Don't use deprecated abstractclassmethod decorator --- freqtrade/data/history/idatahandler.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/freqtrade/data/history/idatahandler.py b/freqtrade/data/history/idatahandler.py index 4a5eb6bc2..2e6b070ca 100644 --- a/freqtrade/data/history/idatahandler.py +++ b/freqtrade/data/history/idatahandler.py @@ -5,7 +5,7 @@ It's subclasses handle and storing data from disk. """ import logging import re -from abc import ABC, abstractclassmethod, abstractmethod +from abc import ABC, abstractmethod from copy import deepcopy from datetime import datetime, timezone from pathlib import Path @@ -38,7 +38,8 @@ class IDataHandler(ABC): """ raise NotImplementedError() - @abstractclassmethod + @classmethod + @abstractmethod def ohlcv_get_available_data( cls, datadir: Path, trading_mode: TradingMode) -> ListPairsWithTimeframes: """ @@ -48,7 +49,8 @@ class IDataHandler(ABC): :return: List of Tuples of (pair, timeframe) """ - @abstractclassmethod + @classmethod + @abstractmethod def ohlcv_get_pairs(cls, datadir: Path, timeframe: str, candle_type: CandleType) -> List[str]: """ Returns a list of all pairs with ohlcv data available in this datadir @@ -118,7 +120,8 @@ class IDataHandler(ABC): :param candle_type: Any of the enum CandleType (must match trading mode!) """ - @abstractclassmethod + @classmethod + @abstractmethod def trades_get_pairs(cls, datadir: Path) -> List[str]: """ Returns a list of all pairs for which trade data is available in this