You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My strategy download the data from different symbols (in sequential) with get_candles and send it as a parameter of a new thread for every symbol, once there, many of the threads are downloading data until they find a good position to buy,
So the problem is when in thread 1 is downloading data, and thread 2 is doing a buy operation, the buy operation duplicates in both symbols, so there is a problem there.
Can anyone help me? I am planning to use multiprocessing.
The text was updated successfully, but these errors were encountered:
emilioPonceAlvarado16
changed the title
Using Threads - get_candles in one thread, and buy operation in another (Problem)
Using Threads - get_candles in one thread, and buy operation in another (solved)
Jul 1, 2022
My strategy download the data from different symbols (in sequential) with get_candles and send it as a parameter of a new thread for every symbol, once there, many of the threads are downloading data until they find a good position to buy,
So the problem is when in thread 1 is downloading data, and thread 2 is doing a buy operation, the buy operation duplicates in both symbols, so there is a problem there.
Can anyone help me? I am planning to use multiprocessing.
The text was updated successfully, but these errors were encountered: