Followed a three-threaded architecture.
Main thread: Did not change the main strategy but tried to prevent it from losing money by using the other two threads, as they can cancel outstanding orders if the criteria for this action are fulfilled.
Sentiment analysis thread: This thread analyzes the news from the news feed and checks if the news are relevant to our stocks. If they are, it assesses the possible impact of the news and creates orders to act early enough before the price changes based on the news.
Dual Listings Thread: This thread checks the price difference between the same stock listed on different exchanges. If the price difference is greater than a certain value, it creates opposite-sided orders to benefit from this price difference and stay neutral while doing so.
All threads run simultaneously.
Log in or sign up for Devpost to join the conversation.