Commit Graph

457 Commits

Author SHA1 Message Date
Matthias
a9732c6195 Fix odd formatting by ruff format 2024-05-13 07:10:25 +02:00
Matthias
ffd49e0e59 ruff format: tests/data 2024-05-13 07:10:24 +02:00
Matthias
099b1fc8c4 ruff format: More updates to tests 2024-05-13 07:10:24 +02:00
Matthias
7767ad9d6e Update imports in test directory 2024-05-13 07:10:24 +02:00
Matthias
40aa0800de Additional fix to eliminate some word-ignores 2024-04-19 07:02:31 +02:00
Christian Clauss
99b4767bf4 Fix typos discovered by codespell 2024-04-18 22:51:25 +02:00
Matthias
0b1f702ef9 Improve testcase 2024-04-17 06:46:44 +02:00
Matthias
7f386874ad Trim dataframes accordingly ... 2024-04-16 18:17:20 +02:00
Matthias
3f8078618e add Combine dataframes with pct_change 2024-04-16 07:19:26 +02:00
Matthias
69d098e265 Dataprovider test 2024-04-05 07:16:37 +02:00
Matthias
28e4711ee9 Enhance test for dataprovider 2024-04-05 07:07:12 +02:00
Matthias
34d3389b23 Avoid some unnecessary linebreaks 2024-04-05 06:45:12 +02:00
Matthias
88e25df78c Merge branch 'develop' into feature/fetch-public-trades 2024-03-16 16:34:57 +01:00
Matthias
60a62d933c Fix some failing mocks 2024-03-15 07:12:07 +01:00
Matthias
5e0aa9108c Update tests correspondlingy 2024-03-15 06:49:49 +01:00
Matthias
4aff24f6df Fix imports that import directly from file
instead from the exporting package
2024-03-15 06:40:42 +01:00
Joe Schr
6c1d70df89 Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades 2024-03-05 17:29:24 +01:00
Matthias
66e43f2fe8 Adjust tests for new arguments 2024-03-02 13:17:45 +01:00
Matthias
bdd63aa1d6 FIx futures trades pair download directory 2024-03-01 20:17:43 +01:00
Matthias
5dee60921f Fix test for convert_trades_to_ohlcv 2024-03-01 19:42:33 +01:00
Matthias
b6c19252c9 Further increase test coverate of max_drawdown 2024-02-26 13:54:19 +01:00
Matthias
4351d93f23 Allow limiting kraken pairs to --pairs selection 2024-02-26 13:51:39 +01:00
Joe Schr
d15f17a03f chore: remove unused parameter pairs from populate_dataframe_with_trades 2024-02-26 12:00:36 +01:00
Joe Schr
6bdf6bed7b fix tests: add comments 2024-02-26 11:53:55 +01:00
Joe Schr
5b637bc9fc tests: use orderflow row that actually has stacked imbalances 2024-02-26 11:22:24 +01:00
Joe Schr
3df04008d6 fix tests: move orderflow tests into own dir 2024-02-26 11:09:08 +01:00
Joe Schr
b15e47ded4 fix tests: use testdatadir 2024-02-26 10:57:12 +01:00
Matthias
66f4839101 Further increase test coverate of max_drawdown 2024-02-19 07:02:42 +01:00
Joe Schr
6e7a536c7a Replaces public_trades_to_dataframe with trades_list_to_df 2024-02-12 13:45:56 +01:00
Joe Schr
eaa85e8651 Removes do_plot and old comments 2024-02-11 13:16:16 +01:00
Matthias
d23079f837 improve tests slighly 2024-02-10 20:13:17 +01:00
Matthias
f89147fd44 Allow limiting kraken pairs to --pairs selection 2024-02-10 08:44:16 +01:00
Joe Schr
9ec45ce042 Ruff fix 2024-02-08 19:48:53 +01:00
Joe Schr
5b264d66e0 Ruff and flake fixes 2024-02-08 19:38:21 +01:00
Joe Schr
39ba6fe56b Ruff --fix 2024-02-07 12:48:15 +01:00
Joe Schr
f61c75ffcc Fix isort imports 2024-02-06 20:35:16 +01:00
Joe Schr
aa663b926a Fix tests for use public trades 2024-02-06 14:33:13 +01:00
Joe Schr
f6a8e03b59 Remove invoke self code for test_converter_public_trades 2024-02-02 14:54:28 +01:00
Joe Schr
b79aeb0a0d Shrink public trades testdata by using BCH 2024-02-01 13:42:58 +01:00
Joe Schr
2833169955 Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades 2024-02-01 11:46:38 +01:00
Matthias
5890665931 Add BTC/USDT to test markets 2024-01-27 16:23:47 +01:00
Matthias
8d72ee358c Improve code styles ... 2024-01-24 20:31:38 +01:00
Matthias
6aa4de4d29 Tests for enhanced list-data functionality 2024-01-24 20:17:39 +01:00
Matthias
96a8263c57 trades_to_ohlcv_multi test adjustment 2024-01-23 19:31:40 +01:00
Matthias
79ecca3e40 Add test for trades-conversation on different dates 2024-01-23 19:24:41 +01:00
Matthias
1ae3b1e622 Fix weekly resamples to ensure they're on monday. 2024-01-23 19:21:06 +01:00
Matthias
34ac2dc9ae Further improve ohlcv test 2024-01-23 19:12:35 +01:00
Matthias
efe332a395 Fix wrong test comment 2024-01-23 07:25:30 +01:00
Matthias
8fd2dcd257 Impove tests for yearly resample 2024-01-23 07:22:38 +01:00
Matthias
656b32814b Have trade_converter use timeframe_as_resample_freq 2024-01-23 07:10:25 +01:00
Matthias
5167f6936d Prepare converter to work on 1s data. 2024-01-23 06:42:12 +01:00
Matthias
fdf88a8019 Improve test showing that 1m and 1s conversion is identical. 2024-01-23 06:42:12 +01:00
Matthias
087c59cfbf Fix data generation bug with 3m data 2024-01-23 06:42:12 +01:00
Matthias
83480d90f1 Extend test range to more timeframes 2024-01-23 06:42:12 +01:00
Matthias
67abfcf4d4 Add generic ohlcv_to_dataframe_multi test to ensure code works for diff. timeframe ranges 2024-01-23 06:42:12 +01:00
Matthias
c9dd99a4b5 Enhance test to properly capture correct downloading of different futures types 2024-01-04 16:03:53 +01:00
Robert Caulk
ea8edbd23b
Merge pull request #9552 from thojou/fix-freqai-populate-features-timerange
Fix duplicated data loading and timerange for populate_features
2023-12-30 13:42:08 +01:00
Matthias
881247a823 use isinstance for type checks 2023-12-21 19:26:52 +01:00
Thomas Joußen
3f44f56f6f Remove bool from get_required_startup because its unused. 2023-12-19 17:30:15 +00:00
Joe Schr
18be79c906 Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades 2023-12-18 10:34:20 +01:00
Matthias
e79a58e1c4 Add test case to verify behavior in #9432 2023-12-12 19:59:56 +01:00
Matthias
c62e52c759 Add test for dp_get_required_startup 2023-12-12 19:48:17 +01:00
Matthias
5ab61d9da4 Improve missing data output 2023-12-12 07:08:26 +01:00
Matthias
555f4b51e1 Further improvements to test setup 2023-11-05 16:23:22 +01:00
Matthias
be82248e01 Remove futher usages of Path(tmpdir) 2023-11-05 16:18:28 +01:00
Matthias
7bed7801cc Further test simplifications 2023-11-05 16:15:36 +01:00
Matthias
bbdc6c0f5c improve pandas syntax to avoid deprecation error 2023-10-30 18:11:38 +01:00
Joe Schr
33af450034 tests: replace load config from file with static dict 2023-10-09 11:34:30 +02:00
Joe Schr
bdca2ac96f tests: removes cached and stratgey specific tests 2023-10-09 11:34:30 +02:00
Joe Schr
1bc206ea8e adds tests for public trades branch (no data, too big) 2023-10-09 11:34:29 +02:00
Matthias
74709461e3 Improve exception wording 2023-09-25 19:48:09 +02:00
Matthias
a2d8f92e05 Add rudimentary test for test_trade_converter 2023-09-25 19:46:15 +02:00
Matthias
123e51774e Move trades-to-ohlcv tests 2023-09-24 10:38:38 +02:00
Matthias
0c7cb29ea1 Don't use type() is comparisons 2023-08-22 20:39:36 +02:00
Matthias
4fefae6f07 Improve download-trades test 2023-08-20 11:51:01 +02:00
Matthias
399e308e07 Fix bug in --dl-trades downloading 2023-08-19 18:32:27 +02:00
Matthias
3d8dcd1644 Improve and parametrize trades_data tests 2023-08-18 10:05:15 +02:00
Matthias
30064b4102 Add support for trades data in Parquet format 2023-08-18 09:58:03 +02:00
Matthias
5de3b9d7ae Clean up no longer used method 2023-08-18 09:31:17 +02:00
Matthias
26c89d89e4 Keep original timestamp in dataframe 2023-08-18 09:08:10 +02:00
Matthias
357b04202c Datahandlers should store data from dataframes 2023-08-17 20:11:18 +02:00
Matthias
6fc1ee9831 trades_append should use dataframe, not lists 2023-08-17 18:06:25 +02:00
Matthias
780f238904 Fix trades duplicates if trade id is different 2023-08-17 18:04:13 +02:00
Matthias
5d5cc71945 Fix pandas duplication detection, improve test 2023-08-17 17:53:08 +02:00
Matthias
0be2250cf5 Keep existing trades_remove_duplicates for now 2023-08-17 17:23:12 +02:00
Matthias
02ee7f8b5b Update further tests 2023-08-17 16:05:47 +02:00
Matthias
a595074754 Update test for new trades handling 2023-08-17 10:03:56 +02:00
Matthias
ba34318f7a Update converter test to use fixture 2023-08-17 09:57:26 +02:00
Matthias
045d8c6fca Add test for informative pair filtering 2023-08-15 17:56:40 +02:00
Matthias
482cc615cc Fix empty Path inits in tests 2023-08-02 17:57:49 +02:00
Matthias
71737d8792 Remove half-commented test part 2023-07-29 20:08:20 +02:00
Matthias
6659d26131 Merge branch 'develop' into dataformat/feather 2023-07-29 20:04:12 +02:00
Matthias
e7e7a17183 Add test confirming #8972 2023-07-29 08:50:28 +02:00
Stefano Ariestasia
0eddc6b7ad update expectancy test 2023-07-23 14:27:45 +09:00
Matthias
955a63725a Improve resiliance when showing older backtest results 2023-07-22 19:43:20 +02:00
Stefano Ariestasia
40d7d05e4e merge 2 expectancy functions 2023-07-22 17:29:43 +09:00
Stefano Ariestasia
3552fa431b fix test 2023-07-22 11:40:52 +09:00
Stefano Ariestasia
3dd33cde00 fix test 2023-07-22 11:39:10 +09:00
Stefano Ariestasia
b0639ab319 flake8 2023-07-22 11:29:08 +09:00
Stefano Ariestasia
cfd8b068e7 add test for expectancy 2023-07-22 11:25:53 +09:00