diff --git a/src/deephaven_ib/__init__.py b/src/deephaven_ib/__init__.py index 43e2fb22..39402d00 100644 --- a/src/deephaven_ib/__init__.py +++ b/src/deephaven_ib/__init__.py @@ -801,7 +801,7 @@ def request_single_pnl(self, contract: RegisteredContract, account: str, model_c Exception: problem executing action. """ self._assert_connected() - req_id = self._client.request_single_pnl(account, model_code, contract.conId) + req_id = self._client.request_single_pnl(account, model_code, contract.contract_details[0].contract.conId) return Request(request_id=req_id)