ezyquant_execution.context.ExecuteContextSymbol.sell_pct_port#

ExecuteContextSymbol.sell_pct_port(pct_port: float, **kwargs) EquityOrder | None#

Sell from the percentage of the portfolio. calculate the sell volume by pct_port * port_value / best ask price. :param pct_port: percentage of the portfolio :type pct_port: float