While digging deeper in /source/com/jbooktrader/platform/strategy/
Strategy.java

there are some more changes

 // inject custom performance manager and position manager here
        // see also /source/com/jbooktrader/platform/strategy/
Strategy.java
        // lines 167ff
        //              the method "process" needs to make use of the getter for
position and performance manager
        //              ->
this.getPerformanceManager().updatePositionValue(marketSnapshot.getPrice(),
this.getPositionManager().getCurrentPosition());
        // lines 156 ff
        //              -> this.getPositionManager().trade();
        // lines 76 ff
        //              -> if (this.getPositionManager().getCurrentPosition() 
!= 0)
{
        //              -> this.getPositionManager().trade();
        // lines 68 ff
        //              -> 
this.getPositionManager().setTargetPosition(position);

-- 
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