In IBKR API, how can I retrieve stock data after a corporate action causing a contract id change?
To retrieve stock data, I always used: Contract contract = new Contract(); //contract instance contract.Symbol = "LRCX”; //ticker here contract.SecType = "STK"; //contract type stock That will point to the LRCX stock. However, IBKR manages the stock data using its unique contract IDs and it assigned a new contract ID to LRCX after its stock split on Oct 3 2024. So that contract instance will only point to LRCX after Oct 3 2024 and shows no such contract exists prior to the date. The current LRCX Conid is 732440574, but pre-split Conid is unknown. When I pull up the chart on IBKR, it shows LRCX
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.