XML 78 R58.htm IDEA: XBRL DOCUMENT
v3.23.2

Fair value measurements - Fair Value Amounts of Derivative Instruments and their Effect on Statement of Operations (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2023 | Jun. 30, 2022 | Jun. 30, 2023 | Jun. 30, 2022
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Recognized in Income on Derivatives (pre-tax) Gain (Loss) | $ 3,558 | $ 1,302 | $ 3,769 | $ 3,555
Commodity contracts | Principal Transaction Revenue | Futures |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Recognized in Income on Derivatives (pre-tax) Gain (Loss) | 3,529 | 1,328 | 3,739 | 3,519
Other contracts | Principal Transaction Revenue | TBAs |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Recognized in Income on Derivatives (pre-tax) Gain (Loss) | 36 | (6) | 38 | 56
Other contracts | Other | Foreign exchange forward contracts |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Recognized in Income on Derivatives (pre-tax) Gain (Loss) | $ (7) | $ (20) | $ (8) | $ (20)

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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4E -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4E + 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: |