Re: OptContract Lookup
Strike 119.0 does not exist, try a multiple of 5. You do not need you specify the exchange. Outlook for Android<https://aka.ms/ghei36> downloaden
By
Herman Vanderheyden
·
#46671
·
|
Re: SLOW connection times
Then you have your troubleshoot mapped already. It's not your program. 1- Change TWS version on remote side (less likely to be the issue) 2- Check your network (connect directly to modem and
By
Bruce B
·
#46670
·
|
Re: OptContract Lookup
I'm not sure, probably SMART as exchange not working for options lookup. Try to pass 'CBOE' as exchange name
By
Mikhail Ershov
·
#46669
·
|
Re: reqScannerSubscription() Documentation
Thanks Dmitry. It looks like what I am doing already is still the best approach. I will stick to what is not broken!
By
David Armour
·
#46668
·
|
OptContract Lookup
I am trying to lookup contract details (socket.reqContractDetails()) of the following option contract (com.ib.client.Contract.OptContract): conid 0 symbol XLY secType OPT lastTradeDateOrContractMonth
By
Crow
·
#46667
·
|
Re: SLOW connection times
Already done, and it connects no problem to that, although it's a more updated version--978, whereas I think the server's version is 976.
By
ExStock
·
#46666
·
|
reqTickers on paper account - bid/ask stay still for long times
When I request current ticker with reqTickers in succession, bid/ask stay unchanged for long time like minutes order of magnitude while ¡°last¡± is updated consistently every time. This is on paper
By
Alex Gorbachev
·
#46665
·
|
Re: SLOW connection times
Download TWS on same PC as you have your program and connect locally to 127.0.0.1 to rule out any network and IP Transit issues. - Bruce
By
Bruce B
·
#46664
·
|
Re: avgFillPrice returning zero
If you're using ib_insync, you should ask this question at /g/insync This group is for the APIs provided by IBKR only. Thanks Richard King TWSAPI Group Owner and Moderator Sent: 02
By
Richard L King
·
#46663
·
|
Can't modify bracket order - ONLY stop loss quantity won't update
Hello, When I try to modify a placed bracket order by resubmitting it with different parameters, all of my changes go through (as verified in TWS), EXCEPT for the "quantity" for the stop loss order,
By
mcard
·
#46662
·
|
SLOW connection times
I always connect to IB through the TWS python API. We run TWS itself on a server; the python code runs locally on my PC.? Until recently, establishing a connection to IB this way took <2 seconds, and
By
ExStock
·
#46661
·
|
Re: FXCONV support in API?
yes 'FXCONV' is only for placing orders, just like in TWS. There is a setting in TWS at Global Configuration -> API -> Settings -> 'Include Virtual FX positions when sending portfolio' that can be
By
Josh
·
#46660
·
|
Re: avgFillPrice returning zero
Some more details: I'm using ib_insync to get a list of all trades from the current session, then getting the data for each trade. Not tracking orderID or anything since I'm relatively new and haven't
By
sunyc45@...
·
#46659
·
|
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
·
|