From 607190cd385ba183061c922f82bb1c39e0478117 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Tue, 12 Feb 2019 13:31:08 +0100 Subject: [PATCH 1/7] Update ccxt from 1.18.225 to 1.18.230 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 164e4dd7c..0621c5b04 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -ccxt==1.18.225 +ccxt==1.18.230 SQLAlchemy==1.2.17 python-telegram-bot==11.1.0 arrow==0.13.0 From 8fc8c985d8676e6aa330d437fc483a573240e4cf Mon Sep 17 00:00:00 2001 From: hroff-1902 <47309513+hroff-1902@users.noreply.github.com> Date: Wed, 13 Feb 2019 12:38:44 +0300 Subject: [PATCH 2/7] logs: cosmetic changes "30 seconds" was errorneously hardcoded in the text of the log message, while actually it's RETRY_TIMEOUT which may differ --- freqtrade/freqtradebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index 5413c57f9..9c211608f 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -191,7 +191,7 @@ class FreqtradeBot(object): Trade.session.flush() except TemporaryError as error: - logger.warning('%s, retrying in 30 seconds...', error) + logger.warning(f"Error: {error}, retrying in {constants.RETRY_TIMEOUT} seconds...") time.sleep(constants.RETRY_TIMEOUT) except OperationalException: tb = traceback.format_exc() From 8e7e6700030214338e4b826a16100f43583f7ab3 Mon Sep 17 00:00:00 2001 From: hroff-1902 <47309513+hroff-1902@users.noreply.github.com> Date: Wed, 13 Feb 2019 12:42:39 +0300 Subject: [PATCH 3/7] Orthography in the log message --- freqtrade/strategy/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/strategy/interface.py b/freqtrade/strategy/interface.py index bf05e1902..1d6147357 100644 --- a/freqtrade/strategy/interface.py +++ b/freqtrade/strategy/interface.py @@ -172,7 +172,7 @@ class IStrategy(ABC): dataframe = self.advise_sell(dataframe, metadata) self._last_candle_seen_per_pair[pair] = dataframe.iloc[-1]['date'] else: - logger.debug("Skippinig TA Analysis for already analyzed candle") + logger.debug("Skipping TA Analysis for already analyzed candle") dataframe['buy'] = 0 dataframe['sell'] = 0 From b87e15774b58f0206be1bca4ed6a902af73af61c Mon Sep 17 00:00:00 2001 From: hroff-1902 <47309513+hroff-1902@users.noreply.github.com> Date: Wed, 13 Feb 2019 13:02:57 +0300 Subject: [PATCH 4/7] test adjusted --- freqtrade/tests/strategy/test_interface.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/freqtrade/tests/strategy/test_interface.py b/freqtrade/tests/strategy/test_interface.py index f2e8c577f..d6ef0c8e7 100644 --- a/freqtrade/tests/strategy/test_interface.py +++ b/freqtrade/tests/strategy/test_interface.py @@ -204,7 +204,7 @@ def test_analyze_ticker_default(ticker_history, mocker, caplog) -> None: assert buy_mock.call_count == 1 assert log_has('TA Analysis Launched', caplog.record_tuples) - assert not log_has('Skippinig TA Analysis for already analyzed candle', + assert not log_has('Skipping TA Analysis for already analyzed candle', caplog.record_tuples) caplog.clear() @@ -214,7 +214,7 @@ def test_analyze_ticker_default(ticker_history, mocker, caplog) -> None: assert buy_mock.call_count == 2 assert buy_mock.call_count == 2 assert log_has('TA Analysis Launched', caplog.record_tuples) - assert not log_has('Skippinig TA Analysis for already analyzed candle', + assert not log_has('Skipping TA Analysis for already analyzed candle', caplog.record_tuples) @@ -242,7 +242,7 @@ def test_analyze_ticker_skip_analyze(ticker_history, mocker, caplog) -> None: assert buy_mock.call_count == 1 assert buy_mock.call_count == 1 assert log_has('TA Analysis Launched', caplog.record_tuples) - assert not log_has('Skippinig TA Analysis for already analyzed candle', + assert not log_has('Skipping TA Analysis for already analyzed candle', caplog.record_tuples) caplog.clear() @@ -257,5 +257,5 @@ def test_analyze_ticker_skip_analyze(ticker_history, mocker, caplog) -> None: assert ret['buy'].sum() == 0 assert ret['sell'].sum() == 0 assert not log_has('TA Analysis Launched', caplog.record_tuples) - assert log_has('Skippinig TA Analysis for already analyzed candle', + assert log_has('Skipping TA Analysis for already analyzed candle', caplog.record_tuples) From aaa85677085f99d2c9301a250f388d295674fafc Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Wed, 13 Feb 2019 13:32:06 +0100 Subject: [PATCH 5/7] Update ccxt from 1.18.230 to 1.18.234 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 0621c5b04..1dd8290c2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -ccxt==1.18.230 +ccxt==1.18.234 SQLAlchemy==1.2.17 python-telegram-bot==11.1.0 arrow==0.13.0 From c17eb89e8429b6a395c5db51addec088169686a0 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Wed, 13 Feb 2019 13:32:08 +0100 Subject: [PATCH 6/7] Update arrow from 0.13.0 to 0.13.1 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 1dd8290c2..9d3bc6d0d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ ccxt==1.18.234 SQLAlchemy==1.2.17 python-telegram-bot==11.1.0 -arrow==0.13.0 +arrow==0.13.1 cachetools==3.1.0 requests==2.21.0 urllib3==1.24.1 From aee7b2c29d094b03fccd55249639768664938e2f Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Wed, 13 Feb 2019 13:32:10 +0100 Subject: [PATCH 7/7] Update pytest from 4.2.0 to 4.2.1 --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 768509903..1bbf5cbe1 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,7 +4,7 @@ flake8==3.7.5 flake8-type-annotations==0.1.0 flake8-tidy-imports==2.0.0 -pytest==4.2.0 +pytest==4.2.1 pytest-mock==1.10.1 pytest-asyncio==0.10.0 pytest-cov==2.6.1