All securities brokerages and crypto exchanges report all sales and account balance to the OECD yearly. This information can then be accessed by your local tax authority.
https://sls-fresco.momentum.co.za/f...entre/tax/common-reporting-standards-faqs.pdf
https://sls-fresco.momentum.co.za/f...entre/tax/common-reporting-standards-faqs.pdf