Re: Unable to determine when an order is submitted
PreSubmitted is not the status you want, as that still does not mean active. What you want is Submitted. You can look at https://ib-api-reloaded.github.io/ib_async/api.html#ib_async.order.OrderStatus
By
biney59@...
·
#281
·
|
Unable to determine when an order is submitted
Hi all,
I am unable to determine when an order is submitted. See the below code of
my on_order_status event. What am I doing wrong? The on_order_status event
does fire. I suspect I have the if
By
Pranav Lal
·
#280
·
|
Re: groups of events into one event
Thanks so much. I didn’t know about the event kit notebook…..that will be useful, or the ticker event.
By
in_woolloomooloo
·
#278
·
|
Re: groups of events into one event
Hi,
You can use the event that is on the ticker.
You are referring to the ib_async.IB() events, which will emit updates for any ticker that is active. But there is a ticker event too, which will
By
Gonzalo Saenz
·
#277
·
|
groups of events into one event
Hi,
When using TickerUpdateEvent, or pendingTickersEvent, is there a way to collect individual stock events into a grouped event......for example if I have 10 stocks in a portfolio that is streaming
By
in_woolloomooloo
·
#276
·
|
Re: discrepancy with historic data
thanks for the responses. i realised/figured out that the open print will get the first trade after 9.30.00 which isn't necessarily the open auction.
By
in_woolloomooloo
·
#275
·
|
Re: Why strike price 5635 missing from SPX option chain for 2025-03-14?
If it's missing in TWS, then there's no API issue (at least not on the last mile).
I doubt it wasn't available on the market, so only reasonable explanation is that the gamma was so high it hit some
By
mov_ebpesp
·
#274
·
|
Re: Why strike price 5635 missing from SPX option chain for 2025-03-14?
Sorry, I attach here the screen shot for the missing strike
By
Lewis_Tang
·
#273
·
|
Why strike price 5635 missing from SPX option chain for 2025-03-14?
My algo tried to define options contract for strike price 5635 with expiry on 2025-04-14 (0DTE), but got error message saying "Unknown contract". I then found that this particular strike (5635) was
By
Lewis_Tang
·
#272
·
|
What does the following error message mean?
This message happens right after I issue `ib.connectAsync()`. I am pretty sure it is printed out from `ib_async`. What does it mean and what do I need to do?
By
Little Trader
·
#271
·
|
Re: discrepancy with historic data
For the opening there's an auction and the price of the auction is the opening price (code=Q); note the high volume.
In-between the first ticks and the big auction there are some odd-lot trades
By
mov_ebpesp
·
#270
·
|
Re: discrepancy with historic data
Hey woolloomooloo,
Yahoo Finance shows the opening price was $90.25. Perhaps they had the same issue as you (seeing the two numbers of 9.21 and 9.28) and just took an average of the two lol.
Pulling
By
Some_guy_555
·
#269
·
|
Re: Automatic bid or ask price change until funded
How about the Relative/Pegged to Primary order-type ? I have used them in the past and they're pretty neat. IB continually adjusts your order's limit price as the market moves. You can also set an
By
Some_guy_555
·
#268
·
|
Re: Automatic bid or ask price change until funded
Well, you can make your 'emulated IB Algo' as complicated as you like. To start with a timer (like I described above) seems like the simplest and most logical choice.
To make you algo 'smarter' you
By
Ray Johnson
·
#267
·
|
Re: Automatic bid or ask price change until funded
Agreed, that would be an option. I would like to prevent to put in a timer though. Makes the code a bit unreliable. Or do you have something else in mind. Appreciate the response!
--
Secured with
By
28coins@...
·
#266
·
|
Re: Automatic bid or ask price change until funded
You could just use a limit order and change the limit price every x seconds by a certain price increment that you choose.
So you would basically simulate the IB Algo order type. Only, you have more
By
Ray Johnson
·
#265
·
|
Re: Automatic bid or ask price change until funded
This is a good idea. I have the code for the order. Hoped that there was a preset order type for it. Appreciate the response!
--
Secured with Tuta Mail:
https://tuta.com/free-email
Feb 10, 2025,
By
28coins@...
·
#264
·
|
Re: Automatic bid or ask price change until funded
That should be doable.? I don't have code for that, but if you already have the code to place the order, wrap that in a loop that until filled place order plus .01, wait whatever time you want
By
Mel
·
#263
·
|
Re: Automatic bid or ask price change until funded
. I found the IB algo etc, but this seems to peg the order to the midpoint and changes the price based on market price changes. Within the api I'd like to give my order a start price and have the algo
By
28coins@...
·
#262
·
|
Automatic bid or ask price change until funded
By
28coins@...
·
#261
·
|