XML 66 R57.htm IDEA: XBRL DOCUMENT
v3.23.1

Fair value measurements - Fair Value Amounts of Derivative Instruments and their Effect on Statement of Operations (Details) - USD ($) $ in Thousands | 3 Months Ended
--- | ---
Mar. 31, 2023 | Mar. 31, 2022
Derivative Instruments, Gain (Loss) [Line Items] |  |
Recognized in Income on Derivatives (pre-tax) Gain (Loss) | $ 211 | $ 2,254
Commodity contracts | Principal Transaction Revenue | Futures |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |
Recognized in Income on Derivatives (pre-tax) Gain (Loss) | 210 | 2,191
Other contracts | Principal Transaction Revenue | TBAs |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |
Recognized in Income on Derivatives (pre-tax) Gain (Loss) | 2 | $ 63
Other contracts | Other | Foreign exchange forward contracts |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |
Recognized in Income on Derivatives (pre-tax) Gain (Loss) | $ (1) |

X
- Definition Gain (loss) on derivatives pre tax recognized in income. + References No definition available. + Details
Name: | opy_GainLossOnDerivativesPreTaxRecognizedInIncome
Namespace Prefix: | opy_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DerivativeInstrumentsGainLossLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CommodityContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_PrincipalOrProprietaryTransactionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_FutureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_OtherContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=opy_ToBeAnnouncedSecurityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_OtherIncomeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_ForeignExchangeForwardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |