By lose time do you mean add a delay ? The API code simply makes a TCP/IP connection to the TWS java code (usually to port 7496 on the local host), so the only delay is that for sending TCP/IP messages from/to the same machine and that for the TWS java code decoding those messages. Probably a very small fraction of a millisecond at most unless the machine is heavily loaded.