Commit Graph

53 Commits (bfdbf0248c187c9b07b6a308943bda70a94de4e2)

Author SHA1 Message Date
Matthias f77fedbea4 chore: move available_protections constant to test file (it's only used there)
1 year ago
Matthias 39c582dac2 tests: move protection-validation test to protection test file
1 year ago
Matthias b8feefc541 tests: update protection tests
1 year ago
Matthias 57139295b5 tests: Add unlock_at test
2 years ago
Matthias be3fcd90e2 Remove unneeded property
2 years ago
Matthias 65972d9c0c Add cooldown with timeperiod test
2 years ago
Matthias d13f47ec0b align wording to simplify "locking for" element
2 years ago
simwai 77b4689ac8 Fixed implementation of unlock_at and updated unit tests
2 years ago
simwai 2b456cbdeb Added unlock_at field for protection config
2 years ago
Matthias ca1fe06035 ruff format: tests/plugins
2 years ago
Matthias f52c3677ca Move test comment out of the test data
2 years ago
Matthias 52f12b704b Avoid time colision when creating orders in test
2 years ago
Matthias bbce738523 Improve tests around timezone
3 years ago
Matthias 9d6e973e5b remove .query from most tests
3 years ago
Matthias ad49541947 Adapt Tests for new mandatory columns
3 years ago
Matthias 966de19611 Improve test resiliance by properly setting Order object
4 years ago
Matthias 47b3143534 Simplify and fix some tests
4 years ago
Matthias b427c7ff13 Use diff. close time to avoid buggy behavior
4 years ago
Matthias d93bb82193
Add more Commits to failing test
4 years ago
Matthias aa1bf2adbd Try fix windows testfailure
4 years ago
Matthias cc3ead9d7b Set required_profit for stoploss guard, allowing to ignore small stoplosses.
4 years ago
Matthias a02d02ac12 Enhance protections tests to have orders in mock trade
4 years ago
Matthias f5f599c7f0 Add LowProfitPairs only_per_side option
4 years ago
Matthias 144e4da96e Update stoploss guard tests
4 years ago
Matthias 420836b1b2 Update test naming
4 years ago
Matthias b7cada1edd Convert ProtectionReturn to dataclass
4 years ago
Matthias 6d9218cb34 sell_signal -> exit_signal
4 years ago
Matthias 543aa74278 update sell_reason to exit_reason
4 years ago
Matthias dcfa3e8648 Update SellType to ExitType
4 years ago
Matthias 1da091dea3 ProtectionManager should return the lock just created
5 years ago
Sam Germain b9356a5564 Autopep8 formatting
5 years ago
Matthias e1010ff592 Don't load protections from config if strategy defines a property
5 years ago
Matthias 89b9915c12 Update imports for SellType in tests
5 years ago
Matthias 2254f65fa7 use binance intests instead of bittrex
5 years ago
Matthias ea0b47a7f9 Replace test occurances of Trade.session with Trade.query.session
5 years ago
Matthias 3629892fc3 Stoploss-guard should use the trade_limit or more
5 years ago
Matthias 9cd1be8f93 Update usage of open_trade_price to open_trade_value
5 years ago
Matthias f047297995 Improve wording, fix bug
5 years ago
Matthias effc96e92b Improve tests for backtest protections
5 years ago
Matthias 57a4044eb0 Enhance test verifying that locks are not replaced
5 years ago
Matthias 0e2a43ab4d Add duration_explanation functions
5 years ago
Matthias d4799e6aa3 Implement *candle definitions
5 years ago
Matthias a93bb6853b Document *candles settings, implement validations
5 years ago
Matthias f06b58dc91 Test MaxDrawdown desc
5 years ago
Matthias 9d6f3a89ef Improve docs and fix typos
5 years ago
Matthias dce2364672 Add stoploss per pair support
5 years ago
Matthias dcdf4a0503 Improve tests
5 years ago
Matthias 32cde1cb7d Improve test for lowprofitpairs
5 years ago
Matthias 8f958ef723 Improve login-mixin structure
5 years ago
Matthias 9484ee6690 Test for low_profit_pairs
5 years ago