Sell Expired Contracts (sell_expired)¶
This call will try to sell any expired contracts and return the number of sold contracts.
Auth Scope(s): trade
-
sell_expired
(passthrough: Optional[Any] = None, req_id: Optional[int] = None) → int¶ Parameters: - passthrough (Optional[Any]) – [Optional] Used to pass data through the websocket, which may be retrieved via the echo_req output field.
- req_id (Optional[int]) – [Optional] Used to map request to response.
Returns: req_id
Return type: int