370 Commits

Author SHA1 Message Date
Joe Schr 16bbd1f737 fix(fixed_riskreward_loss): simplify example stoploss calculations
just use classic 2 times ATR as a stoploss
2021-03-22 11:20:57 +01:00
Joe Schr 7063945ad3 fix(fixed_riskreward_loss): remove sell_profit_only related operations
doesn't work, because it won't update because it's only loaded once on strategy init
2021-03-22 11:19:24 +01:00
Joe Schr db5157a7ca fixup(bb88d64): add guard for trades extends range of candle data in memory 2021-03-16 12:46:43 +01:00
Joe Schr 08c75be22e fixup(bb88d64): use trade.open_date_utc directly instead of getting tz from DatetimeIndex 2021-03-16 12:45:33 +01:00
Joe Schr 2362091dbb fixup(bb88d64): use get(), won't throw if doesn't exist 2021-03-16 12:44:57 +01:00
Joe Schr b8475b46da Add an example how to use custom_info[trade.open_date] in custom_stoploss()
by implementing a fixed risk/reward ratio.
2021-03-15 20:35:14 +01:00
OtenMoten 86bd9e2dcf Create HO-Strategy005.py 2021-03-15 12:42:01 +01:00
Matthias c94b2c588c use .loc for sell signal
closes #133
2021-03-14 07:02:13 +01:00
Matthias 9d6e50622c Use proper syntax to assign empty sell signal 2021-03-12 14:24:35 +01:00
Matthias 95c5a69d20 Fix tabs to spaces 2021-03-12 06:15:16 +01:00
Matthias e711ca17b9 Merge pull request #132 from FelipeFernandesLeandro/master
fix hyperopting multi-value categories on AverageHyperopt
2021-03-12 06:14:03 +01:00
Felipe Fernandes a6b5ab3191 fix and update the doc comment 2021-03-11 19:33:37 -03:00
Felipe Fernandes 375370b1eb fix hyperopting multi-value categories on AverageHyperopt 2021-03-10 20:55:12 -03:00
Matthias fd5fecd1e2 Merge pull request #130 from JoeSchr/master
Add TrailingSL as an example for using ATR or any other indicator inside of custom_stoploss
2021-03-05 19:20:45 +01:00
Matthias edf77a1869 Add sell column to avoid runtime failures 2021-03-05 19:19:59 +01:00
Joe Schr bd45dcb313 fix(custom_stoploss_with_psar): only use one indicator in this example
makes the example clearer
2021-03-05 15:42:32 +01:00
Joe Schr a126b0444c feature(custom_stoploss_with_psar): add populate_sell_trend()
so it's a valid IStrategy
2021-03-05 15:41:25 +01:00
Joe Schr 26aa5c582e fix(TrailingSL): remote inherit_trailing_stoploss.py file for now 2021-03-05 13:27:56 +01:00
Joe Schr b9561b6484 fix(TrailingSL): rename file accordingly to new class name 2021-03-05 13:26:37 +01:00
Joe Schr cac05be0ab feature(TrailingSL): adapt to use PSAR instead of ATR. simplify class. 2021-03-05 13:25:27 +01:00
Joe Schr 41fae636bd refactor(TrailingSL): split TrailingSL and strategy inheriting from it into dedicated files 2021-03-04 19:42:49 +01:00
Joe Schr 909cb64ae1 feature(TrailingSL): only add indicator to custom_info in backtest/hyperopt 2021-03-04 19:30:51 +01:00
Joe Schr f606d90107 fix(TrailingSL): check if pair exists in custom_info before accessing 2021-03-04 19:30:12 +01:00
Joe Schr e289276091 feature(TrailingSL): add comment with warning about using -1 idx 2021-03-04 18:38:57 +01:00
Joe Schr a0f8971094 fix(TrailingSL): use integer index instead of last_updated
I fixed this as discussed, but:
- I didn't use `last()` because it's only available for `DatetimeIndex`
- I didn't use `.iloc[-1]` because there are a lot of stern warnings in the docs do don't use it and I don't want to confuse less technically aligned user by now using it in an "official" sample
- I did use `.iat[-1]` because it's supposed to be fasted by working on the Series of the requested column directly
2021-03-04 18:32:23 +01:00
Joe Schr 640e11f89b fix(TrailingSL): remove left-over print() and trailing whitespace 2021-03-04 18:30:47 +01:00
Joe Schr 2743b32435 fix(TrailingSL): add "hyperopt" check. use get_analyzed_dataframe() 2021-03-04 14:53:17 +01:00
Joe Schr 6d04bdb0f0 Add TrailingSL as an example for using ATR or any other indicator inside of custom_stoploss 2021-03-03 22:03:03 +01:00
Matthias 1afb9860a6 Merge pull request #127 from OtenMoten/master
Hyperopt and Strategy "Swing-High-To-Sky"
2021-03-02 19:21:39 +01:00
OtenMoten f670aac23b Update Swing-High-To-Sky.py
Added comment
2021-02-25 12:54:17 +01:00
OtenMoten e567422b0d Changed syntax and added comments 2021-02-23 20:38:34 +01:00
OtenMoten 05933f9e26 Update user_data/strategies/Swing-High-To-Sky.py
Jep, very good.

Co-authored-by: Matthias <xmatthias@outlook.com>
2021-02-23 20:32:06 +01:00
Matthias ff5d76160e Merge pull request #128 from XL-Reaper/fix_adx_strat
Corrected ADXMomentum.py
2021-02-23 13:53:43 +01:00
Thomas Seip 674e9612fe Update ADXMomentum.py
There was still one more error in relation to the mentioned original strategy. I fixed it to check the correct variable.
2021-02-23 11:59:18 +01:00
OtenMoten 735d455c50 Merge pull request #2 from OtenMoten/OtenMoten-strategy-swing-high-to-sky
Added strategy "Swing-High-To-Sky"
2021-02-22 12:22:06 +01:00
OtenMoten 40353219ae Added strategy "Swing-High-To-Sky"
## Hello dear community,

I like to share my newest hyperopt with you. I though about how cool it would be to know what's the perfect timeperiod for CCI indicator. In a strategy you do something like this: `dataframe['cci'] = ta.CCI(timeperiod=14)`

You would do this by hand for each timeperiod which is very annoying. Therefore, I created this hyperopt to looking for the perfect timeperiod for the CCI indicator. Please review this pull request very critical and share your minds.

Since the last two months (from 1st Jan 2021 until now) this strategy in BTC/USDT 30m chart had worked **very very** well. After two months I now optimize this strategy again.

I provided both, strategy and hyperopt file, in the attachements.

## Summary
The goal of this hyper-optimization is to find the perfect timeframe of the CCI indicator (from 10 to 100) within a range from -400 to +400. The MACD indicator here is just a favorite of myself, replace with your favorit indicator if you like.
2021-02-22 12:21:35 +01:00
OtenMoten af904dbc19 Merge pull request #1 from OtenMoten/OtenMoten-ho-swing-high-to-sky
Added Hyper-Optimization "Swing-High-To-Sky"
2021-02-22 12:18:57 +01:00
OtenMoten aaac23a96a Added Hyper-Optimization "Swing-High-To-Sky"
I like to share my newest hyperopt with you. I though about how cool it would be to know what's the perfect timeperiod for CCI indicator. In a strategy you do something like this: dataframe['cci'] = ta.CCI(timeperiod=14)

You would do this by hand for each timeperiod which is very annoying. Therefore, I created this hyperopt to looking for the perfect timeperiod for the CCI indicator. Please review this pull request very critical and share your minds.

Since the last two months (from 1st Jan 2021 until now) this strategy in BTC/USDT 30m chart had worked very very well. After two months I now optimize this strategy again.
2021-02-22 12:17:46 +01:00
Matthias 2bb17e23f5 Merge pull request #117 from JoeSchr/feature/add-BinHV45-hyperopt
add hyperopts for BinHV45 strategy
2021-02-08 09:27:10 +01:00
Joe Schr d4f1514a32 Improve leading comment explaining hyperopt strategy 2021-02-07 15:49:43 +01:00
Joe Schr 8888f423cf add hyperopts for BinHV45 strategy 2021-02-05 18:16:24 +01:00
Matthias 488002319c Fix ReinforcedSmoothScalp
Closes #109
2020-11-18 19:57:58 +01:00
Matthias 4ce8f7099b Merge pull request #108 from freqtrade/replace_ticker_interval
Replace all "ticker_interval" with timeframe
2020-11-06 07:13:03 +01:00
Matthias 9fd0faddd8 Replace all "ticker_interval" with timeframe 2020-11-06 07:04:29 +01:00
Matthias 5f29be114e Merge pull request #107 from freqtrade/remove_config-link
Remove config link
2020-10-30 16:43:05 +01:00
Matthias f03c447c7e Improve wording 2020-10-30 16:42:51 +01:00
Matthias 88c52f8818 Revmove config link 2020-10-30 14:44:58 +01:00
Matthias 705d5b9de8 Fix invalid syntax in SmoothOperator
closes #105
2020-10-28 07:44:28 +01:00
Matthias 598def9553 Merge pull request #91 from freqtrade/reinforcedScalpHyperopt
Reinforced scalp hyperopt
2020-08-31 14:58:37 +02:00
Matthias 3b1de9bf5c Merge pull request #66 from freqtrade/generalize_reinforced_avgstrategy
Generalize ReinforcedAverageStrategy for other timeframes
2020-08-31 14:58:08 +02:00