XML 66 R57.htm IDEA: XBRL DOCUMENT v3.22.2.2
Fair value measurements - Fair Value Amounts of Derivative Instruments and their Effect on Statement of Operations (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Derivative Instruments, Gain (Loss) [Line Items]        
Recognized in Income on Derivatives (pre-tax) Gain (Loss) $ 350 $ (525) $ 3,905 $ (368)
Commodity contracts | Principal Transaction Revenue | Futures        
Derivative Instruments, Gain (Loss) [Line Items]        
Recognized in Income on Derivatives (pre-tax) Gain (Loss) 349 (13) 3,868 482
Other contracts | Principal Transaction Revenue | TBAs        
Derivative Instruments, Gain (Loss) [Line Items]        
Recognized in Income on Derivatives (pre-tax) Gain (Loss) $ 1 (15) 57 146
Other contracts | Principal Transaction Revenue | Purchase commitments        
Derivative Instruments, Gain (Loss) [Line Items]        
Recognized in Income on Derivatives (pre-tax) Gain (Loss)   $ (497)   (987)
Other contracts | Principal Transaction Revenue | ARS purchase commitments        
Derivative Instruments, Gain (Loss) [Line Items]        
Recognized in Income on Derivatives (pre-tax) Gain (Loss)       (1)
Other contracts | Other | Foreign exchange forward contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Recognized in Income on Derivatives (pre-tax) Gain (Loss)     $ (20) $ (8)