Change docstring in sampleHyperopt
This commit is contained in:
parent
80ad37ad93
commit
6550e1fa99
@ -233,8 +233,9 @@ class AdvancedSampleHyperOpts(IHyperOpt):
|
|||||||
def populate_buy_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
|
def populate_buy_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
|
||||||
"""
|
"""
|
||||||
Based on TA indicators.
|
Based on TA indicators.
|
||||||
Can be a copy of from the strategy, or will be loaded from the strategy.
|
Can be a copy of the corresponding method from the strategy,
|
||||||
must align to populate_indicators used (either from this File, or from the strategy)
|
or will be loaded from the strategy.
|
||||||
|
Must align to populate_indicators used (either from this File, or from the strategy)
|
||||||
Only used when --spaces does not include buy
|
Only used when --spaces does not include buy
|
||||||
"""
|
"""
|
||||||
dataframe.loc[
|
dataframe.loc[
|
||||||
@ -251,8 +252,9 @@ class AdvancedSampleHyperOpts(IHyperOpt):
|
|||||||
def populate_sell_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
|
def populate_sell_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
|
||||||
"""
|
"""
|
||||||
Based on TA indicators.
|
Based on TA indicators.
|
||||||
Can be a copy of from the strategy, or will be loaded from the strategy.
|
Can be a copy of the corresponding method from the strategy,
|
||||||
must align to populate_indicators used (either from this File, or from the strategy)
|
or will be loaded from the strategy.
|
||||||
|
Must align to populate_indicators used (either from this File, or from the strategy)
|
||||||
Only used when --spaces does not include sell
|
Only used when --spaces does not include sell
|
||||||
"""
|
"""
|
||||||
dataframe.loc[
|
dataframe.loc[
|
||||||
|
Loading…
Reference in New Issue
Block a user