I've been testing a fully automated trading strategy using by IB TWS papertrade account and I've hit a host of unexpected issues.
I'm starting to wonder if it is actually possible to create a reliable automated trading system using NT and TWS, despite having been a pro software developer in a previous career.
Is anybody using automated NT strategies with IB successfully?
These are some of my issues:
1) A bug in TWS that initiates an "unable to match order state to execution" error message, discussed here. NT seems to lose track of orders placed with TWS, clearly of concern when trading live.
For some strange reason, I get double trade visualisation lines connecting trade entries and exits on the charts, when this error message occurs, although there are only single entries received by TWS (luckily).
2)Testing for, tracking and closing partially filled profit target orders submitted by ExitLongLimit using iOrders. Partial fills leave a position partially open which can be very damaging, unless managed properly.
So far I have been unable to find a reliable way of managing partially filled target orders. I know it is possible, just can't figure out how.
So I would be delighted to hear from anybody who is overcoming these hurdles and is reliably running live trading with an NT and IB/TWS system.
Thanks, in advance
Chris

Comment