Portfolio (portfolio)¶
Receive information about my current portfolio of outstanding options
Auth Scope(s): read
, trading_information
-
portfolio
(contract_type: Optional[List] = None, passthrough: Optional[Any] = None, req_id: Optional[int] = None) → int¶ Parameters: - contract_type (Optional[List]) – Return only contracts of the specified types
- 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