Stumbled on this last night and did a bit of research on the topic and get the idea, just can't think of an example of "Event Drive"
Vectorized vs Event Driven Backtesting | Elite Trader
http://www.elitetrader.com/et/index.php?threads/vectorized-vs-event-driven-backtesting.290658/
The first poster goes on to explain how its looking through each bar for example using looping in AFL.
I'm very novice at AFL/system design, and get the idea of vectorized. I'm just trying to think of an example system that would want to use event driven model.
Like in dumby terms, an example of vectorized system would be buy when price crosses 50 day SMA and sell when crosses down 50 day SMA. Just as a very simple idea.
What exactly would one be trying to do using events? Just trying to get my brain going here on ideas on stuff I should be thinking about. Maybe just an idea in simple terms like my above vectorized system.
The way I kind of understand it is that it's useful for position sizing and allocation of funds in a system. Perhaps adjusting size and allocation if equity down "x" amount or add to position if buy signal generates again. Maybe I'm way off here.
Know theirs some great minds here and could clarify with some sort of example (AFL example great but just a description is fine) of events in a system. Does anyone use an event driven system to look for buy / sell signals?
Just reading some more of the posts on that link and makes me wonder if I should be expanding my way of thinking with systems.
__._,_.___
Posted by: brandon.richard03@yahoo.com
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (1) |
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
.
__,_._,___
EmoticonEmoticon