XML 66 R53.htm IDEA: XBRL DOCUMENT v3.22.2.2
Fair Value Measurement- Additional Information (Detail) - CAD ($)
$ in Millions
3 Months Ended 9 Months Ended
Jul. 31, 2022
Apr. 30, 2022
Jul. 31, 2021
Jul. 31, 2022
Jul. 31, 2021
Held for Trading for Trading Purpose [member]          
Disclosure of detailed information about financial instruments [line items]          
Transfers out of Level 1 into Level 2 of fair value hierarchy, assets held at end of reporting period $ 402 $ 736 $ 82    
Obligations related to securities sold short [member]          
Disclosure of detailed information about financial instruments [line items]          
Transfers out of Level 1 into Level 2 of fair value hierarchy, assets held at end of reporting period 1,784 176 4,473    
Level 3 of fair value hierarchy [member]          
Disclosure of detailed information about financial instruments [line items]          
Net gain (loss) net of hedges was realized for FVTPL assets and FVTPL liabilities $ 24 $ 4 $ 5 $ 53 $ 38