Package com.quantcomponents.core.remote

Examples of com.quantcomponents.core.remote.TaskMonitorProxy


  public BarSize[] availableBarSizes() {
    return getMarketDataManager().availableBarSizes();
  }

  public List<IContract> searchContracts(IContract criteria, ServiceHandle<ITaskMonitorHost> taskMonitorHandle) throws ConnectException, RequestFailedException {
    return getMarketDataManager().searchContracts(criteria, taskMonitorHost == null || taskMonitorHandle == null ? null : new TaskMonitorProxy(taskMonitorHost, taskMonitorHandle));
  }
View Full Code Here


  @Override
  public void fillHistoricalData(ServiceHandle<IStockDatabaseHost> stockDbHostHandle, Date startDate, Date endDate, ServiceHandle<ITaskMonitorHost> taskMonitorHandle) throws ConnectException,
      RequestFailedException {
    ServiceInfo serviceInfo = retrieveServiceInfo(stockDbHostHandle);
    getMarketDataManager().fillHistoricalData(serviceInfo.stockDb, startDate, endDate, taskMonitorHost == null || taskMonitorHandle == null ? null : new TaskMonitorProxy(taskMonitorHost, taskMonitorHandle));
  }
View Full Code Here

  @Override
  public void startRealtimeUpdate(ServiceHandle<IStockDatabaseHost> stockDbHostHandle, boolean fillHistoricalGap, ServiceHandle<ITaskMonitorHost> taskMonitorHandle) throws ConnectException,
      RequestFailedException {
    ServiceInfo serviceInfo = retrieveServiceInfo(stockDbHostHandle);
    getMarketDataManager().startRealtimeUpdate(serviceInfo.stockDb, fillHistoricalGap, taskMonitorHost == null || taskMonitorHandle == null ? null : new TaskMonitorProxy(taskMonitorHost, taskMonitorHandle));
  }
View Full Code Here

TOP

Related Classes of com.quantcomponents.core.remote.TaskMonitorProxy

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.