Elffuss BraidHub

kikocis/freqtrade-strategies public

see release notes
Changeset579adb4b83306c1f84059d951bd296fd5e53b2087802ac3d4afef594fc6255de
AuthorBryan Chain <bryan.chain@cerner.com> · 2021-04-18 12:33 -04:00
CommitterBryan Chain <bryan.chain@cerner.com> · 2021-04-18 12:33 -04:00
Parents9807db93d1ab

Browse the files at this changeset

2 files changed

modified README.md +4 −0
@@ -82,6 +82,10 @@
8282
8383 ### v4
8484
85+April 18, 2021:
86+- **Indicator / Signal Changes**
87+ - Changed all instances of T3 indicator to KAMA. T3 seemed to perform slightly better but requires such a huge amount of history that it causes errors in dry-run/live.
88+
8589 April 16, 2021:
8690 - **General Changes**
8791 - Updated README quite a bit to hopefully (probably not) cut down on questions.
modified strategies/Solipsis_v4.py +5 −6
@@ -151,8 +151,7 @@
151151
152152 ## Base Timeframe / Pair
153153
154- # T3: https://www.tradingview.com/script/qzoC9H1I-T3-Average/
155- dataframe['T3'] = cta.T3(dataframe, length=233)
154+ dataframe['kama'] = ta.KAMA(dataframe, length=233)
156155
157156 # RMI: https://www.tradingview.com/script/kwIt9OgQ-Relative-Momentum-Index/
158157 dataframe['rmi'] = cta.RMI(dataframe, length=24, mom=5)
@@ -230,7 +229,7 @@
230229 btc_stake_tf = self.dp.get_pair_dataframe(pair=btc_stake, timeframe=self.timeframe)
231230 dataframe['BTC_rmi'] = cta.RMI(btc_stake_tf, length=55, mom=5)
232231 dataframe['BTC_close'] = btc_stake_tf['close']
233- dataframe['BTC_T3'] = cta.T3(btc_stake_tf, length=144)
232+ dataframe['BTC_kama'] = ta.KAMA(btc_stake_tf, length=144)
234233
235234 # Slam some indicators into the trade_info dict so we can dynamic roi and custom stoploss in backtest
236235 if self.dp.runmode.value in ('backtest', 'hyperopt'):
@@ -282,15 +281,15 @@
282281 conditions.append(
283282 (
284283 (dataframe['BTC_rmi'] > self.xbtc_base_rmi.value) &
285- (dataframe['BTC_close'] > dataframe['BTC_T3'])
284+ (dataframe['BTC_close'] > dataframe['BTC_kama'])
286285 )
287286 )
288287 if self.xbtc_guard.value == 'lazy':
289288 conditions.append(
290- (dataframe['close'] > dataframe['T3']) |
289+ (dataframe['close'] > dataframe['kama']) |
291290 (
292291 (dataframe['BTC_rmi'] > self.xbtc_base_rmi.value) &
293- (dataframe['BTC_close'] > dataframe['BTC_T3'])
292+ (dataframe['BTC_close'] > dataframe['BTC_kama'])
294293 )
295294 )
296295