Quarterly report pursuant to Section 13 or 15(d)

Assets and Liabilities, at Fair Value - Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)

v3.22.4
Assets and Liabilities, at Fair Value - Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Jun. 30, 2022
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets $ 41,788 $ 91,743
Derivative liabilities 102,934 75,780
Fair Value on a Recurring Basis    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Inventories 921,341 739,584
Precious metals held under financing arrangements 57,287 79,766
Total assets, valued at fair value 1,025,716 916,393
Liabilities on borrowed metals 31,109 59,417
Product financing arrangements 347,260 282,671
Total liabilities, valued at fair value 481,303 417,868
Fair Value on a Recurring Basis | Open sale and purchase commitments    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 13,473 70,564
Fair Value on a Recurring Basis | Liability on margin accounts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 5,612 4,686
Fair Value on a Recurring Basis | Future contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 9,184  
Fair Value on a Recurring Basis | Forward contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 74,665 530
Fair Value on a Recurring Basis | Open sale and purchase commitments, net    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets 41,673 27,423
Fair Value on a Recurring Basis | Future contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets   20,245
Fair Value on a Recurring Basis | Forward contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets 115 44,075
Fair Value on a Recurring Basis | Option to purchase interest in a long-term investment    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets, valued at fair value 5,300 5,300
Fair Value on a Recurring Basis | Level 1    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Inventories 921,341 739,584
Precious metals held under financing arrangements 57,287 79,766
Total assets, valued at fair value 1,020,416 911,093
Liabilities on borrowed metals 31,109 59,417
Product financing arrangements 347,260 282,671
Total liabilities, valued at fair value 481,303 417,868
Fair Value on a Recurring Basis | Level 1 | Open sale and purchase commitments    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 13,473 70,564
Fair Value on a Recurring Basis | Level 1 | Liability on margin accounts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 5,612 4,686
Fair Value on a Recurring Basis | Level 1 | Future contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 9,184  
Fair Value on a Recurring Basis | Level 1 | Forward contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 74,665 530
Fair Value on a Recurring Basis | Level 1 | Open sale and purchase commitments, net    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets 41,673 27,423
Fair Value on a Recurring Basis | Level 1 | Future contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets   20,245
Fair Value on a Recurring Basis | Level 1 | Forward contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets 115 44,075
Fair Value on a Recurring Basis | Level 1 | Option to purchase interest in a long-term investment    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets, valued at fair value 0 0
Fair Value on a Recurring Basis | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Inventories 0 0
Precious metals held under financing arrangements 0 0
Total assets, valued at fair value 0 0
Liabilities on borrowed metals 0 0
Product financing arrangements 0 0
Derivative liabilities   0
Total liabilities, valued at fair value 0 0
Fair Value on a Recurring Basis | Level 2 | Open sale and purchase commitments    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 0 0
Fair Value on a Recurring Basis | Level 2 | Liability on margin accounts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 0  
Fair Value on a Recurring Basis | Level 2 | Future contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 0  
Fair Value on a Recurring Basis | Level 2 | Forward contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 0 0
Fair Value on a Recurring Basis | Level 2 | Open sale and purchase commitments, net    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets 0 0
Fair Value on a Recurring Basis | Level 2 | Future contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets   0
Fair Value on a Recurring Basis | Level 2 | Forward contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets 0 0
Fair Value on a Recurring Basis | Level 2 | Option to purchase interest in a long-term investment    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets, valued at fair value 0 0
Fair Value on a Recurring Basis | Level 3    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Inventories 0 0
Precious metals held under financing arrangements 0 0
Total assets, valued at fair value 5,300 5,300
Liabilities on borrowed metals 0 0
Product financing arrangements 0 0
Derivative liabilities   0
Total liabilities, valued at fair value 0 0
Fair Value on a Recurring Basis | Level 3 | Open sale and purchase commitments    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 0 0
Fair Value on a Recurring Basis | Level 3 | Liability on margin accounts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 0  
Fair Value on a Recurring Basis | Level 3 | Future contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 0  
Fair Value on a Recurring Basis | Level 3 | Forward contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 0 0
Fair Value on a Recurring Basis | Level 3 | Open sale and purchase commitments, net    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets 0 0
Fair Value on a Recurring Basis | Level 3 | Future contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets   0
Fair Value on a Recurring Basis | Level 3 | Forward contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets 0 0
Fair Value on a Recurring Basis | Level 3 | Option to purchase interest in a long-term investment    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets, valued at fair value $ 5,300 $ 5,300