mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
@@ -551,8 +551,8 @@ for more information.
|
|||||||
|
|
||||||
# Define BTC/STAKE informative pair. A custom formatter may be specified for formatting
|
# Define BTC/STAKE informative pair. A custom formatter may be specified for formatting
|
||||||
# column names. A callable `fmt(**kwargs) -> str` may be specified, to implement custom
|
# column names. A callable `fmt(**kwargs) -> str` may be specified, to implement custom
|
||||||
# formatting. Available in populate_indicators and other methods as 'rsi_upper'.
|
# formatting. Available in populate_indicators and other methods as 'rsi_upper_1h'.
|
||||||
@informative('1h', 'BTC/{stake}', '{column}')
|
@informative('1h', 'BTC/{stake}', '{column}_{timeframe}')
|
||||||
def populate_indicators_btc_1h_2(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
|
def populate_indicators_btc_1h_2(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
|
||||||
dataframe['rsi_upper'] = ta.RSI(dataframe, timeperiod=14)
|
dataframe['rsi_upper'] = ta.RSI(dataframe, timeperiod=14)
|
||||||
return dataframe
|
return dataframe
|
||||||
|
|||||||
Reference in New Issue
Block a user