Commit Graph

237 Commits

Author SHA1 Message Date
Matthias 995d3e1ed5 Don't search internal path for Hyperopt files 2020-08-06 09:07:48 +02:00
Matthias 7d6708fc6a Reduce severity of hyperopt "does not provide" messages
closes #3371
2020-07-20 20:04:23 +02:00
Matthias d337fb6c6a Update some comments 2020-06-15 06:35:31 +02:00
Matthias 09fe3c6f5e create compatibility code 2020-06-02 09:52:30 +02:00
Matthias cadc50ce9b Replace more occurances of ticker_interval with timeframe 2020-06-01 20:49:40 +02:00
Matthias 908449640a Disabledataframecheck is not in internals and does not belong there 2020-05-30 19:17:17 +02:00
Matthias ea5daee505 Allow changing severity of strategy-validations to log only. 2020-05-29 19:37:18 +02:00
Matthias 5adbe3c2d3 initial search path is optional ... 2020-02-19 19:50:01 +01:00
Matthias d91b9d1253 Fix some tests, don't default to freqtrade/strategy for imports 2020-02-18 20:26:20 +01:00
hroff-1902 6139239b86 Address points stated in comments 2020-02-15 20:43:11 +03:00
hroff-1902 e8c0a0bcd3 Make mypy happy 2020-02-15 06:18:00 +03:00
hroff-1902 06b84b4086 Remove redundant code 2020-02-14 23:13:49 +03:00
hroff-1902 c92e1d97d6 Attempt to make mypy happy 2020-02-14 21:52:02 +03:00
hroff-1902 9cbf8c5f00 Add status for listed strategies 2020-02-14 21:15:36 +03:00
Matthias fff8ced3b0
Merge pull request #2843 from hroff-1902/allow-derived-strategies
Allow derived strategies
2020-02-08 09:15:35 +01:00
Matthias 97e48080e8
Merge pull request #2839 from hroff-1902/list-hyperopts-2
Add list-hyperopts subcommand
2020-02-06 07:06:36 +01:00
hroff-1902 537596001e Allow derived strategies 2020-02-03 06:20:01 +03:00
hroff-1902 3fe39a3e1b Rename constant 2020-02-02 19:41:22 +03:00
hroff-1902 f3d500085c Add some type hints 2020-02-02 07:00:40 +03:00
Matthias 1ffda29fd2 Adjust improts to new exception location 2019-12-30 15:02:17 +01:00
Matthias 402c761a23 Change loglevel of Path output to debug 2019-12-24 15:44:04 +01:00
Matthias 2ab989e274 Cleanup some code and add option 2019-12-24 15:28:35 +01:00
Matthias 5a11ca86bb Move instanciation out of search_object 2019-12-24 14:01:28 +01:00
Matthias 25e6d6a7bf Combine load_object methods into one 2019-12-24 13:54:46 +01:00
Matthias eb1040ddb7 Convert resolvers to classmethods 2019-12-24 13:34:37 +01:00
Matthias c6d2233978 Convert StrategyLoader to static loader 2019-12-23 10:23:48 +01:00
Matthias 6d5aca4f32 Convert hyperoptloss resolver to static loader 2019-12-23 10:09:08 +01:00
Matthias 248ef5a0ea Convert HyperoptResolver to static loader 2019-12-23 10:06:19 +01:00
Matthias 560acb7cea Convert ExchangeResolver to static loader class 2019-12-23 10:03:18 +01:00
Matthias 5fefa9e97c Convert PairlistResolver to static loader 2019-12-23 09:56:12 +01:00
Matthias 1c5f8070e5 Refactor build_paths to staticmethod 2019-12-23 09:53:55 +01:00
Matthias 1ff0d0f1fa Add unfilledtimeout to strategy overrides 2019-12-22 09:35:06 +01:00
Matthias cbb187e9b9 Use constant for Strategy and hyperopt userdirpaths 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 5b62ad876e Remove hyperopts occurances 2019-11-13 09:39:00 +01:00
Matthias 748fe94603 Merge branch 'develop' into volumeList_enhanced_filter 2019-11-09 15:34:47 +01:00
Matthias 7ff61f12e9 pass pairlist position into the pairlists 2019-11-09 15:04:04 +01:00
Matthias bf69b055eb Add name getting 2019-11-09 09:07:46 +01:00
Matthias eaf3fd80c5 Allow blacklist-verification from all pairlists 2019-11-09 07:19:46 +01:00
Matthias e632720c02 Allow chaining of pairlists 2019-11-09 06:55:16 +01:00
Matthias 6f01d7f8ea Merge branch 'develop' into feat/new_args_system 2019-11-03 10:09:49 +01:00
Matthias 861f10dca6 Allow populate-indicators to come from strategy 2019-11-02 11:10:33 +01:00
Matthias dee9b84322 Merge branch 'develop' into volumeList_enhanced_filter 2019-10-30 16:41:17 +01:00
Matthias fd9c02603c Introduce chainable PairlistFilters 2019-10-30 15:59:52 +01:00
Matthias 44289e4c58 Allow not using files from user_dir 2019-10-30 15:57:08 +01:00
Matthias a368646745 Merge branch 'develop' into feat/new_args_system 2019-10-29 19:33:56 +01:00
Matthias 73f5bff9c5 Add validation to make sure strategies work on that exchange 2019-10-27 10:38:21 +01:00
hroff-1902 4ce278a06e
Merge branch 'develop' into feat/new_args_system 2019-10-23 22:45:06 +03:00
Matthias 336808ec54 Correctly pass validate flag to fallback exchange too 2019-10-22 14:02:47 +02:00
hroff-1902 3cf95f9f6c
Merge pull request #2369 from freqtrade/disable_exchangevalidate
Allow skipping of exchange validation
2019-10-22 12:22:48 +03:00
Matthias f3cfe147b5 Merge branch 'develop' into feat/new_args_system 2019-10-20 19:32:34 +02:00
hroff-1902 4ec83a2c24 DefaultHyperOpts --> DefaultHyperOpt; hyperopts --> hyperopt where it's not correct 2019-10-18 23:29:19 +03:00
Matthias fda71085e0 Refactor load-path building to parent class 2019-10-16 08:12:24 +02:00
Matthias 1a765f1a17 Return generator instead of Object from _get_valid_object 2019-10-16 08:11:42 +02:00
Matthias 89283ef486 Rename --custom-hyperopt to --hyperopt 2019-10-14 19:42:28 +02:00
Matthias 76ad5bea0e Load correct exchange class
closes #2371
2019-10-14 11:36:42 +02:00
Matthias f3f6e9d365 Allow skipping of exchange validation 2019-10-13 10:33:22 +02:00
hroff-1902 ff1fa17dc3 No default value for the config parameter 2019-10-13 03:41:25 +03:00
hroff-1902 08e6d8a780 Rollback defaulting to DefaultHyperOptLoss 2019-10-11 23:33:22 +03:00
hroff-1902 4c1705fb1e No specific handling for trailing_stop_positive 2019-10-11 22:59:13 +03:00
hroff-1902 c4105436eb Disable defaulting to DefaultHyperOpts and DefaultHyperOptLoss 2019-10-10 04:37:32 +03:00
hroff-1902 9b23376415 Move experimental settings to ask_strategy 2019-10-05 13:29:59 +03:00
Matthias b73426b91f Disable Defaulting to DefaultStrategy 2019-10-01 07:02:30 +02:00
hroff-1902 9db915853a Allow use of config in custom hyperopt methods 2019-09-26 11:59:21 +03:00
hroff-1902 69f29e8907 minor: Cleanup for backtesting 2019-09-18 22:57:17 +03:00
hroff-1902 849d694c27 Don't inherit from object 2019-09-12 04:39:52 +03:00
hroff-1902 2b00a5d90a Get rid of import_strategy() 2019-09-08 02:43:02 +03:00
Matthias 7af445adf3
Merge pull request #2137 from hroff-1902/hyperopt-adaptive-roi-space
Hyperopt: adaptive roi_space
2019-09-06 06:26:52 +02:00
Matthias 0e62b8bd85 Update strategy_version to INTERFACE_VERSION 2019-08-26 20:16:03 +02:00
Matthias 92011f8294 Introduce strategy_version variable 2019-08-26 19:44:33 +02:00
Matthias aaeeb9c0c6 Merge branch 'develop' into align_userdata 2019-08-21 19:41:10 +02:00
hroff-1902 17b3f01b28
Merge branch 'develop' into hyperopt-adaptive-roi-space 2019-08-20 23:00:23 +03:00
Matthias ea4db0ffb6 Pass object-name to loader to fix logging 2019-08-18 18:11:34 +02:00
hroff-1902 5b9711c002 adaptive roi_space 2019-08-14 13:25:49 +03:00
Matthias 8066aba6fe
Merge pull request #2044 from freqtrade/pyup/scheduled-update-2019-07-22
Scheduled weekly dependency update for week 29
2019-07-29 19:37:28 +02:00
Matthias 14b43b504b Use user_data_dir for hyperopt 2019-07-28 15:05:17 +02:00
Matthias a3c605f147 PairListResovler to use user_data_dir 2019-07-28 14:58:06 +02:00
Matthias 9de8d7276e have strategyresolver use user_data_dir 2019-07-28 14:57:05 +02:00
Matthias 482f5f7a26 Update plotly dependencies (will break 3.x installations) 2019-07-22 20:39:38 +02:00
hroff-1902 04382d4b44 add --hyperopt-path option 2019-07-22 20:23:18 +03:00
Matthias dcddfce5bc Fix small mistakes 2019-07-21 19:21:50 +02:00
Matthias e6528be63d Config is not optional for hyperopt resolver 2019-07-21 16:20:45 +02:00
Matthias 08ca260e82 Simplify return valuef rom _load_object 2019-07-21 15:29:17 +02:00
Matthias b35efd96dc Extract load_object from multiple paths to iResolver 2019-07-21 15:03:12 +02:00
Matthias 89db5c6bab Extract strategy-specific stuff from search logic
will allow extracting all to IResolver
2019-07-21 14:52:59 +02:00
Matthias 790838d897
Merge pull request #2024 from freqtrade/custom_hyperopt_loss
Custom hyperopt loss function (and sharpe-ratio)
2019-07-20 12:48:26 +02:00
Matthias 8b4827ad85 Convert create_datadir to Pathlib 2019-07-18 19:48:19 +02:00
Matthias 49b95fe008 use Path.cwd() instead of odd parent.parent.parent structure 2019-07-17 20:52:17 +02:00
Matthias d23179e25c Update hyperopt-loss to use resolver 2019-07-16 06:27:43 +02:00
Matthias 2e1269c474 Revert comment for Exception that's not changed 2019-07-14 13:30:57 +02:00
hroff-1902 b499e74502 minor improvements to resolvers 2019-07-12 23:45:49 +03:00
Matthias 0c7d14fe50 Check if timeframes is available and fail gracefully otherwise 2019-06-30 20:30:31 +02:00
hroff-1902 6fc6eaf742 minor: couple of typos fixed 2019-06-26 22:23:16 +03:00
Matthias 4cbcb5f36f Move .title to ExchangeResolver (it does not make sense to do this over
and over again)
2019-06-22 16:52:14 +02:00
Matthias 7a0d86660e Mypy type errors 2019-06-21 07:10:30 +02:00
Matthias f907a487c8 make ticker_interval available to hyperopt functions 2019-06-21 07:07:21 +02:00
Matthias 236c392d28 Don't load hyperopts / optimize dependency tree if that module is not
used
2019-05-25 20:00:31 +02:00
Matthias 2cee716181 Gracefully handle pickle-errors when @staticmethod is used
pOinted out in https://github.com/freqtrade/freqtrade-strategies/issues/28
2019-04-16 20:25:48 +02:00
Matthias 06f4e627fc Add stake_currency to strategy, fix documentation typo 2019-03-23 20:40:07 +01:00
Matthias d66e6510e3
Merge pull request #1645 from mishaker/trailing_only_offset
Adding an option for trailing stoploss: "trailing_only_offset_is_reached"
2019-03-16 10:43:56 +01:00
Matthias 44acf2f471 Catch syntaxerror on import 2019-03-15 19:50:38 +01:00
misagh 9a226ec7e6 conflict with develop resolved 2019-03-14 07:56:21 +01:00
Matthias ff9231eec4 Format attributes-table 2019-03-14 06:42:27 +01:00
Matthias 94b2d48d02 Add default value for minimal_roi (1000%)
fix #1633
2019-03-12 19:37:58 +01:00
misagh a772ab323e adding the option to resolver 2019-03-12 15:43:53 +01:00
Matthias f9aa3c27be Catch ModuleNotFoundError when importing external code 2019-03-11 19:49:03 +01:00
Matthias be754244a3 Only resolve exchanges from correct location 2019-02-21 07:07:45 +01:00
Matthias 4315c157c7 Move exception handling to resolver, add test 2019-02-20 20:13:23 +01:00
iuvbio 3e2f90a32a formatting 2019-02-19 22:27:20 +01:00
iuvbio 481cf02db9 add test and fix exchange_resolver 2019-02-19 19:15:22 +01:00
iuvbio eed1c2344d delete unnecessary arguments 2019-02-18 01:03:09 +01:00
iuvbio fe792882b5 load generic class if no subclass exists 2019-02-17 14:42:55 +01:00
iuvbio c879591f45 add exchange_resolver to resolver init 2019-02-17 04:22:24 +01:00
iuvbio 2fb36b116d change variable names 2019-02-17 04:15:11 +01:00
iuvbio ca388a9acf create exchange_resolver 2019-02-17 04:01:43 +01:00
Misagh 421be5da86
Merge pull request #1511 from freqtrade/fix/more_settings_strategy
add more settings to strategy
2019-01-30 11:22:10 +01:00
Matthias 3c316fe3e4 Fix alignment 2019-01-25 19:14:38 +01:00
Matthias 74b03d0529 Add tests and default values for all experimental features 2019-01-24 07:03:41 +01:00
Matthias 97f6a45819 Allow more settings to come from strategy 2019-01-23 20:59:41 +01:00
Matthias e7800aa88a Import only what's necessary 2019-01-22 07:07:15 +01:00
Matthias a0df7b9d7c Use sell/buy trends from hyperopt file if available 2019-01-06 14:12:55 +01:00
Matthias f32232ba96 Add documentation for stoploss in strategy 2019-01-05 07:32:35 +01:00
Matthias cacb9ef3ad Loop twice 2019-01-05 07:25:35 +01:00
Matthias 00c5ac56d4 Print startup strategy summary 2019-01-05 07:24:15 +01:00
Matthias a7dc6b18aa Overridable attributs as list 2019-01-05 07:22:19 +01:00
Matthias 5e23442032 Simplify StrategyResolver by code deduplication 2019-01-05 07:20:38 +01:00
Matthias 4599c80e79 Add trailing-stop to strategy 2019-01-05 07:10:25 +01:00
misagh 510f78079b conflict with develop resolved 2018-12-09 15:16:38 +01:00
Matthias 3e2fa58029 load pairlists via resolver 2018-12-05 20:44:56 +01:00
Matthias 43031aa3bb Add missing path-error handler for hyperopt 2018-12-05 20:44:41 +01:00
misagh 962b02b079 one last step before tests 2018-11-25 22:02:59 +01:00
Matthias 1d35428c8d Rename get_valid_objects to get_valid object
it only ever returns one object ...
2018-11-25 10:08:27 +01:00
Matthias a3477e07eb Remove constructor, it's not needed in the baseclass 2018-11-25 09:55:36 +01:00
Matthias 20de8c82e4 Convert to Pathlib 2018-11-24 20:39:16 +01:00
Matthias cc7b820978 Move hyperoptresolver to resolvers package 2018-11-24 20:14:08 +01:00
Matthias 2c0d0946e6 Small stylistic improvements to strategyresolver 2018-11-24 20:02:29 +01:00
Matthias 21a093bcdb extract resolvers to IResolvers and it's own package 2018-11-24 20:00:02 +01:00