private void processTrade(final TradeStrategyFactory strategyFactory) { //debugTrades(strategy); final TradeExecutor tradeExecutor = new TradeExecutor(USD_AMOUNT, strategyFactory); tradeExecutor.executeTrades(); System.out.format("%s\t%f\t%f\t%f\t%d\t%d\t%d\t%f\t%f\t%d\t%d\n", strategyFactory.getName(), tradeExecutor.getPortfolioValue(), tradeExecutor.getTotalPL(), tradeExecutor.getFees(), tradeExecutor.getTotalTrades(), tradeExecutor.getWinner(), tradeExecutor.getLooser(), tradeExecutor.getMaxWin(), tradeExecutor.getMaxLoose(), tradeExecutor.getLoserInARow(), tradeExecutor.getExecutedStopLoss()); /* final Chart chart = new Chart(strategy, timeSeries); chart.showChart(); */ }