This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from freqtrade.strategy import IStrategy | |
from freqtrade.strategy import merge_informative_pair | |
from freqtrade.exchange import timeframe_to_minutes | |
from typing import Dict, List, Optional, Tuple | |
from pandas import DataFrame | |
class test(IStrategy): | |
timeframe = '1m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Import required libraries | |
from freqtrade.strategy import IStrategy | |
from freqtrade.persistence import Trade | |
import numpy as np | |
# Define the trading strategy | |
class LorentzianStrategy(IStrategy): | |
# Set the frequency range and moving average period | |
lower_freq = 0.001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from freqtrade.strategy.interface import IStrategy | |
import talib.abstract as ta | |
import mplfinance as mpf | |
class MultiCoinChartStrategy(IStrategy): | |
""" | |
A strategy that tracks the RSI of multiple coins and displays their market trends in a single chart. | |
""" |