¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date
avgFillPrice returning zero
Hi, When I call orderStatus.avgFillPrice for a completed trade, it keeps returning zero (even several hours after the trade). I've had to sum up the quantities in each fill to get the average price,
By sunyc45@... · #46658 ·
Re: reqScannerSubscription() Documentation
Hi David, Simpy try not to cancel your scanner subscription after getting scannerDataEnd and you'll see what's going on. Basically it will send you periodic updates in the form of a whole list (no one
By Dmitry Shevkoplyas · #46657 ·
Purchase Date for Tax Purposes
Has anyone built any code to get the purchase date of positions in your account so that you can take into account short term vs long term capital gains tax?
By Joel Gross <joelrgross@...> · #46656 ·
reqScannerSubscription() Documentation
I have been re-writing some scanner code recently and I thought of changing my code which currently does this: 1) Call reqScannerSubscription 2) Read all scannerData() callbacks 3) Cancel subscription
By David Armour · #46655 ·
Re: Connectivity between IB and Trader Workstation has been lost
IBC is irrelevant in this, and cannot do anything about it. TWS keeps running through the reset period, so as far as IBC is concerned everything is fine. Even if your API program decides to somehow
By Richard L King · #46654 ·
Re: Connectivity between IB and Trader Workstation has been lost
It is a total mess between 12am to 1am EST which corresponds to your GMT timezone. All sorts of wired behaviour happens at this hour. It is definitely not a clean maintenance window. You are not
By Bruce B · #46653 ·
Re: Connectivity between IB and Trader Workstation has been lost
This is the daily IB server restart, there is nothing you can do about it. The messages tell you when it happens. There is also a message (1101) that tells you that subscriptions were lost and you
By Nick <news1000@...> · #46652 ·
Re: Connectivity between IB and Trader Workstation has been lost
Bummer. Wish it had auto-restart past those or through those. Seems odd.
By Stuart Cracraft <smcracraft@...> · #46651 ·
Re: Connectivity between IB and Trader Workstation has been lost
Thanks Mikhail, that's very helpful to know about.
By John · #46650 ·
Re: Connectivity between IB and Trader Workstation has been lost
Probably you're catching an every-day hour of server maintenance 05:45 - 06:45 CET in Europe https://www.interactivebrokers.com/en/index.php?f=2225
By Mikhail Ershov · #46649 ·
Connectivity between IB and Trader Workstation has been lost
Hi all, I was hoping someone here might have seen this error message before and know what to do. I've been in contact with the IB API team, but they don't know what's causing it. At about 5.30am GMT
By John · #46648 ·
I don't understand historical 5-second bar volume
Hey, I'm new to this group, so please have mercy on me. I trying to use "reqHistoricalData" to get 5-second bar data.? I don't understand what the "bar.Volume" means. For example, I have IQFeed.net
By Charles <cbrauer@...> · #46647 ·
Re: Expiring Limit order
I believe this should work in C# for a start: order.Tif = "GTD"; order.GoodTillDate = "20210228 12:00:00"; Note that this will refer to TWS default timezone. Another timezone can be specified with the
By ds-avatar · #46646 ·
Excel VBA Code for downloading Interactive Brokers price history and Option Chains
Does anyone have excel VBA code that downloads interactive brokers price history and current option chains?
By thurman.aerospace@... · #46645 ·
Re: Expiring Limit order
ds-avatar, can you please put an example with order expiring at noon? Thanks a lot!
By LJ · #46644 ·
Re: Expiring Limit order
Setting order's expiry time using the field GoodTillDate with Tif="GTD" will usually be much less cumbersome and limiting in many ways than attaching the condition. Despite the name, this option
By ds-avatar · #46643 ·
Expiring Limit order
I'd like to place a limit order that expires in 60 seconds. I'm using the ib-insync Python module. After reading docs, googling and some experiments I figured that this works: order =
By Alex Gorbachev · #46642 ·
Re: FXCONV support in API?
Hi Josh, Where is supported? in market data streaming or in orders? I don't see any mention of it in API. Is it spelled as fxconv? For virtual positions reporting you mean settings of TWS or settings
By Bruce B · #46641 ·
Re: Getting full list of Exchange Listings via API.
There are 253 now on IBKR. You can request this from API using *reqMktDepthExchanges().* https://interactivebrokers.github.io/tws-api/market_depth.html#reqmktdepthexchanges - Bruce
By Bruce B · #46640 ·
What are smart-routing groups?
Hi, From contract details, what is a "smart-routing group"? I see that some bonds and forex have 4, 7, 12, etc...returning as AggGroup and most rest of the market don't have a number attached to them.
By Bruce B · #46639 ·