Well firstly after a short 2 week period, we have now almost completed a trading strategy on Ninja 7. Good job guys, to experienced developers this is a pleasant experience.
As we wanted to create Money Management behaviour for all of our strategies, we have developed an Abstract class that all of our implementation strategies inherit instead of inheriting directly from the Ninja Strategy class. This seems to work very well in the first implementation that we've nearly finished.
We'd like to improve the use of the session manager and be able to utilise the nice Session Manager templates you have introduced into NT7 from within our Abstract layer. We need to do this because the current method of filtering "out of hours" bars from the chart is too severe as end of session positions are not handled correctly and provide incorrect outcomes during back testing.
Is it possible to either extend an overrideable method or mode setting to derived classes such that we may either use the built in filtering mechanism (default) or simply ask the question "IsTradingTime()" and do our own filter processing? In most cases, we'd like to leave the bars in play but simply disable trade entry.
We have implemented our own Time management layer to simulate this but we'd like to have the flexibility of using your nice Session Manager classes that allow users to enter collections of durations.
If the enhancement suggestion I've made is not what Ninja would like to do, can we at least have access to the Session manager templates and accessors so we can make use of them?
Regards,
Paul

Comment