improve docstring for create_trades
This commit is contained in:
parent
a76136c010
commit
a4ab42560f
@ -258,9 +258,10 @@ class FreqtradeBot(object):
|
|||||||
|
|
||||||
def create_trades(self) -> bool:
|
def create_trades(self) -> bool:
|
||||||
"""
|
"""
|
||||||
Checks the implemented trading indicator(s) for a randomly picked pair,
|
Checks the implemented trading strategy for buy-signals, using the active pair whitelist.
|
||||||
if one pair triggers the buy_signal a new trade record gets created
|
If a pair triggers the buy_signal a new trade record gets created.
|
||||||
:return: True if a trade object has been created and persisted, False otherwise
|
Checks pairs as long as the open trade count is below `max_open_trades`.
|
||||||
|
:return: True if at least one trade has been created.
|
||||||
"""
|
"""
|
||||||
interval = self.strategy.ticker_interval
|
interval = self.strategy.ticker_interval
|
||||||
whitelist = copy.deepcopy(self.active_pair_whitelist)
|
whitelist = copy.deepcopy(self.active_pair_whitelist)
|
||||||
|
Loading…
Reference in New Issue
Block a user