Package com.ib.client

Examples of com.ib.client.ExecutionFilter


        this.ib.registerAccount(this);
    }

    public void requestExecutions() {

        ExecutionFilter filter = new ExecutionFilter();
        int reqId = AlgoUtils.getId();
        this.ib.client().reqExecutions(reqId, filter);

    }
View Full Code Here


  }

  @Override
  public Deque<ITrade> getTrades() throws ConnectException, RequestFailedException {
    SimpleDateFormat executionFilterDateFormat = new SimpleDateFormat("yyyyMMdd-00:00:00");
    final ExecutionFilter filter = new ExecutionFilter();
    filter.m_clientId = clientId;
    filter.m_time = executionFilterDateFormat.format(new Date());
    final Deque<ITrade> trades = new LinkedList<ITrade>();
   
    IBClient tradesClient = new IBClient() {
View Full Code Here

TOP

Related Classes of com.ib.client.ExecutionFilter

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.