Commit Graph

44 Commits (92bcf672fb82b3c8a897ea537bfbdbbb287c3225)

Author SHA1 Message Date
Matthias adeb93dc9c ruff format: update strategy tests
2 years ago
Christian Clauss 99b4767bf4 Fix typos discovered by codespell
2 years ago
Matthias bb85efd6ad Add test for informative weekly merging
2 years ago
Matthias 2745a5d334 Rename informative_pair test
2 years ago
Matthias 0235db48a8 Prevent merge artifacts in "informative" pair
2 years ago
Matthias 4ed9ffbf31 Add test for behavior in #9490.
2 years ago
Matthias 61ed6aee62 Add test for new formatting
3 years ago
Matthias bef27467b6 Further improve test
3 years ago
Matthias 52f971cbb7 Improve existing test
3 years ago
Matthias 563e68e894 Don't hard-fail merge if there's no informative data
3 years ago
Matthias 6f86e30c7e Add leverage adjustment to "stoploss_from_absolute"
3 years ago
Matthias 027e023443 Stop from open with leverage
3 years ago
Matthias d0045673fa Add explicit test for stoploss_from_open
3 years ago
Matthias 2c0fbd8500 Simplify test slightly
3 years ago
Matthias 9b1fb02df8 Refactor generic data generation to conftest
4 years ago
Timothy Pogue 1ef1fc269e docstring and tests
4 years ago
Matthias 4aec2db14d Remove isClose from tests in favor of pytest.approx
4 years ago
Matthias a2af7b4fd8 Test non-ffill approach
4 years ago
Matthias baefda80d1 Enable flake8 E226 rule
4 years ago
Matthias 8a6823deb1 Convert InformativeData to dataclass
4 years ago
Matthias c620e38c7d Informative decorator updates for futures
4 years ago
Matthias 325fd8a780 Add test with absolute values
4 years ago
Guillermo Rodríguez 40cd478c6d Calculate stoploss_from_absolute for shorts
4 years ago
Matthias 1fb48a1f53 Add TODO-lev for "stoploss_from_absolute".
4 years ago
Guillermo Rodríguez d28287880c Add support for shorts in strategy.stoploss_from_open
4 years ago
Matthias 25e1142f89 Update Enum imports
4 years ago
Matthias 9b9d61c6d6 Remove SPOT_ candletype
4 years ago
Matthias a870e0962a Fix some obtruse (test)bugs
4 years ago
Matthias 51e54a666c Merge branch 'feat/short' into pr/samgermain/5780
4 years ago
Rokas Kupstys 78a00f2518 Use market data to get base and quote currencies in @informative() decorator.
4 years ago
Sam Germain 920151934a Added candle_type to a lot of methods, wrote some tests
4 years ago
Matthias 77388eb423 Improve generate_test_data to make it easier to use
5 years ago
Rokas Kupstys eab7f8f694 [SQUASH] Doh.
5 years ago
Rokas Kupstys e4ca42faec [SQUASH] Update stoploss_from_absolute to behave more like stoploss_from_open and add a test for it.
5 years ago
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.
5 years ago
Rokas Kupstys 5dc78a0c66 [SQUASH] Get rid of _initialize() and fix informatives for dynamic pairlists.
5 years ago
Rokas Kupstys dfa61b7ad2 [SQUASH] Fix informatives for each pair not being created because dataprovider was not available.
5 years ago
Rokas Kupstys 1fdb656334 Add a decorator which can be used to declare populate_indicators() functions for informative pairs.
5 years ago
Brook Miles ce1ed76269 complete stoploss_from_open and associated test
5 years ago
Matthias 07bc0c3fce Improve merge_informative_pairs to properly merge correct timeframes
5 years ago
Matthias 9df366d943 Apply isort to tests
6 years ago
Matthias cc684c5141 Correctly handle identical timerame merges
6 years ago
Matthias 7bc8927914 Add documentation for merge_informative_pair helper
6 years ago
Matthias bd4f3d838a Implement merge_informative_pairs helper
6 years ago