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.24.0.1
Assets and Liabilities, at Fair Value - Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis (Details) - USD ($)
$ in Thousands
Dec. 31, 2023
Jun. 30, 2023
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets $ 25,745 $ 77,881
Derivative liabilities 28,908 8,076
Fair Value on a Recurring Basis    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Inventories 1,109,618 980,695
Precious metals held under financing arrangements 19,520 25,530
Total assets, valued at fair value 1,160,183 1,089,406
Liabilities on borrowed metals 24,215 21,642
Product financing arrangements 518,613 335,831
Total liabilities, valued at fair value 571,736 365,549
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 3,732 853
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 3,563 4,441
Fair Value on a Recurring Basis | Future contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 1,800 1,161
Fair Value on a Recurring Basis | Forward contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative liabilities 19,813 1,621
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 18,820 37,957
Fair Value on a Recurring Basis | Futures contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets 755 832
Fair Value on a Recurring Basis | Forward contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets 6,170 39,092
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 1,109,618 980,695
Precious metals held under financing arrangements 19,520 25,530
Total assets, valued at fair value 1,154,883 1,084,106
Liabilities on borrowed metals 24,215 21,642
Product financing arrangements 518,613 335,831
Total liabilities, valued at fair value 571,736 365,549
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 3,732 853
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 3,563 4,441
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 1,800 1,161
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 19,813 1,621
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 18,820 37,957
Fair Value on a Recurring Basis | Level 1 | Futures contracts    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Derivative assets 755 832
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 6,170 39,092
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
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 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 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
Fair Value on a Recurring Basis | Level 2 | Futures 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 | 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
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 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 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  
Fair Value on a Recurring Basis | Level 3 | Futures 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 | 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