Currently the crypto data fetching script works on a single process. You need to use python's threading module to create a new thread.
The script will now include a function which takes in coin_name, currency_name, delay_time and number_of_threads as arguments, and it will start as many threads as represented by the number_of_threads argument.
make sure that if this function is called again, it will stop all of the previously running threads and start new ones with new arguments.
Currently the crypto data fetching script works on a single process. You need to use python's threading module to create a new thread.
The script will now include a function which takes in
coin_name,currency_name,delay_timeandnumber_of_threadsas arguments, and it will start as many threads as represented by thenumber_of_threadsargument.make sure that if this function is called again, it will stop all of the previously running threads and start new ones with new arguments.