Package com.quantcomponents.algo

Examples of com.quantcomponents.algo.IPosition


    notifyPositionListeners(contract);
    notifyPositionListeners(ContractBean.cash(contract.getCurrency()));
  }
 
  private void notifyPositionListeners(IContract contract) {
    IPosition position = positionCalculator.getPositions().get(contract);
    if (position != null) {
      for (IPositionListener listener : orderPositionListeners) {
        listener.onPositionUpdate(contract, new PositionBean(position));
      }
    }
View Full Code Here

TOP

Related Classes of com.quantcomponents.algo.IPosition

Copyright © 2018 www.massapicom. 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.