The strato strategy is a trading strategy that uses the Relative Strength Index (RSI) indicator to generate buy and sell signals. Here is a brief description of what the strategy does:
The strategy uses a 1-minute timeframe for trading. It calculates the RSI indicator with a time period of 14.
It calculates the Stochastic RSI (SRSI) by normalizing the RSI values between 0 and 1.
It calculates the %K and %D lines of the Stochastic RSI using rolling averages.
In the populate_buy_trend method, it generates a buy signal when the %K line is below 18 and higher than or equal to the %D line. In the populate_sell_trend method, it generates a sell signal when the %K line is above 80 and the %D line is higher than or equal to the %K line. It sets a minimal return on investment (ROI) of 0.012 (1.2%). It sets a stop loss level at -0.1 (-10%). The strategy uses 'market' orders for buying and selling, and 'gtc' (good 'til canceled) time in force for orders. The informative_pairs method returns an empty list, indicating that it doesn't require additional information about trading pairs. The strategy uses a startup candle count of 20, which means it needs historical data for at least 20 candles to start generating signals. Please note that this description is a high-level overview, and there might be additional details and considerations specific to the implementation of the strategy.