These are things you have to do, (if you have not done that already)
1. Find out the closing price of the stock on the last trading day or the day you entered Canada ( August ?? 2022 in your case.)
2. Convert the price and total into Canadian dollar using the exchange rate on that day. This will be your Adjust Cost Base.
3. The selling price converted to Cdn dollar minus the Adjusted Cost Base and selling commission/stamp etc. will be your capital gain or loss.
4. Put down the above information along with prove of the price and exchange rate on a piece of paper.
5. Use that to report your gain/loss on disposition.
https://www.bankofcanada.ca/rates/exchange/daily-exchange-rates-lookup/?rangeType=dates&rangeValue=&lP=lookup_daily_exchange_rates_2017.php&sR=2017-01-01&se=FXHKDCAD&dF=2024-02-09&dT=2024-03-09