Commit Graph

5563 Commits

Author SHA1 Message Date
Matthias 7c6357cc45
Merge pull request #4041 from freqtrade/plugins/protections_backtest
Introduce Protection Plugins
2020-12-13 11:08:24 +01:00
Matthias 657b002a81 Explicitly check for False in fetch_ticker 2020-12-13 10:59:29 +01:00
Matthias 7eab33de08 Merge branch 'develop' into plugins/protections_backtest 2020-12-13 10:31:33 +01:00
Matthias 8a2fbf6592 Small cleanup of protection stuff 2020-12-13 10:16:09 +01:00
Matthias 181b88dc75 Don't accept too high fees, assuming they are erroneous
Forces fallback to "detection from trades"
2020-12-12 10:52:27 +01:00
Matthias c784e5780e
Merge pull request #4054 from freqtrade/models_open_price
Models open price
2020-12-11 06:31:02 +01:00
Matthias 95fd3824da Finish renamal of open_trade_price to open_value 2020-12-10 19:36:52 +01:00
Matthias 201cc67e05 Rename open_trade_price to "open_trade_value" 2020-12-10 19:21:20 +01:00
Matthias 76594d5dde
Merge pull request #3799 from imxuwang/issue3783
Introduce Telegram /stats endpoint
2020-12-10 15:41:09 +01:00
Matthias ca99d484fc Refactor to use list comprehension 2020-12-10 07:39:50 +01:00
Matthias 33f330256b Reorder commands on telegram init 2020-12-09 20:36:30 +01:00
Matthias f1af2972e2 Ensure non-defined attributes fail correctly
Remove unnecessary check, as stoploss cannot be none (it's mandatory and
a number)
2020-12-09 07:55:08 +01:00
Matthias c37bc307e2 Small finetunings to documentation 2020-12-07 16:12:03 +01:00
Matthias f047297995 Improve wording, fix bug 2020-12-07 15:48:06 +01:00
Matthias 3ab5514697 Add API endpoint for /stats 2020-12-07 15:07:08 +01:00
Matthias 81410fb404 Document /stats for telegram 2020-12-07 15:03:16 +01:00
Matthias e873cafdc4 Beautify code a bit 2020-12-07 14:54:39 +01:00
Matthias effc96e92b Improve tests for backtest protections 2020-12-07 11:39:01 +01:00
Matthias 5849d07497 Export locks as part of backtesting 2020-12-07 11:39:01 +01:00
Matthias bb51da8297 Fix slow backtest due to protections 2020-12-07 11:39:01 +01:00
Matthias 75a5161650 Support multis-strategy backtests with protections 2020-12-07 11:39:01 +01:00
Matthias a3f9cd2c26 Only load protections when necessary 2020-12-07 11:39:01 +01:00
Matthias e2d15f4082 Add parameter to enable protections for backtesting 2020-12-07 11:39:01 +01:00
Matthias 32189d27c8 Disable output from plugins in backtesting 2020-12-07 11:39:01 +01:00
Matthias 9f34aebdaa Allow closing trades without message 2020-12-07 11:39:01 +01:00
Matthias b606936eb7 Make changes to backtesting to incorporate protections 2020-12-07 11:39:01 +01:00
Matthias 98c88fa58e Prepare protections for backtesting 2020-12-07 11:39:01 +01:00
Matthias 3426e99b8b Improve formatting of protection startup message 2020-12-07 11:37:57 +01:00
Matthias 64d6c7bb65 Update developer docs 2020-12-07 11:17:11 +01:00
Matthias 0e2a43ab4d Add duration_explanation functions 2020-12-07 11:12:09 +01:00
Matthias c993831a04 Add protections to startup messages 2020-12-07 10:57:01 +01:00
Matthias d4799e6aa3 Implement *candle definitions 2020-12-07 10:54:26 +01:00
Matthias a93bb6853b Document *candles settings, implement validations 2020-12-07 10:47:13 +01:00
Matthias eb952d77be Move lookback_period to parent __init__ 2020-12-07 08:27:14 +01:00
Matthias f06b58dc91 Test MaxDrawdown desc 2020-12-07 08:23:10 +01:00
Matthias 089c463cfb Introduce max_drawdown protection 2020-12-07 08:23:10 +01:00
Matthias 9d6f3a89ef Improve docs and fix typos 2020-12-07 08:23:10 +01:00
Matthias 768d7fa196 Readd optional for get_pair_locks - it's necessary 2020-12-07 08:23:10 +01:00
Matthias ad746627b3 Fix lock-loop 2020-12-07 08:23:10 +01:00
Matthias 4351a26b4c Move stop_duration to parent class
avoids reimplementation and enhances standardization
2020-12-07 08:23:10 +01:00
Matthias 6d0f16920f Get Longest lock logic 2020-12-07 08:23:10 +01:00
Matthias dce2364672 Add stoploss per pair support 2020-12-07 08:23:10 +01:00
Matthias 8f958ef723 Improve login-mixin structure 2020-12-07 08:23:10 +01:00
Matthias 8d9c66a638 Add LogginMixin to freqtradebot class to avoid over-logging 2020-12-07 08:23:10 +01:00
Matthias be57ceb252 Remove confusing entry
(in this branch of the if statement, candle_date is empty
2020-12-07 08:23:10 +01:00
Matthias 5e3d2401f5 Only call stop methods when they actually support this method 2020-12-07 08:23:10 +01:00
Matthias 2cd54a5933 Allow disabling output from plugins 2020-12-07 08:23:10 +01:00
Matthias 8ebd6ad200 Rename login-mixin log method 2020-12-07 08:23:10 +01:00
Matthias 2e5b9fd4b2 format profit in low_profit_pairs 2020-12-07 08:23:10 +01:00
Matthias e29d918ea5 Avoid double-locks also in per pair locks 2020-12-07 08:23:10 +01:00