Timeframe
15m
Direction
Long Only
Stoploss
-99.0%
Trailing Stop
No
ROI
0m: 10000.0%
Interface Version
3
Startup Candles
0
Indicators
0
from pandas import DataFrame
from freqtrade.strategy import IStrategy
class BTCBenchmark(IStrategy):
INTERFACE_VERSION = 3
timeframe = '15m'
can_short = False
stoploss = -0.99
minimal_roi = {"0": 100}
startup_candle_count = 0
process_only_new_candles = False
use_exit_signal = False
_first_done = False
def populate_indicators(self, d, m): return d
def populate_entry_trend(self, d, m):
if not self._first_done:
self._first_done = True
d.loc[d.index[0], ['enter_long', 'enter_tag']] = (1, 'bnh')
return d
def populate_exit_trend(self, d, m): return d