docs: Updated syntax
This commit is contained in:
@@ -582,11 +582,14 @@ When hyperopting, use of the hyperoptable parameter `.value` attribute is not su
|
|||||||
|
|
||||||
??? info "Full documentation"
|
??? info "Full documentation"
|
||||||
``` python
|
``` python
|
||||||
def informative(timeframe: str, asset: str = '',
|
def informative(
|
||||||
fmt: Optional[Union[str, Callable[[KwArg(str)], str]]] = None,
|
timeframe: str,
|
||||||
*,
|
asset: str = "",
|
||||||
candle_type: Optional[CandleType] = None,
|
fmt: str | Callable[[Any], str] | None = None,
|
||||||
ffill: bool = True) -> Callable[[PopulateIndicators], PopulateIndicators]:
|
*,
|
||||||
|
candle_type: CandleType | str | None = None,
|
||||||
|
ffill: bool = True,
|
||||||
|
) -> Callable[[PopulateIndicators], PopulateIndicators]:
|
||||||
"""
|
"""
|
||||||
A decorator for populate_indicators_Nn(self, dataframe, metadata), allowing these functions to
|
A decorator for populate_indicators_Nn(self, dataframe, metadata), allowing these functions to
|
||||||
define informative indicators.
|
define informative indicators.
|
||||||
|
|||||||
Reference in New Issue
Block a user