1
100%
u/Negative_Resort_5832
3 days ago
Strategy
how are you handling multi-source alerts without maintaining a whole event pipeline?
most of the monitoring I want to automate isn't actually trade execution.
it's stuff like: a Polymarket contract moves quickly, BTC starts moving at the same time, and a related equity crosses some threshold. if all three happen within a certain window, send me an alert.
doing any one of those is easy enough. once they're coming from different sources though, it turns into a much bigger engineering problem than I expected.
with Python I end up needing to deal with ingestion, keeping state, stale/missing data, retries, duplicate alerts, then whatever I'm using for notifications. totally reasonable for something core to a strategy, but kind of annoying for monitoring ideas I might throw away a week later.
TradingView + webhooks gets me part of the way, but not when half the condition lives somewhere TradingView doesn't see.
I've been looking at the middle ground between those two approaches, including Alphio for defining some of the conditions in plain English.
the part I'm still skeptical about is consistency rather than speed. if one source briefly disappears, two feeds disagree, or a condition stays true across multiple polling cycles, I want predictable behavior and not five alerts or some slightly different interpretation of the rule.
for anyone running multi-source monitoring like this, where are you handling the state?
inside your own event loop/database, or have you found a lighter setup that doesn't turn every alert into another small software project?