TWSLink for linking your Application to TWS

I found the log file. I think the problem may be because I need to round off the prices for the limit orders to just two decimal places.
 
hello retief,
why should limit prices be related to the logfile location ?

the reason for the missing logfile is that your host app stores it at another place; in that directory which is attached to the process.
 
I didn't mean that the location of the logfile was related to the limit price for the orders. What I meant was that I saw something in the logfile that leads me to suspect that the reason that orders are not being transmitted is due to the limit price. Specifically, the log file contained this line:

20070521 22:18:51:347;error;twslink_client;error: The price does not conform to the minimum price variation for this contract. code=110 id=2649;0
 
Hi

can I code with TWSLink in excel a routine that will
place automatically
place a limit order (for example 10 pips target)
above/below
a market order that was executed with TWS.

I have no experience with TWSlink , could somebody give me the initial move...where do I start?

I trade FX with IB TWS, and I usually place market
orders but i need an API that will automatically place
the limit order xx pips from the
executed market order price.
Thanks
Juangecko
 
maxchinaski,

I've been using TWSLink. I like it a lot. It seems to be much more reliable and faster than IBController for Amibroker.

If you have a moment. I have a couple of questions.

(1) How do you submit a a market-on-close ("MOC") order? I can't quite figure out to do it with TWSLink.

(2) How do you make the orders hidden with TWSLink?
 
Back
Top