Remove dataframe parameter from docs.

This commit is contained in:
Rokas Kupstys
2021-05-02 12:25:43 +03:00
parent cdfa6adbe5
commit 6af4de8fe8
3 changed files with 10 additions and 16 deletions

View File

@@ -631,8 +631,7 @@ Stoploss values returned from `custom_stoploss` must specify a percentage relati
use_custom_stoploss = True
def custom_stoploss(self, pair: str, trade: 'Trade', current_time: datetime,
current_rate: float, current_profit: float, dataframe: DataFrame,
**kwargs) -> float:
current_rate: float, current_profit: float, **kwargs) -> float:
# once the profit has risen above 10%, keep the stoploss at 7% above the open price
if current_profit > 0.10: