cdimauro
6509c38717
Introduce new test functions to check logs
...
New functions log_contains, num_log_contains, num_log_has and num_log_has_re
are introduced in the conftest module to help and simplify checking:
- if logs contain a string;
- count how many messages contain a string;
- count how many messages are the given string;
- count how many messages matchs a regex.
A couple of existing tests are changed using the new functions.
2021-12-26 09:49:14 +01:00
cdimauro
fbaf46901e
Reduce more KuCoin logs on retrier decorator
...
More logs are reduced, for KuCoin, on the retrier_async decorator:
_async_get_candle_history() returned exception
retrying _async_get_candle_history() still for
Giving up retrying: _async_get_candle_history()
Applying DDosProtection backoff delay
2021-12-26 09:06:26 +01:00
cdimauro
96fbf63d0b
Reduce KuCoin logs on DDosProtection error messages
...
KuCoin APIs generate A LOT of error messages.
Consequently, logs are flooded with lines like:
2021-12-25 22:30:23 freqtrade.exchange.common: WARNING -
_async_get_candle_history() returned exception:
"kucoin GET https://openapi-v2.kucoin.com/api/v1/market/candles ?
symbol=PDEX-USDT&type=5min&startAt=1640317818&endAt=1640467818
429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
2021-12-25 22:30:23 freqtrade.exchange.common: WARNING -
retrying _async_get_candle_history() still for 3 times
2021-12-25 22:30:23 freqtrade.exchange.common: WARNING -
Kucoin 429 error, avoid triggering DDosProtection backoff delay.
2 tries left before giving up
2021-12-25 22:30:24 freqtrade.exchange.common: WARNING -
_async_get_candle_history() returned exception:
"kucoin GET https://openapi-v2.kucoin.com/api/v1/market/candles ?
symbol=UBX-USDT&type=5min&startAt=1640317821&endAt=1640467821
429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
Messages like:
Kucoin 429 error, avoid triggering DDosProtection backoff delay.
are logged only once for a certain period of time (default is 3600 seconds).
2021-12-25 22:32:22 +01:00
Matthias
2917cc1f2e
Bitpanda's "fetch_my_trades" requires "to" argument
...
closes #4938
2021-12-25 14:28:22 +01:00
Matthias
6fdad8c6bd
Prevent exception, ensure deletion occurs
2021-12-25 14:03:44 +01:00
Matthias
356b2d3d91
Reestablish backward compatibility
2021-12-25 13:47:28 +01:00
Matthias
b1feb69ca9
Use Pathlib to delete testfile
2021-12-25 10:30:59 +01:00
Matthias
49aa34c6f3
Merge pull request #6112 from xataxxx/develop
...
Fix test not running when user_data contains historical data.
2021-12-25 10:11:15 +01:00
Reigo Reinmets
d11a8928d4
Fix test not running when user_data contains historical data.
2021-12-25 10:39:27 +02:00
Matthias
58663180e0
Merge pull request #6107 from freqtrade/remove_slack
...
Update CI to notify on discord only
2021-12-23 21:50:49 +01:00
Matthias
98f6d2d722
Update CI to notify on discord only
2021-12-23 21:27:30 +01:00
Matthias
110e48c541
Remove travis config file
...
Travisci seems to no longer offer a free plan for open source
repositories, and other repositories report the need to get in touch
with support again and again.
This complication is not necessary with github actions, which covers our
CI needs well.
2021-12-23 20:38:07 +01:00
Matthias
61dbb6206f
Slightly reduce verbosity when reload_conf is issued
...
part of #6095
2021-12-23 20:33:13 +01:00
Matthias
9a9cc31d83
Update docs regarding multiarch builds
2021-12-23 17:01:44 +01:00
Matthias
f88b6af26f
Merge pull request #6070 from cdimauro/suppress_logs
...
Suppress additional logs for pairs in blacklist
2021-12-21 21:07:15 +01:00
Matthias
e5aaef6440
Fix CI failure
2021-12-21 19:20:09 +01:00
cdimauro
6ba8b17fdd
Use LoggingMixin.log_once to remove/reduce logs on pairlists
2021-12-21 09:11:57 +01:00
Matthias
40036bc710
Force dry-run for webserver backtest mode
...
closes #6094
2021-12-20 19:41:33 +01:00
Matthias
afad9be53f
Merge pull request #6093 from freqtrade/dependabot/pip/develop/cryptography-36.0.1
...
Bump cryptography from 36.0.0 to 36.0.1
2021-12-20 09:01:25 +01:00
Matthias
6fe09b6dee
Merge pull request #6090 from freqtrade/dependabot/pip/develop/mypy-0.920
...
Bump mypy from 0.910 to 0.920
2021-12-20 07:16:21 +01:00
Matthias
90c565006b
Merge pull request #6043 from freqtrade/funding_fees
...
Funding fees
2021-12-20 07:15:30 +01:00
dependabot[bot]
21da01f777
Bump cryptography from 36.0.0 to 36.0.1
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 36.0.0 to 36.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.0...36.0.1 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 05:39:04 +00:00
Matthias
260c627e99
Merge pull request #6091 from freqtrade/dependabot/pip/develop/time-machine-2.5.0
...
Bump time-machine from 2.4.1 to 2.5.0
2021-12-20 06:38:46 +01:00
Matthias
d47167c9c4
Merge pull request #6087 from freqtrade/dependabot/pip/develop/numpy-1.21.5
...
Bump numpy from 1.21.4 to 1.21.5
2021-12-20 06:38:25 +01:00
dependabot[bot]
b6f8765d3b
Bump mypy from 0.910 to 0.920
...
Bumps [mypy](https://github.com/python/mypy ) from 0.910 to 0.920.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.910...v0.920 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 05:38:03 +00:00
Matthias
5b608c9005
Merge pull request #6088 from freqtrade/dependabot/pip/develop/ccxt-1.64.44
...
Bump ccxt from 1.63.65 to 1.64.44
2021-12-20 06:37:59 +01:00
Matthias
cfad873ea7
Merge pull request #6092 from freqtrade/dependabot/pip/develop/jsonschema-4.3.1
...
Bump jsonschema from 4.2.1 to 4.3.1
2021-12-20 06:37:41 +01:00
Matthias
480eb55721
Merge pull request #6086 from freqtrade/dependabot/pip/develop/mkdocs-material-8.1.3
...
Bump mkdocs-material from 8.1.0 to 8.1.3
2021-12-20 06:37:23 +01:00
Matthias
e754cc09fc
Merge pull request #6089 from freqtrade/dependabot/pip/develop/types-requests-2.26.2
...
Bump types-requests from 2.26.1 to 2.26.2
2021-12-20 06:36:46 +01:00
dependabot[bot]
cde35509db
Bump jsonschema from 4.2.1 to 4.3.1
...
Bumps [jsonschema](https://github.com/Julian/jsonschema ) from 4.2.1 to 4.3.1.
- [Release notes](https://github.com/Julian/jsonschema/releases )
- [Changelog](https://github.com/Julian/jsonschema/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/Julian/jsonschema/compare/v4.2.1...v4.3.1 )
---
updated-dependencies:
- dependency-name: jsonschema
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 03:01:52 +00:00
dependabot[bot]
5a3a5e98d6
Bump time-machine from 2.4.1 to 2.5.0
...
Bumps [time-machine](https://github.com/adamchainz/time-machine ) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/adamchainz/time-machine/releases )
- [Changelog](https://github.com/adamchainz/time-machine/blob/main/HISTORY.rst )
- [Commits](https://github.com/adamchainz/time-machine/compare/2.4.1...2.5.0 )
---
updated-dependencies:
- dependency-name: time-machine
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 03:01:47 +00:00
dependabot[bot]
44ac002cf0
Bump types-requests from 2.26.1 to 2.26.2
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.26.1 to 2.26.2.
- [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] <support@github.com>
2021-12-20 03:01:41 +00:00
dependabot[bot]
56d96d6cff
Bump ccxt from 1.63.65 to 1.64.44
...
Bumps [ccxt](https://github.com/ccxt/ccxt ) from 1.63.65 to 1.64.44.
- [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.63.65...1.64.44 )
---
updated-dependencies:
- dependency-name: ccxt
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 03:01:40 +00:00
dependabot[bot]
36632b48c7
Bump numpy from 1.21.4 to 1.21.5
...
Bumps [numpy](https://github.com/numpy/numpy ) from 1.21.4 to 1.21.5.
- [Release notes](https://github.com/numpy/numpy/releases )
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/HOWTO_RELEASE.rst.txt )
- [Commits](https://github.com/numpy/numpy/compare/v1.21.4...v1.21.5 )
---
updated-dependencies:
- dependency-name: numpy
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 03:01:34 +00:00
dependabot[bot]
1b3aaffef4
Bump mkdocs-material from 8.1.0 to 8.1.3
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 8.1.0 to 8.1.3.
- [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.1.0...8.1.3 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 03:01:26 +00:00
Aezo Teo
6e24274dca
updated documentation for webhook
2021-12-19 23:58:58 +08:00
Matthias
a557451eee
Okex uses 4h mark candle timeframe
2021-12-19 16:47:44 +01:00
Aezo Teo
ea418bc9ac
added stats for long short
2021-12-19 23:24:46 +08:00
Matthias
1cbc4da72b
Merge pull request #6082 from Rikj000/docs/hyperopt-import-any
...
📝 Docs - Added `Any` import
2021-12-19 07:54:49 +01:00
Rik Helsen
58c3d69d14
📝 Docs - Added Any
import
2021-12-18 23:29:55 +01:00
Matthias
ddce28c12d
Update data downloading to include funding_fee downloads
2021-12-18 15:32:02 +01:00
Matthias
ea38b58081
Add base_currency to allowed webhook fields
...
closes #6075
2021-12-16 20:18:01 +01:00
Matthias
b2fc3e814e
Merge pull request #6055 from freqtrade/blacklist_delete
...
Add Blacklist delete
2021-12-16 13:41:18 +01:00
Matthias
39f0a17e62
Fix formatting
2021-12-16 07:11:35 +01:00
Matthias
f9aa36f291
Don't hard-fail when executing emergency sell fails
...
closes #6068
2021-12-15 19:37:35 +01:00
Matthias
b80b5ed1ad
Improve uri_logging test
...
part of #6069
2021-12-15 19:25:30 +01:00
cdimauro
9d8646072c
Add test case for checking removal of logs for pains in blacklist
2021-12-14 06:23:40 +01:00
Matthias
dda302eea2
Merge pull request #6026 from freqtrade/dependabot/pip/develop/ta-lib-0.4.22
...
Bump ta-lib from 0.4.21 to 0.4.22
2021-12-13 19:44:46 +01:00
Matthias
793d090561
Improve log message wording for rejected stake amounts
...
closes #6064
2021-12-13 19:29:07 +01:00
Matthias
95949bd466
Update windows wheels to ta-lib 0.4.22
2021-12-13 19:05:35 +01:00