Re: reqMktData doesn't lead with current bid/ask
I have the exact same issue. I was fine for months because i was operating on very liquid markets, but i now have some illiquid options again.
I tried for hours yesterday and simply could not get the
By
Herve K <herve.kaeffer@...>
·
#47240
·
|
Daily historical bar data for IDEALPRO/FX and Futures and Indexes, what is the cutoff time?
I need to obtain daily bar data of various asset classes for some research and I could not get any satisfactory answers for some of the below questions via IB chat. I use IB's Python wrapper through
By
Dojo321
·
#47239
·
|
Re: reqMktData doesn't lead with current bid/ask
Do you have a side by side video of TWS windows corresponding to reqmktdata
and API callback print showing the discrepancy?
Hope you are looking at corresponding TWS window.
[email protected]>
By
Bruce B
·
#47238
·
|
reqMktData doesn't lead with current bid/ask
I'm just posting for confirmation on reqMktData behavior.? It seems odd to me that, for a live data request,
it doesn't lead with the current bid/ask and then send change callbacks.? For slower,
By
Phil K <pkdevel@...>
·
#47237
·
|
Re: IBAPI - Contract details for micro contracts MYM
Replacing contract.localSymbol with contract.symbol and contract.lastTradeDateOrContractMonth works for me.
Thanks for the responses.
KH
By
Kevin
·
#47236
·
|
Re: IBAPI - Contract details for micro contracts MYM
For most futures, you can get the contract by specifying just the sectype, the local symbol and the exchange (for example E-Mini futures on Globex). For some futures, which only trade on a single
By
Richard L King
·
#47235
·
|
is it possible to invoke the ib robot command line interface through the api?
hello friends,
i would like to build upon the existing ib robot command line interface.
any suggestions?
By
alexbodn@...
·
#47234
·
|
Re: IBAPI - Contract details for micro contracts MYM
I think you still need to define the expiration and the multiplier.
By
carlos
·
#47233
·
|
Re: IBAPI - Contract details for micro contracts MYM
This works for me:
mym_contract = Contract()
mym_contract.symbol = 'MYM'
mym_contract.secType = 'FUT'
mym_contract.exchange = 'ECBOT'
mym_contract.currency =
By
Jamie Hall
·
#47232
·
|
TWS alerts to API
Hi.
Can't find a way to get Alerts set up in TWS to show in API.
Or a way to set up Alert via API.
API documentation doesn't help.
Regards
Priit
By
priit@...
·
#47231
·
|
IBAPI - Contract details for micro contracts MYM
Hello,
I'm new at this, and would like some help with Contract Definitions for the ECBOT exchange contracts.
Using the provided Python sample Program.py and am able to obtain snapshot data for
By
Kevin
·
#47230
·
|
Re: ibapi nextValidId not always invoked
indeed, that is the solution i adopted too.
thank you very much @ScottBrian
By
alexbodn@...
·
#47229
·
|
Re: ibapi nextValidId not always invoked
thank you @ScottBrian,
this is indeed my first time to deal with threads.
my program is not intended to stop receiving data, but to handle as much of it.
about your solution:
i see the run() method
By
alexbodn@...
·
#47228
·
|
Re: ibapi nextValidId not always invoked
Hi Alex,
I have some additional thoughts:
IBapi __init__ calls host_connect which will be unsuccessful if TWS is not yet up. This we know. But then, __init__ instantiates a thread for the EClient run
By
@ScottBrian
·
#47227
·
|
Re: OCA Order Examples
My apologies for the spamming of messages - last one.
I figured it out. For anyone else that searches for and finds this, my mistake was believing that I needed to submit the multiple orders through
By
zirndorfer2021@...
·
#47226
·
|
Re: OCA Order Examples
The ocaContract list above was just testing to see if I could use a list for that purpose - I obviously couldn't.
By
zirndorfer2021@...
·
#47225
·
|
Re: OCA Order Examples
After working on this further, my main issue seems to be with the contract field in the placeOrder for the OCA. When checking via relevant prints, the list doesn't seem to contain the full contract
By
zirndorfer2021@...
·
#47224
·
|
Re: Do I need to create a GUI for using the IBAPI sample program TestCppClient. Thanks.
Thank you for your info, hymagik.
My MFC Dialog-based window program is running OK now.
Thank you anyway.
By
jnyusf
·
#47223
·
|
Re: ibapi nextValidId not always invoked
Hi Alex,
I had a similar problem with a connect being done on the heals of a disconnect. I determined that the EClient disconnect code failed to wait for the reader thread to come home. It was
By
@ScottBrian
·
#47222
·
|
OCA Order Examples
Hey everyone,
I'm in the process of setting up the IB Api in Python and I am pulling my hair out trying to get a One Cancels All order setup correctly (i.e. without errors). I was wondering if anyone
By
zirndorfer2021@...
·
#47221
·
|