Questions tagged [interactive-brokers]

Questions about Interactive Brokers, a retail brokerage, and its API for automated trading.

16 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
701 views

Trader Workstation on Ubuntu cannot be connected to via the API

I am using ibPy to connect to TWS on a fairly fresh ubuntu machine. I have been successful in logging into the paper trading account and submitting buy and sell orders programatically via the ibPy ...
2
votes
0answers
58 views

How to merge Trade ticks with Bid_Ask ticks from IB API reqHistoricalTicks, like the Time&Sales window?

reqHistoricalTicks returns data with 1 second precision, so only looking at timestamp is not enough to merge them. But it seems that the Time&Sales window in ...
2
votes
0answers
62 views

IBrokers: How to assign trail amount for order type 'TRAIL'?

I'm using R package IBrokers with IB TWS. I'm trying to create a twsOrder object using twsOrder function: twsOrder(...., orderType = 'TRAIL', ...) How can I ...
2
votes
0answers
85 views

What does leverage lower than 1 means for ETFs

I've recently noticed in my IB terminal that many ETFs have leverage lower than 1. I understand that some ETFs have leverage higher than 1 for example TQQQ because ...
2
votes
0answers
347 views

Interative Brokers: using ibPy to get live market data

documentation on ibPy is sparse. All I would like to do is request the current price of a security both pre-market and during market hours so that I can make automated trading decision on that ...
2
votes
0answers
366 views

Downloading IB futures data and then making a datapump to another program

I never have programmed before in my life but I wouldn't mind learning if I knew what i needed to do in order to solve my problem. I use neuroshell for day trading and use it extensively for trading ...
2
votes
0answers
75 views

How can the time value portion of an option be higher than 100%?

Here's a screenshot from InteractiveBrokers TWS for the near-the-money put and call on the ES Dec '15 Future: The absolute value of the time value, 9.50, makes sense. But why is the percentage value ...
2
votes
0answers
214 views

run time error 424 in IB TWS Excel DDE API; failed to add combo orders

I'm using an Excel DDE to connect to Interactive Brokers TWS via their API 9.72 sample, excel 2013. When I tried to create a combo order, the rum error code 424 said "object required". It seems that ...
1
vote
0answers
94 views

Interactive Brokers: Is Flex Web Service with Paper Account possible?

I am testing an automated system each day and I want to pull daily trade reports. The Flex Query is perfect, and works with my Live Account, but I cannot figure out how to make it work with the Paper ...
1
vote
0answers
84 views

How to Determine the Last Stock Price Before We Begin to Liquidate the Position on Interactive Brokers?

I do not if it is me who is wrong or Interactive Brokers' employees who do not provide a clear information by phone about How to Determine the Last Stock Price Before They Begin to Liquidate the ...
0
votes
0answers
40 views

IB API - get data on position that close

I am trying to implement a few new features for my trading system. My plan for now is to initially buy the stocks i wants (using Vwap) and when the order has closed (bought all the quantity) I want to ...
0
votes
0answers
26 views

Close not adjusted for splits and dividends - Interactive Brokers

Interactive brokers allows me to download several historical bar data types. Can somebody tell me, which of the historical data types are not adjusted for splits and dividends or anything else? I ...
0
votes
0answers
44 views

Charting & Trading platform with 3rd party integration

so it's 2020 and I'm surprised that there don't seem to be any platforms that provide clear and easy integration with a 3rd party backend for indicator/signal generation, charting, trade execution, ...
0
votes
0answers
491 views

How can I export intraday stock data into CSV from Interactive Broker or Yahoo Finance?

Google Finance API seems to be down forever. Are there instructions or manuals for downloading intraday stock data into CSV files from Interactive Broker OR Yahoo Finance?
-1
votes
0answers
16 views

How can I get ESG data (and controversy score) from TWS API?

The question speaks for itself. I'd just add that solutions in Python would be preferred.
-1
votes
0answers
21 views

Interactive Brokers TWS API Error: Cash Quantity cannot be used for this order

I'm trying to place an order using TWS Java API. I want to set a cash quantity instead of the quantity of shares. Below is my code: ...