I would like to propose that the abstract method reset() is added to
strategy which is called when the snapshots are greater than GAP_SIZE time
apart (a la com.jbooktrader.platform.IndicatorManager.java).  The end result
would be that, if so desired, a strategy can perform certain house-keeping
activities just before processing the first snapshot of each day.

I am asking rather than simply doing, because this will impact all existing
strategies.  The required action would be to simply add the following lines
to each existing strategy:

@Override
public void reset() { /* nothing to do */ }

Alternatively, if all your strategies extend StrategyES (or similar), you
could add it there to cover all of them in one go.

Anyone object to this?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"JBookTrader" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jbooktrader?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to