Commit Graph
129 Commits
Author SHA1 Message Date
Masoud AziziandGitHub 455bad4fa0 renamed --genes to --spaces! 2021-04-13 21:19:59 +04:30
Masoud AziziandGitHub d33c032f50 GodStra Hyperopt script
this is the hyperopt script of GodStra Strategy
2021-04-13 21:16:37 +04:30
Masoud AziziandGitHub e65893aa70 GodStra Strategy + hyperopt file
this is a genetic algorithm Strategy that makes a dna for using as strategy from GoDs genes!
2021-04-13 21:14:37 +04:30
Masoud AziziandGitHub 04dd805cfb mabStra Strategy
This strategy try to find best buy/sell position by deviding Simple Moving Averages
*You can use other indicators and check the result*
2021-04-08 22:11:30 +04:30
Masoud AziziandGitHub d7b36772b8 mabStra Strategy HyperOpt 2021-04-08 22:09:27 +04:30
MatthiasandGitHub 8ac43a774b Merge pull request #148 from Samaoo/patch-1
Replace ticker_interval with timeframe
2021-04-05 13:51:19 +02:00
SamaooandGitHub aa606de982 Update hlhb.py 2021-04-05 12:07:26 +02:00
SamaooandGitHub 67c081297c Update Swing-High-To-Sky.py 2021-04-05 12:04:54 +02:00
Matthias e00f42f905 Add mandatory properties to psar strategy
closes #141
2021-03-30 07:38:38 +02:00
MatthiasandGitHub 841c867e74 Merge pull request #134 from OtenMoten/master
Create HO-Strategy005.py and update Swing-High-To-Sky hyperopt and strategy.
2021-03-29 07:01:32 +02:00
Matthias 95aade53d1 Remove referral code 2021-03-29 06:59:35 +02:00
OtenMotenandGitHub 67fd683de3 Added second indicator (RSI) 2021-03-28 15:22:51 +02:00
OtenMotenandGitHub 58981b3166 Added second indicator (RSI) 2021-03-28 15:22:21 +02:00
e94c50f392 Update user_data/strategies/hlhb.py
My bad, sorry. I ended up copying this values from the settings to make them persistent...

Co-authored-by: Matthias <xmatthias@outlook.com>
2021-03-25 15:52:28 -04:00
Wagner Luciano fba63917d4 Adding the HLHB Strategy 2021-03-25 13:02:11 -04:00
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
OtenMotenandGitHub 86bd9e2dcf Create HO-Strategy005.py 2021-03-15 12:42:01 +01:00
MatthiasandGitHub c94b2c588c use .loc for sell signal
closes #133
2021-03-14 07:02:13 +01:00
MatthiasandGitHub 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
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
MatthiasandGitHub 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
MatthiasandGitHub 1afb9860a6 Merge pull request #127 from OtenMoten/master
Hyperopt and Strategy "Swing-High-To-Sky"
2021-03-02 19:21:39 +01:00
OtenMotenandGitHub f670aac23b Update Swing-High-To-Sky.py
Added comment
2021-02-25 12:54:17 +01:00
OtenMotenandGitHub e567422b0d Changed syntax and added comments 2021-02-23 20:38:34 +01:00
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
Thomas SeipandGitHub 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
OtenMotenandGitHub 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
OtenMotenandGitHub 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
Joe Schr d4f1514a32 Improve leading comment explaining hyperopt strategy 2021-02-07 15:49:43 +01:00