The API in use by the stock plugin (AlphaVantage) seems to have dropped support for the Australian Securities Exchange sometime over the last couple of years. As a result, attempting to query stock prices for companies listed on the ASX returns no results. For example with $CBA.AX
[10:53:12] <@iownall555> .stock CBA.AX
[10:53:13] <gonzobot> (iownall555) Unknown stock symbol 'CBA.AX'
This issue has been documented elsewhere by people using AV in scripts and programs. Unfortunately the ASX charges enormous fees for market data so there may not be any other free APIs that work with it.
https://www.reddit.com/r/ausstocks/comments/f3illc/alphavantage_for_asx/
https://www.reddit.com/r/ausstocks/comments/gmhutc/alphavantage_with_the_asx/