strategy.opentrades.entry_price

Entry price (average of the opening fills) of open trade trade_num (0: the account holds one position per symbol); na when there is none.

strategy.opentrades.entry_price(trade_num: int) -> float

Parameters

Example

entry = strategy.opentrades.entry_price(0)