So I'm working on building an automated trading system from scratch, and I'm now at the point where I need to figure out how to structure my application and organize the "workflow." (do I set up some sort of event listening framework? do I have a core process that reevaluates positions at regular intervals/candlesticks? .... that sort of thing) Are there some generally accepted/understood paradigms that are typically used for this? I have a nagging feeling this area is well covered by online resources, books, articles, etc. but have no idea what I should be looking for. I'm wondering if anyone could point me in the right direction?. Any book recommendations? Any programming design patterns worth googling? Any fundamental automated programming concepts I should understand before starting?