Improve documentation.

This commit is contained in:
Reigo Reinmets 2021-12-29 14:51:57 +02:00
parent f965e9177c
commit 3d336a736e
2 changed files with 2 additions and 2 deletions

View File

@ -621,7 +621,7 @@ class DigDeeperStrategy(IStrategy):
:param pair: Pair that's currently analyzed
:param trade: trade object.
:param current_time: datetime object, containing the current datetime
:param current_rate: Rate, calculated based on pricing settings in ask_strategy.
:param current_rate: Current buy rate. Use `exchange.get_rate` if you need sell rate.
:param current_profit: Current profit (as ratio), calculated based on current_rate.
:param **kwargs: Ensure to keep this here so updates to this won't break your strategy.
:return float: Stake amount to adjust your trade

View File

@ -398,7 +398,7 @@ class IStrategy(ABC, HyperStrategyMixin):
:param pair: Pair that's currently analyzed
:param trade: trade object.
:param current_time: datetime object, containing the current datetime
:param current_rate: Rate, calculated based on pricing settings in ask_strategy.
:param current_rate: Current buy rate. Use `exchange.get_rate` if you need sell rate.
:param current_profit: Current profit (as ratio), calculated based on current_rate.
:param **kwargs: Ensure to keep this here so updates to this won't break your strategy.
:return float: Stake amount to adjust your trade