ezyquant_execution.context.ExecuteContextSymbol.is_buy_sufficient#
- ExecuteContextSymbol.is_buy_sufficient(volume: float, price: float = 0.0) bool #
Check if the line available is sufficient for buy order.
- Parameters:
volume (float) – volume
price (float) – price
pct_commission (float) – percentage of commission example 0.01 for 1%