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
Reigo Reinmets
aa54592ec7
Merge branch 'freqtrade:develop' into dca
2021-12-25 21:06:26 +02: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
ea79eb55e9
Remove this test change from DCA branch.
2021-12-25 10:43:25 +02:00
Reigo Reinmets
d11a8928d4
Fix test not running when user_data contains historical data.
2021-12-25 10:39:27 +02:00
Reigo Reinmets
3cbb2ff31f
Fix up documentation.
2021-12-25 10:35:08 +02:00
Stefano Ariestasia
e3181748dc
Add ignore_buying_expired_candle to config_full example
2021-12-25 12:24:12 +09:00
Reigo Reinmets
f61aaa8c0d
Improve documentation example
2021-12-24 19:02:39 +02:00
Reigo Reinmets
ad247b2f07
Merge branch 'freqtrade:develop' into dca
2021-12-24 12:39:09 +02:00
Reigo Reinmets
de79d25caf
Refactoring to use strategy based configuration
2021-12-24 12:38:43 +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
Reigo Reinmets
ac690e9215
Remove unnecessary returns.
2021-12-23 18:49:11 +02:00
Matthias
9a9cc31d83
Update docs regarding multiarch builds
2021-12-23 17:01:44 +01:00
Reigo Reinmets
0c4664e8f4
Lock file is not always left behind so handle it.
2021-12-23 17:39:43 +02:00
Reigo Reinmets
bc60139ae3
I really should make this flake8 / isort check automatic before commit.
2021-12-23 16:40:47 +02:00
Reigo Reinmets
8393c99b62
Whoops, missing a line.
2021-12-23 16:25:27 +02:00
Reigo Reinmets
8bf1001b33
Fix test failing when user_data already contains data...
2021-12-23 12:41:37 +02:00
Reigo Reinmets
ace0a83c0c
Allow forcebuy to also buy more when trade is already open.
2021-12-23 11:57:53 +02:00
Reigo Reinmets
2e23e88fc1
Re-add back the log i accidentally removed.
2021-12-22 11:49:43 +02:00
Reigo Reinmets
d70ddeef9a
Remove whitespace. Darn IntelliJ.
2021-12-22 11:43:48 +02:00
Reigo Reinmets
e439ae1fea
Update wallet balance on every order close, not only trade close
2021-12-22 11:20:03 +02:00
Reigo Reinmets
da2e07b7fe
Unittest base_stake_amount_ratio
2021-12-22 02:42:44 +02:00
Reigo Reinmets
76e7bf6cd2
Merge branch 'freqtrade:develop' into dca
2021-12-22 02:24:21 +02:00
Reigo Reinmets
7df3e7ada4
Add base_stake_amount_ratio config param to support unlimited stakes.
2021-12-22 02:19:11 +02:00
Reigo Reinmets
fa01cbf546
iSort
2021-12-21 22:23:01 +02: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
Reigo Reinmets
4862cdb296
Improve documentation.
2021-12-21 00:11:01 +02:00
Reigo Reinmets
c9243fb4f6
Use buy side for price since mostly used for DCA.
2021-12-20 22:45:46 +02:00
Reigo Reinmets
f6d36ce56b
Fix the dca order not being counted bug.
2021-12-20 22:07:42 +02:00
Reigo Reinmets
d9f5694965
Merge branch 'freqtrade:develop' into dca
2021-12-20 22:05:58 +02: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
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