XML 49 R38.htm IDEA: XBRL DOCUMENT v3.10.0.1
Significant accounting policies (Details 1) - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2018
Jul. 31, 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