Commit Graph

65 Commits

Author SHA1 Message Date
Matthias 222ecdecd2 Improve code quality 2023-03-19 17:50:08 +01:00
Matthias c8ecedf6d5 Clarify a variable via typehint 2023-01-17 20:05:18 +01:00
Antonio Della Fortuna b0f1d914c8 Changed max_open_trades type to int or inf 2023-01-15 11:44:10 +01:00
Antonio Della Fortuna f2fa476dc6 max_open_trades should be an integer
Max open trades will be always an integer in the strategy (-1 for infinity), but in the config -1 will be parsed as infinity
2023-01-04 16:09:27 +01:00
Antonio Della Fortuna 5fd85368a9 Added support for max_open_trades hyperopting 2023-01-04 10:34:44 +01:00
robcaulk 6ff0e66ddf ensure strat tests are updated 2022-11-12 11:13:31 +01:00
robcaulk d1a0874683 merge develop into feat/freqai-rl-dev 2022-10-30 10:13:03 +01:00
Evgeniy Vladimirov 82d75d8914 Fix tests that failed due to new strategy. 2022-10-16 14:59:55 +03:00
Matthias 4a8cb3359b Fix broken tests 2022-10-14 16:07:49 +00:00
Matthias 9d4ba767c4 Update usages of search_all_objects 2022-10-14 14:50:52 +00:00
robcaulk ea8e34e192 Merge branch 'develop' into dev-merge-rl 2022-09-22 19:46:50 +02:00
Matthias 32d46e8a6b Improve fixture naming 2022-09-19 20:59:53 +02:00
robcaulk d056d766ed make tests pass 2022-09-17 17:46:47 +02:00
Matthias 104a73025d Uppercase TimeInForce (align with ccxt) 2022-08-27 10:30:06 +02:00
Matthias f55d5ffd8c Don't fail when `--strategy-path` is not a valid directory.
closes #7264
2022-08-22 09:20:14 +00:00
robcaulk eb8bde37c1 Add lightgbm classifier, add classifier check test, fix classifier bug. 2022-08-06 17:51:21 +02:00
Matthias 3273881282 Merge branch 'develop' into feat/freqai 2022-07-28 06:36:38 +02:00
Matthias 2595e40e47 Remove unused test-strategy 2022-07-27 06:47:16 +02:00
robcaulk e213d0ad55 isolate data_drawer functions from data_kitchen, accommodate tests, add new test 2022-07-26 10:24:14 +02:00
robcaulk 286bd0c40b follow string for adding a strat to tests/strategy/strats 2022-07-20 15:00:02 +02:00
Matthias 29efe75a6f Update hyperoptable strategy to use V3 interface 2022-07-16 11:47:32 +02:00
froggleston 22b9805e47 Fix all tests 2022-05-24 21:04:23 +01:00
robcaulk 5c4014ee62 Change default value of process_only_new_candles to True since False is an uncommon usecase for expert strategy devs 2022-05-23 10:24:58 +02:00
Matthias 9bb0f1f675 Move legacy strategy to "broken strats" folder 2022-04-25 07:11:32 +02:00
Matthias ec2582a4ae Update tests to no longer use Strategy V1 2022-04-25 07:02:09 +02:00
Matthias 8d95e76d26 Add tests for new naming definitions 2022-04-05 20:43:39 +02:00
Matthias 4897731030 use_sell_signal -> use_exit_signal 2022-04-05 20:10:20 +02:00
Matthias bba9629a2a Rename sell_profit_only to exit_profit_only 2022-04-05 20:00:35 +02:00
Matthias 6f1b14c013 Update buy_timeout and sell_timeout methods 2022-03-25 19:57:06 +01:00
Matthias b1e3ead88b Merge branch 'develop' into feat/short 2022-03-22 20:28:38 +01:00
Matthias aceaa3faec remove last ticker_interval compatibility shim 2022-03-20 09:33:47 +01:00
Matthias eb08b92180 Raise exception when ticker_interval is set. 2022-03-20 09:01:36 +01:00
Matthias b044dd2c45 Update custom_sell to custom_exit 2022-03-12 11:37:56 +01:00
Matthias fe62a71f4c Simplify implementation of "check_override" by extracting it to function 2022-03-12 10:58:48 +01:00
Matthias 6946203a7c Add tests and test-strategies for custom "implements" requirements 2022-03-12 10:05:16 +01:00
Matthias 9460fd8d75 Add Appropriate test for loading error 2022-03-12 09:49:20 +01:00
Matthias efc313b28b
Merge pull request #6512 from freqtrade/short_order_types
Short order types renamal
2022-03-12 09:32:16 +01:00
Matthias 20fc9459f2 Add test for can_short strategy attribute 2022-03-11 19:37:45 +01:00
Matthias 5d4386f037 Implement order_types validation 2022-03-09 06:37:08 +01:00
Matthias 3ff261e22c Update order time in force to use entry/exit wording 2022-03-07 19:55:15 +01:00
Matthias c094ac5762 Merge branch 'develop' into feat/short 2021-10-30 19:45:19 +02:00
Simon Ebner f7926083ca Clean up unclosed file handles
Close all file handles that are left dangling to avoid warnings such as

```
ResourceWarning: unclosed file <_io.TextIOWrapper
name='...' mode='r' encoding='UTF-8'> params = json_load(filename.open('r'))
```
2021-10-24 23:15:05 +02:00
Matthias a0ef89d910 Also support column-transition for V1 strategies 2021-09-22 20:52:55 +02:00
Matthias 0e13d57e57 Update advise_* methods to entry/exit 2021-09-22 20:42:31 +02:00
Matthias c791b95405 Use new TestStrategy (V3) by default in tests 2021-09-21 20:24:08 +02:00
Matthias 7a5c7e7020 Update some tests to use StrategyV3 2021-09-21 19:33:33 +02:00
Matthias 4b5cd891cd Add V3 test strategy 2021-09-21 07:12:46 +02:00
Sam Germain 778f0d9d0a Merged feat/short into lev-strat 2021-09-19 17:44:12 -06:00
Rokas Kupstys 1fdb656334 Add a decorator which can be used to declare populate_indicators() functions for informative pairs. 2021-09-18 10:48:18 +03:00
Matthias ca44d2e092 Merge branch 'feat/short' into pr/samgermain/5378 2021-09-04 19:54:34 +02:00