just4look
2015-02-15 18:52:19 UTC
In PortfolioManager, there is code
public int getSize(Strategy strategy) {
Mode mode = dispatcher.getMode();
if (mode == Mode.BackTest || mode == Mode.Optimization) {
return 1;
}
int maxOpenPositions = strategy.getMaxOpenPositions();
..........
Why does JBT use the different Position Sizing in differemt modes?
Thanks
public int getSize(Strategy strategy) {
Mode mode = dispatcher.getMode();
if (mode == Mode.BackTest || mode == Mode.Optimization) {
return 1;
}
int maxOpenPositions = strategy.getMaxOpenPositions();
..........
Why does JBT use the different Position Sizing in differemt modes?
Thanks
--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbooktrader+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbooktrader+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.