Anyone using IB auto trading?
Anyone using IB auto trading?
I tried the IB auto trading with my simulated trading a/c. Sometimes the MC will loss connection with IB. It's not reliable to use MC for auto trading. Does anyone have the same problem?
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
You are right: at the moment MC cannot generate intrabar orders. The next MC realease (due in Q4) will have this feature.I personally won't use the auto trading interface until it can generate a order on intrabar prices. I think they were planning to support that, but at this point it may be easier to use a API to IB and call it from easy language. Has anyone else tried to use a API to IB ?
As a temporary solution (before the new release in available) we are going to realese a special trading add-on which would enable MC generate orders from indicators, that is intra-bar generated orders will be supported.
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
We have conducted numerous tests and can state that order transmission from our program to IB takes fractions of seconds and is only limited by API speed.no problems with connection loss, but theres a good delay of about 2-3 seconds when the system gives IB an order and when the execution happens, and when the markets are moving the fills are terrible. Is there any way to fix that delay?
Once the order is transmitted how fast it is processed depends solely on the broker.
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
Re: Anyone using IB auto trading?
MC cannot loose connection with IB because there is no such connection per se.I tried the IB auto trading with my simulated trading a/c. Sometimes the MC will loss connection with IB. It's not reliable to use MC for auto trading. Does anyone have the same problem?
What might be happening is that you keep loosing connection with IB. You can check this in TWS: if the grid in the window changes its colour to pink it means that there is no connection. The problem in this case is either on the side of IB or something might be wrong with your internet connection.