Commit Graph

153 Commits

Author SHA1 Message Date
Matthias f584edf809 Improve tests by simply running a full strategy through everything 2023-03-12 16:45:56 +01:00
Matthias 0911cd72a2 Add test for strategy-updater start method 2023-03-12 15:59:14 +01:00
Matthias 2ca8b0b12e Update more exchange mocks to use EXMS 2023-03-01 20:27:15 +01:00
Matthias bcdf4e0fe8 Use variable for exchange mocks to shorten lines 2023-03-01 20:27:15 +01:00
Matthias 6e22607387 Add 5m futures testdata to support detail-backtest tests 2023-01-20 07:08:38 +00:00
Matthias 4ea8962ca2 Rename futures test data 2023-01-13 20:44:32 +01:00
Matthias 5257e8b3ed Fix random test failures on 3.8 2023-01-05 09:12:09 +01:00
Matthias 882e68c68b Rename backtest-result from new to "not new". 2022-12-26 15:33:14 +01:00
Matthias 79c041b62d Update tests for new export format 2022-11-25 16:57:58 +01:00
Matthias 30b467906c Delist FTX, following ccxt's delisting. 2022-11-14 19:40:57 +01:00
Matthias 93ad3810fd Add test for list-freqaimodels 2022-10-15 08:20:06 +02:00
Matthias b7553d20d4 Get min/max data in list-data command 2022-08-19 13:45:55 +02:00
Matthias b8c1cf0107 Fix test leakage if config is available 2022-08-16 10:19:19 +02:00
Matthias a3d9384bc0 Remove clean-dry-run code 2022-05-19 06:56:34 +02:00
Matthias 64668b11da add ohlcv_has_history - disabling kraken downloads 2022-05-14 09:10:38 +02:00
Matthias 044afdf7af Add better test scenario 2022-05-10 20:27:24 +02:00
Matthias 269630e755 Add preliminary documentation for database conversion 2022-05-10 07:13:42 +02:00
Matthias c19be34e71 Add rudimentary test for db migration 2022-05-09 20:58:40 +02:00
Matthias 9bb0f1f675 Move legacy strategy to "broken strats" folder 2022-04-25 07:11:32 +02:00
Matthias 30f314d580 windows compatibility of test 2022-04-23 10:44:11 +02:00
Matthias aa5345190e Test recursive strategy-listing 2022-04-23 09:19:18 +02:00
Matthias 4254d86658 Move test-backtestfiles to separate directory 2022-04-11 20:32:02 +02:00
Matthias cbbbe8a5ba Fix test using existing config file, therefore becomming fluky 2022-04-07 09:08:17 +00:00
Matthias c37f03a638 Update static-markets to include futures pair 2022-02-15 08:04:16 +01:00
Sam Germain 179947fa72
New config (#6333)
* updated new-config to add trading_mode and margin_mode

* added trading_mode and margin_mode to config examples

* added okex config example

* new file:   config_examples/config_binance_futures.example.json

* removed trading_mode and margin_mode from base_config and binance and okex example

* deleted okex and futures config files

* updated full config file

* updated new-config command to add trading_mode and margin_mode to config

* new file:   config_examples/config_okex_futures.example.json

* removed config_okex_futures.example.json

* added trading_mode to test_start_new_config

* new-config asks exchange before asking futures

* Simplify trading_mode selection

* margin_mode is empty string for spot new configs

* build_config_commands sorted exchanges

* isort

Co-authored-by: Matthias <xmatthias@outlook.com>
2022-02-02 14:46:44 +01:00
Matthias de17993705 Fix random test failure when local config is found 2022-01-31 20:09:25 +01:00
Matthias fdea4fcb1b Remove some todo's 2022-01-28 15:52:12 +01:00
Matthias 88ccfedd32 Improve wording of "no history found" error 2022-01-26 06:53:00 +01:00
Matthias 9b9d61c6d6 Remove SPOT_ candletype 2021-12-08 14:38:09 +01:00
Matthias 5a3b907132 Update converter tests 2021-12-07 06:59:27 +01:00
Matthias b578e31255 Align tests to have futures data in futures/ directory 2021-12-03 07:20:43 +01:00
Matthias 504efbd6d4 Add futures argument to download-data command 2021-11-27 16:36:59 +01:00
Sam Germain 920151934a Added candle_type to a lot of methods, wrote some tests 2021-11-21 17:48:14 -06:00
Sam Germain 64a6abc541 Added candle type to ohlcv_get_available_data 2021-11-21 17:48:14 -06:00
Matthias 11b77cf94c Update test to new list-pairs format 2021-11-07 10:43:00 +01:00
Matthias ebc38159b8 Merge branch 'develop' into feat/short 2021-11-06 15:24:52 +01:00
Matthias c15f73aa1f Rename command to backtesting-show 2021-10-31 10:13:11 +01:00
Matthias 20904f1ca4 Add tests for new command 2021-10-30 19:43:42 +02:00
Sam Germain 3fffc315ac Merge branch 'develop' into feat/short 2021-10-20 08:11:53 -06:00
Matthias d4d57f0002 Document expansion of `--pairs`, add download-inactive 2021-10-17 16:09:56 +02:00
Sam Germain bcbe8f229c Merge branch 'feat/short' into lev-freqtradebot 2021-10-13 19:02:57 -06:00
Sam Germain bd488cc086 Merge branch 'develop' into feat/short 2021-10-13 17:56:40 -06:00
Matthias ce9debe9fd Add version argument to freqUI installer 2021-10-12 06:44:07 +02:00
Sam Germain b3656ddfc9 Merge branch 'feat/short' into lev-freqtradebot 2021-10-02 03:36:32 -06:00
Sam Germain e8b4cf6eaa Merge branch 'develop' into feat/short 2021-10-02 03:15:12 -06:00
Matthias 248c61bb26 Add test for trades-to-ohlcv 2021-09-29 19:39:29 +02:00
Rokas Kupstys e025576d8c Introduce markets_static fixture serving an immutable list of markets. Adapt pairlist/markets tests to use this new fixture.
This allows freely modifying markets in get_markets() without a need of updating pairlist/markets tests.
2021-09-29 10:15:05 +03:00
Sam Germain 1a132758d0 merged with feat/short 2021-09-27 23:26:20 -06:00
Matthias c791b95405 Use new TestStrategy (V3) by default in tests 2021-09-21 20:24:08 +02:00
Sam Germain 043bfcd5ad Fixed a lot of failing tests" 2021-09-19 20:24:22 -06:00