Reigo Reinmets
1d59a6b7e3
Merge branch 'freqtrade:develop' into health
2022-01-24 13:52:53 +02:00
Matthias
381bda1e4a
Update test to add new argument
2022-01-24 07:02:02 +01:00
Reigo Reinmets
bf62fc9b25
Add /health endpoint that returns last_process timestamp, fix issue #6009
2022-01-23 21:58:46 +02:00
Matthias
57067ce88d
Add tests for max_adjustment_buy handling
2022-01-23 19:07:37 +01:00
Matthias
62df044618
Merge pull request #6279 from xataxxx/develop
...
Fix position adjustment not counting older orders because of missing average field value
2022-01-23 17:42:51 +01:00
Matthias
6492e1cd76
Investigate random test failure
2022-01-23 17:42:18 +01:00
Reigo Reinmets
51b94889b2
Just in case also check for closed to avoid counting in canceled orders.
2022-01-23 17:56:41 +02:00
Reigo Reinmets
8c79d55739
Fix issue #6268
2022-01-23 17:44:16 +02:00
Matthias
bd4014e1e6
Small cleanup
2022-01-22 15:01:27 +01:00
Matthias
a35b0b519a
Update forcebuy endpoint to support stake-amount
...
closes #6223
2022-01-22 13:26:02 +01:00
Matthias
314a544881
Add Failing test for get_strategy_run_id
...
Fails because max_open_trades is "inf"
emulates behaviour of `max_open_trades=-1` when loading the
configuration)
2022-01-22 08:09:08 +01:00
Stefano Ariestasia
f79decdb9c
Merge branch 'fix-docs' of https://github.com/stash86/freqtrade into fix-docs
2022-01-22 06:54:57 +00:00
Stefano Ariestasia
05046b9eef
Add more info on status message
2022-01-22 06:54:49 +00:00
Matthias
3d94d7df5c
Update migrations for mariadb
2022-01-21 19:31:11 +01:00
Matthias
bb1d8fb54f
Improve message when no hyperopt fie is found
...
closes #6266
2022-01-21 15:24:26 +01:00
Matthias
730d2e3574
Merge pull request #6259 from stash86/fix-docs
...
add "# Buys" column to status table
2022-01-21 07:49:21 +01:00
Matthias
d02acb21c2
Add simple test for #buy header
2022-01-21 07:04:25 +01:00
Italo
a9f14ac119
show buy_tag only if not None
2022-01-20 18:44:09 +00:00
Italo
8ce5536dd8
fix tests
...
added buy_tag to first ADA/USDT trade
2022-01-20 18:37:17 +00:00
Matthias
d549905856
Api-backtest to test new functionality
2022-01-20 07:11:48 +01:00
Rokas Kupstys
5fffc5033a
Rework backtesting --no-cahche to --cache=[none, day, week, month].
...
Fix an issue where config modification during runtime would prevent use of cached results.
2022-01-19 11:44:35 +02:00
Matthias
3cdb672ac3
Improve test coverage
2022-01-16 19:11:20 +01:00
Matthias
c02497e4b8
Merge pull request #6172 from rokups/rk/backtest-results-caching
...
Backtest result reuse
2022-01-16 19:09:37 +01:00
Matthias
d08885ed92
Fix empty "/log" endpoint in certain moments
2022-01-16 15:37:00 +01:00
Matthias
6c4b261469
Convert nan to None in get_signal.
2022-01-16 08:04:39 +01:00
Matthias
39184e1f95
Fix random test-fail around midnight
2022-01-16 00:19:21 +01:00
Matthias
270d7ebbf5
Simplify test strategy
2022-01-15 17:36:42 +01:00
Matthias
9becce9897
Update failing test
2022-01-15 17:30:40 +02:00
Rokas Kupstys
526ed7fa9a
Add test_backtest_start_multi_strat_caching test flexing backtest result caching.
2022-01-15 17:30:40 +02:00
Rokas Kupstys
16861db653
Implement previous backtest result reuse when config and strategy did not change.
2022-01-15 17:30:40 +02:00
Matthias
6684bff963
Dry-run orders should have filled set correctly
2022-01-15 15:25:16 +01:00
Matthias
66a479c26a
Small doc improvements
2022-01-15 15:11:13 +01:00
Reigo Reinmets
320c9ccf90
Unify functions and make it easy to get a list of filled buy orders
2022-01-14 20:02:35 +02:00
Reigo Reinmets
ffe69535d8
These could be properties.
2022-01-13 20:31:03 +02:00
Reigo Reinmets
0424b44667
Merge branch 'freqtrade:develop' into dca
2022-01-08 17:42:17 +02:00
Reigo Reinmets
c929d428b2
Remove blank line.
2022-01-08 17:21:32 +02:00
Reigo Reinmets
0bca07a32a
Added min_stake, max_stake. Removed pair as its included in trade.
2022-01-08 17:20:02 +02:00
Matthias
cf077b15c2
Fix random test failure
2022-01-08 14:54:39 +01:00
Reigo Reinmets
8e424f7c73
Merge branch 'freqtrade:develop' into dca
2022-01-08 14:57:15 +02:00
Matthias
43f8087f32
Bitvavo does not support USDT stake
2022-01-08 10:44:07 +01:00
Matthias
827b8d3e4c
Don't use test_datadir as userdata dir
...
use tmpdir
2022-01-07 20:00:20 +01:00
Matthias
7f20f6834b
Merge pull request #6181 from freqtrade/simplify_optimizereports
...
Simplify optimizereports
2022-01-07 09:43:57 +01:00
Matthias
cd144cdfc9
Add bitvavo to compatibility tests
...
#6166
2022-01-07 09:30:50 +01:00
Matthias
e540959c27
Remove btdata from generate_strategy_stats
2022-01-07 09:27:07 +01:00
Matthias
1203d08d1e
generate_pair_metrics does not need processed dict
2022-01-07 09:27:07 +01:00
Matthias
b77943af0d
Merge pull request #6173 from freqtrade/volume_quote_workaround
...
Selectively convert quote to base volume in volumepairlist
2022-01-07 09:07:16 +01:00
Matthias
b3a4ecaf77
Remove old backtest format support
2022-01-06 19:49:25 +01:00
Matthias
28011a3907
Update bt_results filename to new.json
2022-01-06 19:28:04 +01:00
Matthias
72f486289a
Update Volumepairlist test
2022-01-06 19:07:47 +01:00
Matthias
4e2b9203d7
Remove no longer used BT_DATA_COLUMNS_MID
2022-01-05 20:40:59 +01:00
Matthias
2ca90577a6
Update strategy-comparison test
2022-01-05 20:29:40 +01:00
Matthias
2ecaf9f8b4
Update backtest-result test-files to latest format
2022-01-05 20:26:24 +01:00
Matthias
8373a4e713
Small Adjustments to improve compatibility
2022-01-04 19:17:08 +01:00
Matthias
4d9b4ddc28
Update hyperopt-tools to use account drawdown
2022-01-04 17:43:39 +01:00
Matthias
09fae25c94
Fix some tests after drawdown calculation change
2022-01-04 17:07:31 +01:00
Matthias
937f5e3d0f
No longer use legacy mode for tests
2022-01-04 17:06:40 +01:00
Matthias
7ea5b0e359
Simplify hyperopt test setup
2022-01-04 17:06:40 +01:00
Matthias
fac6956eeb
Fix test failure after merge
2022-01-02 22:25:40 +01:00
Matthias
711a6a6dbc
Merge branch 'develop' into pr/xataxxx/6079
2022-01-02 22:21:41 +01:00
Matthias
2116b0729f
Integration-test for DCA order
2022-01-02 20:20:56 +01:00
Matthias
08ba5b0451
Update docs to include underwaterplot
2022-01-01 16:55:08 +01:00
Matthias
fb06a673e0
Add Underwater plot
2022-01-01 14:40:20 +01:00
Matthias
78ba2d3fc7
Add underwaterplot calculation to btanalysis
2022-01-01 14:39:58 +01:00
Matthias
a2d97eecfe
Add trade parallelism plot
...
closes #6142
2022-01-01 14:11:51 +01:00
Matthias
9becd20f20
Improve "Missing data" messages
2022-01-01 10:37:58 +01:00
Matthias
713b884d9b
Fix failing monthly test
2022-01-01 10:37:43 +01:00
Rokas Kupstys
a715083fc0
Reduce memory usage by not holding on to no longer needed data.
2021-12-31 12:10:01 +02:00
Matthias
b1b2eebd11
Change sequence of ROI/sell signal to favor sell-signal
2021-12-30 20:00:58 +01:00
Matthias
b63491fb9c
Update ROI_if_buy_signal tests to not use sell signal
2021-12-30 19:51:49 +01:00
Matthias
bd98637ae9
Fail gracefully from plot-profit when no data is provided
...
closes #6132
2021-12-30 10:14:45 +01:00
Matthias
77afb7b5e2
Merge pull request #6114 from cdimauro/reduce_kucoin_logs
...
Reduce kucoin logs
2021-12-29 17:33:21 +01:00
Matthias
24807515c1
Fix random test failure
2021-12-28 09:04:14 +01:00
Matthias
bb65621134
Simplify test, simplify "log_*" selection
2021-12-27 17:14:59 +01:00
Matthias
54858a0bbb
Simplify test to only initialize and mock once.
2021-12-27 16:39:47 +01:00
Matthias
314e10596b
Remove checking against logger_name in num_log_has
2021-12-27 16:39:31 +01:00
cdimauro
f77b8cbb7a
Reduce KuCoin logs only for 429000 error
...
Only KuCoin messages for 429000 error code are logged once.
Logs functions are also simplified and optimized.
test_remove_logs_for_pairs_already_in_blacklist is simplified as well.
2021-12-26 21:09:25 +01:00
Matthias
d3f3c49b13
Fix minor "gotchas"
2021-12-26 15:29:10 +01:00
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
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
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
61dbb6206f
Slightly reduce verbosity when reload_conf is issued
...
part of #6095
2021-12-23 20:33:13 +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
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
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
Reigo Reinmets
f6d36ce56b
Fix the dca order not being counted bug.
2021-12-20 22:07:42 +02:00