The Solipsis strategy is a trading strategy that involves backtesting and analyzing various indicators to make buying and selling decisions. Here is a short description of what the strategy does:
The strategy populates indicators such as RMI (Relative Momentum Index), ROC (Rate of Change), and RSI (Relative Strength Index) for different time periods. It calculates additional information related to trends and price movements.
If the stake currency is BTC or ETH, it retrieves and calculates RMI values for the stake currency and the fiat currency.
If the stake currency is neither BTC nor ETH, it retrieves and calculates RMI values for BTC and the stake currency.
It merges informative data about the pair's price movement and calculates additional indicators. It checks various conditions to determine buy signals, including profit factor, RMI trends, and price movements relative to informative data. If the stake currency is BTC or ETH, it checks additional conditions related to RMI values of the stake currency and the fiat currency. If the stake currency is neither BTC nor ETH, it checks additional conditions related to RMI values of BTC. It generates buy signals based on the conditions met. It checks conditions to determine sell signals, including profit cutoff, average profit of other trades, and RMI trends. It generates sell signals based on the conditions met. It implements a custom stop-loss function to manage trades. Please note that this description is a summary based on the provided code snippet, and the actual implementation and functionality may vary.