I want Koinly to generate this for me. Many Canadians need to file this.
Workaround
There is no way to get this data directly from Koinly but I can use the Wallet balances reports. This report shows the cost basis of each wallet at end of year.
I can generate "Wallet balances report" for custom dates, with end date being the date for which I want to check what was my cost basis on each wallet.