Starting from absolute basics. This is how it works:
Incoming market data + other data ----> Black Box[ Analyze the situation and come to any buy/sell decisions] -----> Submit order(s) to broker!
Rinse and repeat.
That's it. How hard can it be?
The same process is applied for backtesting and forward testing.
Let's break it down a little bit further:
The general theme that I have seen in many systems is that there is an "inner loop" of sorts. This inner loop is what triggers the black box to do it's magic and come up with buy/sell outputs. Interestingly, Wealthlabs has the loop in the strategy logic (pros/cons people???)
More specifically, the black box or bit of code that contains your money making algorithm is run or called when specific situations occur.
These specific situations may be one of the following:
1) When the latest bar of data for an instrument time series is completed. (Multiple instruments may be monitored)
2) When the latest tick for an instrument is received.
3) On an timer basis e.g. every 1 minute. Regardless of market data coming in.
4) When some other custom situation arises (Ideas please)
Thoughts, comments? Additions, errata?
Incoming market data + other data ----> Black Box[ Analyze the situation and come to any buy/sell decisions] -----> Submit order(s) to broker!
Rinse and repeat.
That's it. How hard can it be?

The same process is applied for backtesting and forward testing.
Let's break it down a little bit further:
The general theme that I have seen in many systems is that there is an "inner loop" of sorts. This inner loop is what triggers the black box to do it's magic and come up with buy/sell outputs. Interestingly, Wealthlabs has the loop in the strategy logic (pros/cons people???)
More specifically, the black box or bit of code that contains your money making algorithm is run or called when specific situations occur.
These specific situations may be one of the following:
1) When the latest bar of data for an instrument time series is completed. (Multiple instruments may be monitored)
2) When the latest tick for an instrument is received.
3) On an timer basis e.g. every 1 minute. Regardless of market data coming in.
4) When some other custom situation arises (Ideas please)
Thoughts, comments? Additions, errata?