Commit Graph

155 Commits

Author SHA1 Message Date
Matthias b7f01a08f3 Update sequence of process_deprecated_setting parameters 2021-06-26 17:03:51 +02:00
Matthias 0235868c66 Update tests for new config structure 2021-06-26 16:39:01 +02:00
Matthias 59a33d0fa9 Add test for ask_orderbook validation 2021-06-25 20:52:34 +02:00
Matthias cf7394d01c Export backtesting results by default
closes #4977
2021-06-14 19:57:24 +02:00
Matthias 9c34304cb9 Move state enums to enums package 2021-06-08 21:20:35 +02:00
Matthias 2d7ccaeb3d Add test for load_config 2021-05-30 20:14:54 +02:00
Matthias 06b59551b0 Improve test coverage 2021-05-30 20:14:54 +02:00
Matthias c8d3d449a3 Add quick test for pair_whitelist overwrite 2021-04-17 10:51:02 +02:00
Matthias c36051be56
Merge pull request #4685 from freqtrade/ft_has
Use ccxt's has to check which exchanges can work with freqtrade
2021-04-07 10:47:56 +02:00
Matthias a3b4667f7c Update exchange validation to use "validate_exchange". 2021-04-06 20:16:29 +02:00
Matthias 56ef3af424 Allow comments in pairs files 2021-04-06 13:29:22 +02:00
Matthias 2869d5368d Allow edge to use dynamic pairlists
closes #4298
2021-03-30 20:20:24 +02:00
Matthias fe7f3d9c37 Add price side validation for market orders 2021-03-20 11:48:39 +01:00
Matthias 86f9409fd2 fix --stake-amount parameter 2021-02-27 09:33:00 +01:00
Matthias de727645ab FIx random test failure if certain files exist 2021-02-08 19:21:33 +01:00
Matthias d4799e6aa3 Implement *candle definitions 2020-12-07 10:54:26 +01:00
Matthias a93bb6853b Document *candles settings, implement validations 2020-12-07 10:47:13 +01:00
Matthias 4cb331b5ad Remove non-needed parameters from tests 2020-11-28 10:24:44 +01:00
Matthias 95c3c45ec9 Remove long deprecated settings that moved from experimental to
ask_strategy
2020-11-27 20:24:32 +01:00
Matthias 46389e343b Skip filehandler test on windows - as that causes a permission-error 2020-11-25 15:10:17 +01:00
Matthias b9980330a5 Add explicit test for FileHandler 2020-11-25 14:58:09 +01:00
Matthias 99b67348b2 Add test for double-logging 2020-11-25 14:30:58 +01:00
Matthias 006436a18d Require use_sell_signal to be true for edge
Otherwise edge will have strange results, as
edge runs with sell signal, while the bot runs without sell signal,
causing results to be invalid

closes #3900
2020-11-24 07:47:35 +01:00
Matthias 9df366d943 Apply isort to tests 2020-09-28 19:43:15 +02:00
Matthias a9e7ee8113
Merge pull request #3683 from freqtrade/logging_endpoints
Logging endpoints
2020-08-27 15:11:17 +02:00
Matthias 309ea1246a Update config to use single quotes 2020-08-26 20:52:09 +02:00
Matthias f3d4b114bb Skip windows test failure 2020-08-15 08:47:09 +02:00
Matthias c4f78203ab Initialize streamhandler early to have it apply to all logs 2020-08-14 20:08:55 +02:00
Matthias 251eb5aa96 Test for bufferingHandler too 2020-08-14 19:51:50 +02:00
Matthias 122c0e8ddc Readd accidentally dropped StreamHandler 2020-08-14 19:50:56 +02:00
Matthias 5cebc9f39d Move stoploss_on_exchange_limit_ratio to configuration schema 2020-07-15 19:28:40 +02:00
Matthias 3517c86fa2 Fail if both ticker_interval and timeframe are present in a
configuration

