Can my algorithm check for multiple asset at the same time?

I am using python binance suppose I am fetching the current market price of BTCUSDT and ETHUSDT and now my algorithm keeps on checking whether the price crossed the EMA line or not, if crosses it executes a sell order.
How can I check this simultaneously for more than one asset?

This is a programming question, not the focus of this forum, but sounds programming parallelism in python.

1 Like