Eugene/Cone,
I checked the programming guide but could not find an answer to this question. Do either of you know how the Wealthscript programs are run in realtime ? By that, I mean, does WLP call Execute() on every bar in realtime while the market is open ?
My assumption is that it calls Execute() within my class for every bar, I iterate through the last N bars (in a for loop) from the past up to the present, and then signal WLP to buy or sell. Is the flow of that correct ?
I guess I could test this easily by creating a unique file during Paper testing when the market is open , right after Execute() is called, but I figured I would ask.
Thanks in advance !
Size:
Color:
zanek,
WL5, like its predecessor, calls Execute() when the current bar closes and a new bar starts.
Size:
Color: