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.23.1
Assets and Liabilities, at Fair Value - Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Jun. 30, 2022
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets $ 58,456 $ 91,743
Derivative liabilities 83,330 75,780
Fair Value on a Recurring Basis    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Inventories 966,564 739,584
Precious metals held under financing arrangements 24,014 79,766
Total assets, valued at fair value 1,054,334 916,393
Liabilities on borrowed metals 25,730 59,417
Product financing arrangements 292,104 282,671
Total liabilities, valued at fair value 401,164 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 10,599 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,564 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 10,071  
Fair Value on a Recurring Basis | Forward contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 57,096 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 56,624 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 1,832 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 966,564 739,584
Precious metals held under financing arrangements 24,014 79,766
Total assets, valued at fair value 1,049,034 911,093
Liabilities on borrowed metals 25,730 59,417
Product financing arrangements 292,104 282,671
Total liabilities, valued at fair value 401,164 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 10,599 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,564 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 10,071  
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 57,096 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 56,624 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 1,832 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