Annual report pursuant to Section 13 and 15(d)

Derivative Instruments and Hedging Transactions - Summary of Net Gains (Losses) on Derivative Instruments (Details)

v3.23.2
Derivative Instruments and Hedging Transactions - Summary of Net Gains (Losses) on Derivative Instruments (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2021
Derivative [Line Items]      
Gains (losses) on derivative instruments $ 97,083 $ 47,825 $ (125,622)
Future commodity and forward contracts      
Derivative [Line Items]      
Unrealized gains (losses) on open futures commodity and forward contracts and open sale and purchase commitments, net 53,453 (18,799) 8,874
Commodity Contract      
Derivative [Line Items]      
Realized gains (losses) on futures commodity contracts, net $ 43,630 $ 66,624 $ (134,496)
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Cost of Goods and Services Sold Cost of Goods and Services Sold Cost of Goods and Services Sold