Fix type checking error
This commit is contained in:
@@ -33,7 +33,7 @@ class StrategyTestV3CustomEntryPrice(StrategyTestV3):
|
|||||||
def populate_exit_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
|
def populate_exit_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
|
||||||
return dataframe
|
return dataframe
|
||||||
|
|
||||||
def custom_entry_price(self, pair: str, trade: Trade, current_time: datetime,
|
def custom_entry_price(self, pair: str, trade: Optional[Trade], current_time: datetime,
|
||||||
proposed_rate: float,
|
proposed_rate: float,
|
||||||
entry_tag: Optional[str], side: str, **kwargs) -> float:
|
entry_tag: Optional[str], side: str, **kwargs) -> float:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user