Questions tagged [interactive-brokers]

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

13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
75 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 ...
Deb's user avatar
  • 21
2 votes
0 answers
108 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 ...
Michael Dz's user avatar
2 votes
0 answers
371 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 ...
user31172's user avatar
2 votes
0 answers
439 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 ...
user19145's user avatar
2 votes
0 answers
83 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 ...
Gascoyne's user avatar
  • 527
1 vote
0 answers
37 views

Better to "work order" or just give best limit price when placing multi-leg option orders through IB with SMART routing

I place option trades usually consisting of 2-4 legs...mostly ratios spreads through IB using the SMART routing algorithm. Say for a particular trade, the bid is 0.04 debit and the ask is 0.17 debit. ...
486DX2-66's user avatar
1 vote
0 answers
351 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 ...
davidtgq's user avatar
  • 111
1 vote
0 answers
138 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 ...
Ivan's user avatar
  • 123
1 vote
0 answers
235 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 ...
null's user avatar
  • 11
0 votes
0 answers
170 views

Inaccurate real time data from stock broker

I use Interactive Brokers and have a subscription to their NASDAQ data. I use it to get near real-time data for the stock PLUG. I used to get streaming 5-sec bars and aggregate them into 1-min bars, ...
R M's user avatar
  • 11
0 votes
0 answers
466 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 ...
Amir Ariely's user avatar
0 votes
0 answers
108 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, ...
Jed's user avatar
  • 101
0 votes
0 answers
598 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?
Kevvy Kim's user avatar
  • 173