Matthias
b682fc446e
Graciously fail if strategy has freqAI code, but freqAI is not enabled.
2022-08-13 09:53:18 +02:00
Matthias
c190d57f1a
Test populate_any_indicator interface
2022-08-13 09:48:59 +02:00
robcaulk
aef086b02e
Improved dict typing, timeframe parser, collect dates associated with training data points
2022-08-09 15:30:25 +02:00
Matthias
9a82898d6b
Merge branch 'develop' into feat/freqai
2022-08-09 06:22:57 +02:00
robcaulk
eb8bde37c1
Add lightgbm classifier, add classifier check test, fix classifier bug.
2022-08-06 17:51:21 +02:00
Matthias
778833f90e
Modify comment in new test-strategies to point out their purpose
2022-08-04 07:17:26 +02:00
robcaulk
d830105605
*BREAKING CHANGE* remove unnecessary arguments from populate_any_indicators(), accommodate tests
2022-07-31 17:05:29 +02:00
Kavinkumar
a4bada3ebe
Partial exit using average price ( #6545 )
...
Introduce Partial exits
2022-07-31 14:19:04 +02:00
Matthias
dc82675f00
Add Test for liquidation in stop-loss-reached
2022-07-30 17:28:19 +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
Matthias
81c1aa3c13
Update imports in freqAI sample strategies
2022-07-23 17:08:05 +02:00
Matthias
8a3cffcd1b
Remove remaining CustomModel references
2022-07-23 17:08:05 +02:00
Matthias
8fa6e8b4ba
Remove freqAI model bridge in favor of self.freqai
2022-07-23 17:08:05 +02:00
robcaulk
8f86b0deaa
*breaking change* simplify user strat by consolidating feature loops into backend
2022-07-21 12:24:22 +02:00
robcaulk
286bd0c40b
follow string for adding a strat to tests/strategy/strats
2022-07-20 15:00:02 +02:00
robcaulk
c43935e82a
create dedicated minimal freqai test strat
2022-07-20 14:39:28 +02:00
Matthias
29efe75a6f
Update hyperoptable strategy to use V3 interface
2022-07-16 11:47:32 +02:00
Matthias
07aa372e2a
Ensure bot_loop_start is called in hyperopt, too
...
closes #7001
2022-07-03 14:10:59 +02:00
Matthias
ec40e79362
Merge pull request #6874 from froggleston/buy_reasons
...
Buy reasons
2022-06-15 19:06:00 +02:00
Matthias
b211a5156f
Add test for strategy_wrapper lazy loading
2022-06-09 19:36:15 +02:00
Matthias
a790bad1e4
Add entry_tag to leverage callback
...
closes #6929
2022-06-05 10:24:54 +02:00
Matthias
8e2c7e1298
extract detect_parameters to separate function
2022-05-30 07:26:26 +02:00
Matthias
5bf021be2e
Enhance hyperoptable strategy to test instance parameters
2022-05-30 07:08:37 +02:00
Matthias
3e7bf6a9ef
Remove imports in test_strategy2
2022-05-27 19:31:34 +02:00
Matthias
b04fe5d4ee
Simplify test v2 strategy
2022-05-27 19:30:14 +02:00
Matthias
43b7955fc2
Fully rely on pathlib
2022-05-26 19:37:55 +02:00
froggleston
edd474e663
Another test fix attempt
2022-05-24 21:21:20 +01:00
froggleston
22b9805e47
Fix all tests
2022-05-24 21:04:23 +01:00
froggleston
3adda84b96
Update docs, add test
2022-05-24 20:27:15 +01:00
Matthias
d6773bc32c
Merge pull request #6886 from freqtrade/fix/typing
...
Fix/typing
2022-05-24 19:41:59 +02:00
Matthias
7f3853bbcd
Merge pull request #6883 from freqtrade/makeProcessCandlesTrue
...
Change default value of process_only_new_candles to True since False …
2022-05-24 07:03:14 +02:00
Matthias
23e089061b
Merge pull request #6870 from freqtrade/should_exit_list
...
Should exit list
2022-05-24 06:57:50 +02:00
Matthias
f1a72e448a
Align interfaces and strategy templates
2022-05-24 06:54:16 +02:00
Matthias
42ae8ba6fb
Refactor hyperopt parameters to separate file
2022-05-23 20:18:09 +02: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
3692fcd3d5
Improve exit signal sequence
2022-05-22 11:01:18 +02:00
Matthias
ce3bfd59f5
Add explicit should_sell test
2022-05-22 10:31:29 +02:00
Matthias
b7388557a9
Update interface tests
2022-05-22 10:20:01 +02:00
Matthias
995c48b642
Merge branch 'develop' into pairlocks_direction
2022-05-01 14:59:04 +02:00
Sam Germain
23431a7106
removed invalid plotting and test_default_strategy tests for bot_start, edited edge test
2022-04-29 22:21:22 -06:00
Sam Germain
810e190e16
added tests for bot_start
2022-04-25 17:48:57 -06:00
Matthias
ad6e5c5312
Test informative fallback again
2022-04-25 07:41:51 +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
737bdfe844
Use "side" parameter when calling Pairlocks
2022-04-24 14:33:24 +02:00
Matthias
a2af7b4fd8
Test non-ffill approach
2022-04-23 11:25:20 +02:00
Matthias
baefda80d1
Enable flake8 E226 rule
2022-04-11 18:02:06 +02:00
Matthias
ffff45e76b
simplify exit message
2022-04-10 08:44:49 +02:00
Matthias
299dd84cfe
Merge pull request #6656 from freqtrade/use_sell_signal
...
Use sell signal -> use_exit_signal
2022-04-06 19:46:46 +02:00
மனோஜ்குமார் பழனிச்சாமி
7e97e58820
renamed enter-side
2022-04-06 06:32:13 +05:30
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
1917527179
custom_sell -> custom_exit
2022-04-04 17:04:43 +02:00
Matthias
6f1b14c013
Update buy_timeout and sell_timeout methods
2022-03-25 19:57:06 +01:00
Matthias
dcfa3e8648
Update SellType to ExitType
2022-03-25 06:55:37 +01:00
Matthias
c07883b1f9
Move ExitCheckTuple to enums
2022-03-25 06:50:18 +01:00
Matthias
8d111d357a
Update SellCheckTuple to new naming
2022-03-25 06:46:29 +01:00
Matthias
d7f76ee452
Update confirm_trade_exit to use sell_reason terminology
2022-03-25 06:37:40 +01:00
Matthias
b1e3ead88b
Merge branch 'develop' into feat/short
2022-03-22 20:28:38 +01:00
Matthias
6ec7b84b92
Modify hyperoptable strategy to use relative importing
2022-03-20 13:12:26 +01:00
Matthias
49e087df5b
Allow Strategy subclassing in different files by enabling local imports
2022-03-20 13:07:06 +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
28046c6a22
Change populate_buy_trend to populate_entry_trend
2022-03-12 09:38:28 +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
b9b5d749bb
Fix typo causing an implicit bug
2022-03-12 08:58:59 +01:00
Matthias
0aa170ac95
Check can_short in live-mode as well.
2022-03-12 06:58:22 +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
f0f5a50975
Update tests to test DCA for shorts
2022-02-27 15:44:23 +01:00
Matthias
8952829adc
Merge branch 'develop' into feat/short
2022-02-23 06:28:15 +01:00
Matthias
70f4305dfa
don't allow short trades in spot mode
2022-02-21 19:19:12 +01:00
Sam Germain
fc2d3649a1
edited todos
2022-02-12 16:23:14 -06:00
Matthias
08803524bd
align variable naming to use current_time
2022-02-12 15:21:46 +01:00
Sam Germain
c47c54c16c
removed strategy_test_v3.populate_sell_trend # TODO-lev: Add short logic, because it looked like the short logic was already there
2022-02-03 17:48:33 -06:00
Matthias
cf7edace2b
Merge pull request #6312 from freqtrade/short_informative_decorator
...
Short informative decorator
2022-01-30 15:33:52 +01:00
Matthias
8a6823deb1
Convert InformativeData to dataclass
2022-01-29 19:59:54 +01:00
Matthias
463714832d
Merge branch 'develop' into feat/short
2022-01-29 14:19:30 +01:00
Matthias
c620e38c7d
Informative decorator updates for futures
2022-01-28 19:17:46 +01:00
Matthias
13978e9893
Merge pull request #6276 from clover-es/feat/short
...
Add support for shorts in strategy.stoploss_from_absolute()
2022-01-25 19:11:05 +01:00
Matthias
325fd8a780
Add test with absolute values
2022-01-25 06:44:20 +01:00
Matthias
381bda1e4a
Update test to add new argument
2022-01-24 07:02:02 +01:00
Guillermo Rodríguez
40cd478c6d
Calculate stoploss_from_absolute for shorts
2022-01-22 18:01:02 +01:00
Matthias
f090dcc597
Merge branch 'develop' into feat/short
2022-01-22 17:56:01 +01:00
Matthias
1fb48a1f53
Add TODO-lev for "stoploss_from_absolute".
2022-01-18 16:52:34 +01:00
Matthias
6c4b261469
Convert nan to None in get_signal.
2022-01-16 08:04:39 +01:00
Matthias
270d7ebbf5
Simplify test strategy
2022-01-15 17:36:42 +01:00
Guillermo Rodríguez
d28287880c
Add support for shorts in strategy.stoploss_from_open
...
Signed-off-by: Guillermo Rodríguez <guillebep@gmail.com>
2022-01-15 04:30:30 +01:00
Reigo Reinmets
0bca07a32a
Added min_stake, max_stake. Removed pair as its included in trade.
2022-01-08 17:20:02 +02:00
Sam Germain
707a6507b5
removed redundant todos
2022-01-02 21:46:06 -06:00
Reigo Reinmets
de79d25caf
Refactoring to use strategy based configuration
2021-12-24 12:38:43 +02:00
Reigo Reinmets
db2f0660fa
Some more compatibility fixes.
2021-12-18 11:15:59 +02:00
Reigo Reinmets
30673f84f9
Flake8 compatibility
2021-12-18 11:00:25 +02:00
Reigo Reinmets
462270bc5a
Fix a case where the amount was not recalculated. Added additional temporary logging.
2021-12-16 22:57:56 +02:00
Reigo Reinmets
1017b68af9
Fix some unit-tests. Use common trade entry code.
2021-12-13 02:27:09 +02:00
Reigo Reinmets
f97662e816
Add position_adjustment_enable config keyword to enable it.
2021-12-11 00:28:12 +02:00
Matthias
25e1142f89
Update Enum imports
2021-12-08 15:59:20 +01:00
Matthias
9b9d61c6d6
Remove SPOT_ candletype
2021-12-08 14:38:09 +01:00
Matthias
a870e0962a
Fix some obtruse (test)bugs
2021-12-07 07:25:00 +01:00
Matthias
c20157e64f
Add compatibility code for existing informative_pairs implementation
2021-11-28 15:43:04 +01:00
Matthias
51e54a666c
Merge branch 'feat/short' into pr/samgermain/5780
2021-11-23 19:01:07 +01:00
Matthias
ce0593c0e1
Merge branch 'develop' into feat/short
2021-11-23 07:35:26 +01:00
Rokas Kupstys
78a00f2518
Use market data to get base and quote currencies in @informative() decorator.
2021-11-22 09:27:45 +02:00
Sam Germain
920151934a
Added candle_type to a lot of methods, wrote some tests
2021-11-21 17:48:14 -06:00
Matthias
38362e0ec5
Update test names
2021-11-14 09:02:25 +01:00
Sam Germain
86e5b480a8
test_strategy_test_v2 for shorts
2021-11-13 19:56:29 -06:00
Matthias
ebc38159b8
Merge branch 'develop' into feat/short
2021-11-06 15:24:52 +01:00
Matthias
431b96de98
Merge branch 'develop' into pr/theluxaz/5710
2021-11-03 19:43:36 +01:00
Matthias
6b90b4a144
Test "get-signal"
2021-10-31 10:53:30 +01:00
Matthias
c094ac5762
Merge branch 'develop' into feat/short
2021-10-30 19:45:19 +02:00
Matthias
c579fcfc19
Add tests and documentation for unlock_reason
2021-10-30 09:51:09 +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
theluxaz
0e085298e9
Fixed test failures.
2021-10-21 17:25:38 +03:00
Sam Germain
56ff0a95a7
Merge branch 'feat/short' into lev-freqtradebot
2021-10-03 02:26:41 -06:00
Sam Germain
d3f7207fe6
Merge branch 'develop' into feat/short
2021-10-03 02:12:25 -06:00
Matthias
77388eb423
Improve generate_test_data to make it easier to use
2021-10-02 15:23:48 +02:00
Sam Germain
1a132758d0
merged with feat/short
2021-09-27 23:26:20 -06:00
Matthias
84e013de2d
Update confirm_trade_entry to support "side" parameter
2021-09-26 19:33:22 +02:00
Matthias
4fd00db630
Use "combined" enter_tag column
2021-09-26 15:22:37 +02:00
Matthias
2a678bdbb4
Update buy_tag column to long_tag
2021-09-26 08:37:44 +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
4c6b1cd55b
Add very simple short logic to test-strategy
2021-09-22 20:36:03 +02:00
Matthias
5928ba9c88
Test and document leverage strategy callback
2021-09-22 20:14:52 +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
d7c7448632
merged lev-freqtradebot with lev-strat
2021-09-19 19:06:43 -06:00
Sam Germain
778f0d9d0a
Merged feat/short into lev-strat
2021-09-19 17:44:12 -06:00
Rokas Kupstys
eab7f8f694
[SQUASH] Doh.
2021-09-18 15:44:21 +03:00
Rokas Kupstys
e4ca42faec
[SQUASH] Update stoploss_from_absolute to behave more like stoploss_from_open and add a test for it.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
7e6aa9390a
[SQUASH] Unconditionally include quote currency when asset is explicitly specified. Added docs suggesting to use string formatting to make strategy independent of configured stake currency.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
5dc78a0c66
[SQUASH] Get rid of _initialize() and fix informatives for dynamic pairlists.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
dfa61b7ad2
[SQUASH] Fix informatives for each pair not being created because dataprovider was not available.
...
Fix not being able to have informative dataframe of a pair in whitelist.
2021-09-18 10:48:53 +03: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
4d558879e9
Merge branch 'feat/short' into pr/samgermain/5378
2021-09-17 19:33:35 +02:00
Sam Germain
1f38088d7b
Merged with develop
2021-09-09 13:56:46 -06:00
Sam Germain
f1a8b81896
sorted test interfac
2021-09-08 01:27:08 -06:00
Sam Germain
e13b0414d8
Merge branch 'lev-strat' into lev-freqtradebot
2021-09-08 00:00:53 -06:00
Sam Germain
ff790e8fd3
merged with caplog-clear-freqtradebot
2021-09-07 22:12:49 -06:00
Matthias
a8f28ffb11
Increase test coverage
2021-09-05 15:34:57 +02:00
Matthias
2e50948699
Fix some tests
2021-09-04 20:23:51 +02:00