Examples of ITrade


Examples of com.quantcomponents.algo.ITrade

  protected void processTrade(String orderId) {
    try {
      Iterator<ITrade> tradeIterator = executionService.getTrades().descendingIterator();
      while (tradeIterator.hasNext()) {
        ITrade trade = tradeIterator.next();
        if (trade.getOrder() != null && trade.getOrder().getId().equals(orderId)) {
          TradePoint tradePoint = new TradePoint(trade.getExecutionTime(), trade);
          if (outputSeries != null) {
            outputSeries.insertFromTail(tradePoint);
          }
          break;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.