Otherwise the wrong might be used, as it's unclear which one the intend
of the user is
2020-06-16 16:02:38 +02:00
hroff-1902 64881a94e2
Merge branch 'develop' into timeframe 2020-06-02 15:56:34 +03:00
hroff-1902 2cc47f651d
Merge pull request #3408 from freqtrade/apiserver_logging
Apiserver logging
2020-06-02 14:32:44 +03:00
Matthias 8e1a664a48 Add test for deprecation updating 2020-06-02 10:11:50 +02:00
Matthias 3e895ae74a Some more replacements of ticker_interval 2020-06-02 09:41:42 +02:00
Matthias 947903a4ac Use timeframe from within strategy 2020-06-02 09:36:04 +02:00
Matthias 950f358982 Replace occurances in test files 2020-06-01 20:47:27 +02:00
Matthias 3139343946 Remove capital_available_percentage and raise instead 2020-06-01 19:58:28 +02:00
Matthias 4087161d2b fix broken test 2020-05-31 10:16:56 +02:00
Matthias dc7f0f1187 Add api-server to default config samples 2020-05-31 09:57:31 +02:00
Matthias 5a9a31351a Adjust empty f-strings to be non-fstrings 2020-05-18 11:40:25 +02:00
Matthias d1a24db6b7 Remove deprecated pairlist and binary 2020-04-25 16:04:10 +02:00
Matthias 4ea6f9d7eb
Merge pull request #3110 from freqtrade/fix_random_test
[minor] Test warnings with filter always on
2020-03-25 08:32:45 +01:00
Matthias be41981ef0 Test warnings with filter always on 2020-03-24 20:10:15 +01:00
Matthias 8f7e113d79 Add additional test 2020-03-23 07:54:27 +01:00
Matthias 6c55b40fe0 Add test verifying config printing 2020-03-22 20:15:33 +01:00
Matthias 5a02026f82 Add test validating behaviour 2020-02-27 19:35:58 +01:00
Matthias d34515a5de Remove constraint to have pairs in base/quote format 2020-02-25 07:04:20 +01:00
Matthias 3e4f663418 Move pairlist validation to exchange (we need to use .quote) from
markets
2020-02-24 21:33:42 +01:00
Matthias d91b9d1253 Fix some tests, don't default to freqtrade/strategy for imports 2020-02-18 20:26:20 +01:00
Matthias a3e9d04383 Adjust imports to new place for arguments 2020-01-26 13:46:01 +01:00
Matthias 1bf475fa1a Remove .get calls for dry_run - it's a mandatory property 2020-01-20 20:24:40 +01:00
Matthias a75420f75f Merge branch 'develop' into relative_stake 2020-01-05 12:55:55 +01:00
Matthias 7e7c82cf4a Small adjustments to relative_stake PR 2020-01-03 11:34:17 +01:00
Matthias f3beaa3374 Deprecate capital_available_percentage 2020-01-03 10:58:31 +01:00
Matthias a8d56b2850 IMplement check for unlimited settings
verifying that either max_open_trades or stake_amount is set for
operations without edge
2020-01-03 07:07:59 +01:00
Matthias 9325880fe5 Split config-validation requires 2020-01-02 10:39:32 +01:00
Matthias 1ffda29fd2 Adjust improts to new exception location 2019-12-30 15:02:17 +01:00
Matthias bb8acc61db Convert datadir within config to Path
(it's used as Path all the time!)
2019-12-23 15:11:29 +01:00
Matthias 52b212db64 Fix tests after changing dry_run_wallet amount 2019-12-15 09:38:06 +01:00
Matthias ed7207d4c8 Show pairs which are wrong ... 2019-12-07 19:31:15 +01:00
Matthias bb9235c715 Validate stake-currency against pairlist - making sure only correct
pairs are in the whitelist
2019-12-07 15:42:47 +01:00
hroff-1902 36b2ed172c
Merge branch 'develop' into logging-syslog 2019-11-30 21:38:50 +03:00
Matthias 585b8332ad Improve tests and unify required attribute 2019-11-26 11:48:01 +01:00
Matthias 8d002a8f28 Fix some more tests 2019-11-25 07:05:30 +01:00
Matthias c7c7a1c2aa skip test due to no journald installed 2019-11-23 14:27:23 +01:00
Matthias 1242263d25 Make test OS dependent 2019-11-23 14:20:41 +01:00
Matthias 31c598f88a Add tests for advanced logging setup 2019-11-23 14:12:27 +01:00
Matthias 1d2ef5c2ce Extract directory_operation tests to it's own test file 2019-11-21 06:32:45 +01:00
Matthias fd45ebd0e9 Copy templates when creating userdir 2019-11-21 06:32:45 +01:00
Matthias 09b302abf7
Merge pull request #2442 from freqtrade/volumeList_enhanced_filter
Pairlists enhanced filter options
2019-11-19 20:19:10 +01:00
Matthias 9b050523e9
Merge pull request #2397 from freqtrade/feat/new_args_system
require subcommand for all actions
2019-11-14 06:28:42 +01:00
Matthias 748fe94603 Merge branch 'develop' into volumeList_enhanced_filter 2019-11-09 15:34:47 +01:00
Matthias 25cb935eee Some more adjustments for new pairlist 2019-11-09 14:16:03 +01:00
Matthias eb0b0350e0 Introduce remove_credentials to remove code duplication 2019-11-05 12:39:19 +01:00
Matthias 3eca80217c Don't check exchange for Utils commands 2019-11-03 10:18:46 +01:00
Matthias 14758dbe10 Some small cleanups 2019-10-30 16:32:22 +01:00
Matthias a368646745 Merge branch 'develop' into feat/new_args_system 2019-10-29 19:33:56 +01:00
Matthias e63377980e Improve pairlist documentation 2019-10-25 19:47:37 +02:00
Matthias 45b83cc544 Don't require pair_whitelist for dynamicPairlist usecases 2019-10-25 07:07:01 +02:00
Matthias f3cfe147b5 Merge branch 'develop' into feat/new_args_system 2019-10-20 19:32:34 +02:00
Matthias ed8d805797 Make paths os independent to have tests pass on windows 2019-10-18 11:31:43 +02:00
Matthias a5c83b66df Add --dry-run to trade command 2019-10-15 06:53:16 +02:00
Matthias 85c4546333
Merge pull request #2343 from hroff-1902/move-experimental
Move experimental settings to ask_strategy
2019-10-10 16:08:11 +02:00
hroff-1902 23b5c0e833 Improve tests for handling deprecated settings 2019-10-09 18:25:57 +03:00
hroff-1902 2a9c06c40f Test added 2019-10-09 02:44:04 +03:00
Matthias 22733e44bf Add tests for --fee 2019-10-05 15:34:31 +02:00
Matthias b73426b91f Disable Defaulting to DefaultStrategy 2019-10-01 07:02:30 +02:00
hroff-1902 f6a88c6e9b Tests adjusted 2019-10-01 00:33:54 +03:00
Matthias e8106f3792 Fix most tests to have trade as default argument 2019-09-29 16:17:20 +02:00
Matthias db3b974479 Fix calling sequence 2019-09-29 16:17:20 +02:00
hroff-1902 d066ab2620
Merge pull request #2278 from freqtrade/remove_refresh
Remove refresh-pairs-cached
2019-09-24 09:07:25 +03:00
Matthias 3245ebccd4 Fix problme when no exchange is given to download-data 2019-09-21 11:25:27 +02:00
Matthias e66fa1cec6 Adjust tests to not use --refresh-pairs 2019-09-20 20:16:12 +02:00
hroff-1902 74a0f44230
Merge pull request #2276 from freqtrade/keep_original_config
Allow easy printing of loaded configuration
2019-09-20 20:59:33 +03:00
hroff-1902 dc825c249c
Make flake happy 2019-09-20 20:51:31 +03:00
Matthias 15a4df4c49 Mock create_datadir to make sure no folders are left behind 2019-09-20 08:34:18 +02:00
Matthias f0cf8d6a81 Allow easy printing of loaded configuration
(beforechanging types and applying defaults)
2019-09-20 07:23:32 +02:00
hroff-1902 50b4563912 Tests adjusted 2019-09-18 22:57:37 +03:00