ezyquant_execution.context.ExecuteContext.place_order#

ExecuteContext.place_order(symbol: str, side: Literal['Buy', 'Sell'], volume: float, price: float = 0, qty_open: int = 0, trustee_id_type: str = 'Local', price_type: Literal['Limit', 'ATO', 'ATC', 'MP-MKT', 'MP-MTL'] = 'Limit', validity_type: Literal['Day', 'FOK', 'IOC', 'Date', 'Cancel'] = 'Day', bypass_warning: bool | None = True, valid_till_date: str | None = None, is_round_up_volume: bool = False) EquityOrder | None#

Place order.

Round volume to 100. If volume is 0, return None.