execDetails vs orderStatus in IB API

Discussion in 'Automated Trading' started by Chronos.Phenomena, Oct 11, 2010.

  1. When using IB API, do you use

    public void execDetails(int reqId, Contract contract, Execution execution)


    public void orderStatus(int orderId, String status, int filled, int remaining, double avgFillPrice, int permId, int parentId, double lastFillPrice, int clientId, String whyHeld)

    to get information about the execution.

    I noticed that orderStatus() always echoes same message twice?!? wander if that's the bug or something?
  2. also... I noticed cancel status is missed i.e. order is canceled but status function in API is not changed to Canceled... anyone else experiencing these problems?