Elffuss BraidHub

kikocis/freqtrade-strategies public

added sub-strats back to parent
Changeset85a6dbf580628cc206c31582ac2f9279908841a212ee35cd6eb5978c4c05553e
AuthorBryan Chain <bryan.chain@cerner.com> · 2021-03-28 00:17 -04:00
CommitterBryan Chain <bryan.chain@cerner.com> · 2021-03-28 00:17 -04:00
Parentse917d4497ebb

Browse the files at this changeset

1 file changed

modified strategies/Solipsis_v3.py +25 −1
@@ -604,4 +604,28 @@
604604 current_rate = self.get_current_price(pair, True)
605605 active_trade[0].adjust_min_max_rates(current_rate)
606606
607- return trade_data
No newline at the end of the file
607+ return trade_data
608+
609+# Sub-strategy with parameters specific to BTC stake
610+class Solipsis3_BTC(Solipsis3):
611+
612+ timeframe = '15m'
613+ inf_timeframe = '4h'
614+
615+ minimal_roi = {
616+ "0": 0.01,
617+ "720": 0.005,
618+ "1440": 0
619+ }
620+
621+# Sub-strategy with parameters specific to BTC stake
622+class Solipsis3_ETH(Solipsis3):
623+
624+ timeframe = '1h'
625+ inf_timeframe = '4h'
626+
627+ minimal_roi = {
628+ "0": 0.01,
629+ "1440": 0.005,
630+ "2880": 0
631+ }
No newline at the end of the file