How to in python 3.9 implement the functionality of calling the async functions with different parameters, by scheduled periods? The functionality should be working on any OS (Linux, Windows, Mac)
I have a function fetchOHLCV which downloads market data from exchanges. The function has two input parameters - pair, timeframe. Depending on the pair and timeframe values the function download data from exchanges and stores them in DB.
The goal - call this function with different periods with different parameters.
1) fetchOHLCV(pair ='EUR/USD', timeframe="1m") - each minute
2) fetchOHLCV(pair ='EUR/USD', timeframe="1h") - each new hour.
3) fetchOHLCV(pair ='EUR/USD', timeframe="1d") - each new day
4) fetchOHLCV(pair ='EUR/USD', timeframe="1w") - each new week
At this moment I don't have experience working with scheduling in python and I don't know which libraries will optimal for my task and I'm interested in the best practices of implementing similar tasks.
