Re: Ambiguous Contract on qualifyContracts for SPXW Option
You're getting an error because the market are closed tomorrow,
and you need to add trading class to option contracts.
For ES futures options I had the same problem: differente trading classes E2C and
By
Kianti
·
#220
·
|
Ambiguous Contract on qualifyContracts for SPXW Option
Interesting observation. Would love to have your opinions.
I have been using this script to validate the option contracts using `qualifyContracts`. Today, I am getting ambiguous contracts error for
By
Pratik Babhulkar
·
#219
·
|
Re: How to check TWS connectivity?
Mell,
Many thanks.
Pranav
Sent: Wednesday, January 8, 2025 8:16 AM
To: [email protected]
Subject: Re: [ib-async] How to check TWS connectivity?
The call is: isConnected()
By
Pranav Lal
·
#218
·
|
Re: How to check TWS connectivity?
You can check is_Connected() it will be true or false.MelSent from my Galaxy
By
Mel
·
#217
·
|
Re: How to check TWS connectivity?
The call is: isConnected()Sent from my Galaxy
By
Mel
·
#216
·
|
Re: How to check TWS connectivity?
Hi,
I cannot remember the exact name of the variable but there is a is_ready variable that tells you if the API is ready to go.
Pranav
By
Pranav Lal
·
#215
·
|
How to check TWS connectivity?
Using the API, what is a good way to check if the TWS is connected to IB servers?
By
R Malhotra
·
#214
·
|
Re: Option Open Interest
Thank you!
Confirming that the following code works both during and before and after market open hours:
from ib_async import *
import time
ib = IB()
ib.connect('127.0.0.1', 4001,
By
Dennis
·
#213
·
|
Re: Trying to load data asynchronously and struggling with asyncio again
Hey Christian,
Sorry, I since realized that your issue is with timeouts, not errors. Perhaps one of these settings will solve the problem:
ib.connect( '127.0.0.1' , 7497 , clientId= 1 , timeout= 0 )
By
Some_guy_555
·
#212
·
|
Re: Trying to load data asynchronously and struggling with asyncio again
I ran your code and got the following output:
Loading 2024-12-01
Loading 2024-12-02
BarData(date=datetime.datetime(2024, 12, 2, 6, 59, tzinfo=datetime.timezone.utc), open=1.270505, high=1.270505,
By
Some_guy_555
·
#211
·
|
Re: Option Open Interest
Hey Dennis,
The following code should do the trick. Including a link to the IB docs' ticker codes in case you don't already have it:
By
Some_guy_555
·
#210
·
|
Re: Anyone used the Web API?
I've recently started experimenting with the Web API, after getting a little fed up with TWS API issues. ?From what I understand if you are an individual trader (not an institution) the only way to
By
jackroc97 <jackroc97@...>
·
#209
·
Edited
|
Anyone used the Web API?
I run a bot using the ib_async wrapper but when TWS connectivity is unstable, it runs into issues. Before working to fix this, I'd like to understand if anyone has used the Web API (
By
R Malhotra
·
#208
·
|
Option Open Interest
I'm trying to get an option open interest using ib_async, but it does not show the open interest at all.
The code I have using ib_async is:
from ib_async import *
ib = IB()
ib.connect('127.0.0.1',
By
Dennis
·
#207
·
|
Trying to load data asynchronously and struggling with asyncio again
I'm trying to load historical data. It takes a while, so I thought I could speed it up with asyncio, but it doesn't work. Instead of data, I'm getting timeouts. Here is what I've tried.:
import
By
Christian
·
#206
·
|
Re: How to place multiple orders AT THE SAME TIME?
Interesting.. I've never done that and never seen that error. Not sure why but good to know.
By
wordd
·
#205
·
|
Re: How to place multiple orders AT THE SAME TIME?
Check out this video for more info https://www.youtube.com/watch?v=D76CjP2fbhg
By
wordd
·
#204
·
|
Re: How to place multiple orders AT THE SAME TIME?
Note that in some cases it will be necessary to include a small delay of 50 ms or less after placing the parent order for processing, before placing the child order. Otherwise the error “10006:
By
Kianti
·
#203
·
|
Re: How to place multiple orders AT THE SAME TIME?
Your first order has transmit=True, it needs to be transmit=False, and you need to add the parent's order id to your exit orders.
The last order in the group that has transmit = True will submit all
By
wordd
·
#202
·
|
Re: How to place multiple orders AT THE SAME TIME?
Hedging Orders
https://www.interactivebrokers.com/campus/ibkr-api-page/order-types/#volatility-orders
By
Kianti
·
#201
·
|