How do traders define and look for asset correlation

Trying to implement a new features update for my market screening app.
Correlation.
I want users to be able to prompt like, give me top 100 stocks / coins with the maximum positive correlation with XYZ stock in the last month.

Thinking of a few ways this can be implemented.
Things I need to define - correlation context, timeframe resolution and cross market universe.

This would also be similar to beta assets related to a particular asset. But what I am doubting is if the retail trader know how to define these in prompt.