XML 53 R38.htm IDEA: XBRL DOCUMENT v3.8.0.1
Significant accounting policies (Details 1) - USD ($)
$ in Thousands
6 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Error Corrections and Prior Period Adjustments Restatement [Line Items]    
Proceeds from Sale and Maturity of Available-for-sale Securities $ 18,049
Restatement Adjustment [Member]    
Error Corrections and Prior Period Adjustments Restatement [Line Items]    
Proceeds from Sale and Maturity of Available-for-sale Securities $ 18,049