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
Matthias
1d8d360a12
update _search_all_objects functioning
2022-10-14 14:32:30 +00:00
Matthias
994c1c5ea0
use Config typing in more places
2022-09-18 13:31:52 +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
Matthias
ba92e09b7b
list-strategies should find recursively as well
2022-04-23 09:11:50 +02:00
Matthias
c6927a1501
Fix argument spelling
2022-04-23 09:10:40 +02:00
Sam Germain
6df15a7af9
Recursively search subdirectories in user_data/strategies for a strategy
2022-03-31 08:12:02 -06:00
Matthias
e9c4e6a69d
Update derived strategy documentation
2022-03-20 13:21:09 +01:00
Matthias
49e087df5b
Allow Strategy subclassing in different files by enabling local imports
2022-03-20 13:07:06 +01:00
Simon Ebner
fde10f5395
Use pathlib.stem instead of str(x).ends_with
2021-10-23 12:26:07 +02:00
aayush-jain18
d294ef10d7
unexpected docstring params
2021-06-25 23:56:16 +05:30
aayush-jain18
a46f60bd94
spell corrections
2021-06-25 22:10:04 +05:30
Matthias
4ba7a2bbd2
Fix mypy update problems
2021-06-14 19:18:42 +02:00
Bernd Zeimetz
cd6620a044
Ignore broken symlinks while resolving strategies.
...
Without this fix the resolver tries to read from the broken symlink,
resulting in an exception that leads to the the rather confusing
error message
freqtrade.resolvers.iresolver - WARNING - Path "...../user_data/strategies" does not exist.
as a result of a symlink matching .py not being readable.
2021-06-13 21:42:09 +02:00
Matthias
191a31db30
NameErrors should not stop loading a different strategy
2021-04-23 19:36:26 +02:00
Matthias
63e1cba597
fix some typos
2020-10-04 09:12:52 +02:00
Matthias
350fcc071e
Don't use __code__
...
__code__ is a special method name used by python already
source:
https://docs.python.org/3/reference/datamodel.html#special-method-names
2020-09-29 06:35:47 +02:00
Matthias
becccca3d1
Add test for __code__ loading
2020-09-29 06:35:47 +02:00
Matthias
ba10bd7756
Add strategy code to __code__
2020-09-29 06:35:47 +02:00
Matthias
253b7b763e
Apply isort to freqtrade codebase
2020-09-28 19:40:46 +02:00
Matthias
8c9297e1f0
Don't crash if a strategy imports something wrongly
2020-09-05 16:51:19 +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
hroff-1902
537596001e
Allow derived strategies
2020-02-03 06:20:01 +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
1c5f8070e5
Refactor build_paths to staticmethod
2019-12-23 09:53:55 +01:00
Matthias
44289e4c58
Allow not using files from user_dir
2019-10-30 15:57:08 +01: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
hroff-1902
849d694c27
Don't inherit from object
2019-09-12 04:39:52 +03:00
Matthias
aaeeb9c0c6
Merge branch 'develop' into align_userdata
2019-08-21 19:41:10 +02:00
Matthias
ea4db0ffb6
Pass object-name to loader to fix logging
2019-08-18 18:11:34 +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
Matthias
dcddfce5bc
Fix small mistakes
2019-07-21 19:21:50 +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