Derivative Financial Instruments (Tables)
6 Months Ended
Apr. 30, 2013
Derivative Financial Instruments Disclosure Table [Abstract]  
Summary of the fair value table of other derivative instruments not designated as hedging instruments
April 30, 2013        
   Assets Liabilities
(in thousands) Balance Sheet Location Fair Value Balance Sheet Location Fair Value
Foreign exchange contractsOther assets$ 141 Other liabilities$ 915
Stock index futures contractsOther assets  424 Other liabilities  5,361
Commodity futures contractsOther assets  609 Other liabilities  177
Total   $ 1,174  $ 6,453

October 31, 2012        
   Assets Liabilities
(in thousands) Balance Sheet Location Fair Value Balance Sheet Location Fair Value
Foreign exchange contractsOther assets$ 226 Other liabilities$ 300
Stock index futures contractsOther assets  1,505 Other liabilities  367
Commodity futures contractsOther assets  498 Other liabilities  121
Total   $ 2,229  $ 788

   Income Statement Three Months Ended April 30, Six Months Ended April 30,
(in thousands) Location 2013 2012 2013 2012
Foreign exchange contractsGains and other investment income, net$ 848$ 195$ 1,194$ 428
            
Stock index futures contractsGains and other investment income, net  (8,881)  (5,756)  (18,911)  (9,901)
            
Commodity futures contractsGains and other investment income, net  1,043  519  694  1,013
Total   $ (6,990)$ (5,042)$ (17,023)$ (8,460)