kikocis/freqtrade-strategies public
Changesets · Branches · Tags · Compare
| Changeset | 85a6dbf580628cc206c31582ac2f9279908841a212ee35cd6eb5978c4c05553e |
|---|---|
| Author | Bryan Chain <bryan.chain@cerner.com> · 2021-03-28 00:17 -04:00 |
| Committer | Bryan Chain <bryan.chain@cerner.com> · 2021-03-28 00:17 -04:00 |
| Parents | e917d4497ebb |
1 file changed
modified strategies/Solipsis_v3.py +25 −1
| @@ -604,4 +604,28 @@ | ||
| 604 | 604 | current_rate = self.get_current_price(pair, True) |
| 605 | 605 | active_trade[0].adjust_min_max_rates(current_rate) |
| 606 | 606 | |
| 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 |