Questions tagged [tws]

Trader Work-Station (TWS) API from Interactive Brokers

183 questions
-1
votes
1 answer

reqPostions() help disconnecting TWS / Interactive brokers / api

Here is a sample of how I check for open positions. If no positions exist it creates a txt file and if open positions exist it del the .txt file. My problem is I don't know how to disconnect it . It is also outputting Error -1 see below script …
-1
votes
1 answer

Using lapply correctly

I'm working with the TWS API and it's not working for me. I got it close to doing what I want to do, but I am stuck trying to figure out how to use the lapply function correctly. Here's what I got to work currently: library("IBrokers") tws <-…
Trexion Kameha
  • 3,362
  • 10
  • 34
  • 60
-3
votes
1 answer

limit amount of RAM the JVM will be allocated

I am running TWS from Interactive Brokers in Parallels on a Mac. When I use the cloud-based link or the stand-alone application, TWS takes up 99% of available CPU. Is there a way that I can limit amount of RAM the JVM will be allocated? I have…
Rob Little
  • 35
  • 3
1 2 3
12
13