I'm developing a trading platform using Django, where users can publish trading signals with specific stop losses. I'm facing a challenge in implementing a real-time feature to automatically mark signals as 'failed' when the cryptocurrency price hits the designated stop losses.
Here's the specific scenario: Assume I have 1,000 signals for BTCUSDT. If the BTC price reaches $20,000, I must instantly mark 700 of these signals as 'failed' based on their stop-loss criteria.
I seek advice on the best approach to achieve this in real-time within a Django framework. (I am willing to use any technologies that are suitable for my specific scenario.)