ezyquant_execution.context.ExecuteContextSymbol.target_value#

ExecuteContextSymbol.target_value(value: float, **kwargs) EquityOrder | None#

Buy/Sell to make the current position reach the target value. Calculate the buy/sell volume by compare between the best bid/ask price.

Parameters:

value (float) – value