¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date
Re: How to create a performance efficient trading app so each sub process runs smoothly in Python?
You can also think of using something like ZeroMQ as your messaging/concurency backbone. Python has a bindings module for it - pyzmq.
By Alex Gorbachev · #46766 ·
unable to build with visual studio 2019 and cpp API 9.81
Hi, I get the error Error MSB8020 The build tools for v142 (Platform Toolset = 'v142') cannot be found. Do I need to make changes to project solution after downloading it? I did install v142, not sure
By @sv624 · #46765 ·
Re: event when a stock reaches a certain price
Can you be more specific what you consider huge? Did you buy quote boosters so that you can subscribe to more than 100 contracts? From what you are doing, I'd say you'd only need to subscribe to
By J¨¹rgen Reinold · #46764 ·
event when a stock reaches a certain price
Hi, I am trying to monitor a list of tickers (lets say the list is big). I want to know when one of the tickers reaches a certain price. The target price is generated by an algo so it's not just a
By corneliu maftuleac <corneliu.maftuleac@...> · #46763 ·
Little tool for option chain contract creation
Hi, I have created a little library which can scrape option chains in a (hopefully) easy manner. The topic is discussed here /g/twsapi/message/46566
By juxeiier <juxeiier@...> · #46762 ·
Order cancelation reason
How do I distinguish order rejection at the very beginning (like margin) from order cancellation, say, on time expired for GTD orders? I get order status update event and it has status
By Alex Gorbachev · #46761 ·
Re: How to create a performance efficient trading app so each sub process runs smoothly in Python?
I love Python but it has its own place and it's not good for real-time-ish parallel compute. You can hack around things but in the end it won't be crazy. You can consider Go and node.js from
By Alex Gorbachev · #46760 ·
Re: Request for options contracts per expirtation date
I'm not a fan of TWS API design at all (to say the least). But at this point it has so much history and dependencies that it is not feasible to improve it dramatically in an evolutionary manner. You
By Alex Gorbachev · #46759 ·
Re: How to get all VALID options
I do get valid chains in this way: chains = ib.reqSecDefOptParams(contract.symbol, '', contract.secType, contract.conId) then I just get the one for exchange SMART. Then for expiration date I need, I
By Alex Gorbachev · #46758 ·
STK/STK Combo Order with Python
Has anyone written a working Python code for sending orders on an STK / STK combo?
By ugo.castagnola@... · #46757 ·
Re: Anyone upgraded Java version for TWS on Linux?
Thanks Hunter, very helpful. I did some digging around in that directory as you suggested and found some differences between various files. I copied a few files over from the IB JVM directory to the
By John · #46756 ·
Option settlement price AM/PM
When a stock closes for trading at the end of business on expiration Friday, the last trade determines the options settlement price (PM settlement). That is not true for those European-style options
By Francois G · #46755 ·
Re: How to get all VALID options
I probably will not need all call and put contracts, but at least say 2SD strikes prices away from current underlying prices. Then I scan all chains for all symbols, for example to see if there is a
By juxeiier <juxeiier@...> · #46754 ·
Re: How to get all VALID options
2hours just for 3 symbols!! Do you need them all? (and you probably do something wrong, should be way faster with reqSecDefOptParams). Wanted to speed up option chain on UI - so no point on download
By Matthias Frener <matthias.frener@...> · #46753 ·
Re: How to get all VALID options
Hi Matthias, thx for help. You really cache the contracts locally? If I get all contracts for all chains for 120days from today, that takes 2hours just for 3 symbols!! That is the reason I implemented
By juxeiier <juxeiier@...> · #46752 ·
Re: Getting last Expired Option Price
I actually the closing the pricing of the current trading day. Maybe we have different use-cases, but I only need expired option prices for the daily settlement. So I use last price just after markte
By Matthias Frener <matthias.frener@...> · #46751 ·
Re: How to get all VALID options
there when markets are closed? You probably have to switch to frozen market-data type. You will only see live-greeks while market is open, otherwise there is no bid/ask and difficult to calculate it.
By Matthias Frener <matthias.frener@...> · #46750 ·
Re: Request for options contracts per expirtation date
Hi Francois, thx for the links. All of this leaves me really speachless about the quality of the IB API. I am a professional software developer since >30years, but a function like reqSecDefOptParams
By juxeiier <juxeiier@...> · #46749 ·
Re: How to get all VALID options
This is really unbelievable. The quality of this API is really low, which is especially evident in this problem. I have now implemented something with Yahoo finance, which gives me the *valid* option
By juxeiier <juxeiier@...> · #46748 ·
Re: Getting last Expired Option Price
Hi Mattias & Alexandre, To get the underlying closing price, do you use reqHistoricalData for the expiration date? Using Regular Trading Hours (RTH) = 1 or 0 ? The closing price of the underlying for
By Francois G · #46747 ·