Hi
This is a continuation of this post:
https://www.wealth-lab.com/Discussion/How-to-get-LSE-ETF-data-from-IB-9074
I am trying to get symbols for FTSE 100 in a list. I have used the code in the previous post to ensure the mapping is correct.
To test I set up a single stock dataset ADM (LSE Admiral Group) with the same symbology as the one I successfully used for ISF in the previous post e.g.
ADM;STK;GBP;SMART and it throws an error 'could not obtain historical data for ADM;STK;GBP;SMART and the log says Could not identify a contract for ADM;STK;GBP;SMART.
What should the correct mapping be please?
thanks
This is a continuation of this post:
https://www.wealth-lab.com/Discussion/How-to-get-LSE-ETF-data-from-IB-9074
I am trying to get symbols for FTSE 100 in a list. I have used the code in the previous post to ensure the mapping is correct.
To test I set up a single stock dataset ADM (LSE Admiral Group) with the same symbology as the one I successfully used for ISF in the previous post e.g.
ADM;STK;GBP;SMART and it throws an error 'could not obtain historical data for ADM;STK;GBP;SMART and the log says Could not identify a contract for ADM;STK;GBP;SMART.
What should the correct mapping be please?
thanks
Rename
Shouldn't you be using "|" as the separator?
Hi @Eugene,
I have tried using that delimiter and get the same message
Thanks Tim
I have tried using that delimiter and get the same message
Thanks Tim
If you followed the procedure to add the symbol records to IBContracts.txt, then you should not use the delimited style. Even if you use the delimiters, you only need to do it once (if it successfully finds the contract) and thereafter you only use the symbol part.
Long story short -
1. Create records like this one and add them to IBContracts.txt
ABF.L=ABF|GBP|STK|LSE|
I recommend using an extension like .L to distinguish it from U.S. Market symbols, just in case.
2. Restart WealthLab.
3. Use ABF.L in DataSets and charts
And please, you must have the appropriate data subscription at IB to receive data requested by API.
Long story short -
1. Create records like this one and add them to IBContracts.txt
ABF.L=ABF|GBP|STK|LSE|
I recommend using an extension like .L to distinguish it from U.S. Market symbols, just in case.
2. Restart WealthLab.
3. Use ABF.L in DataSets and charts
And please, you must have the appropriate data subscription at IB to receive data requested by API.
Hi @Eugene and @cone
So its all working this morning.
I think what may be happening is that if I my computer goes to sleep when it gets woken up the data connection is interrupted somehow. I can see activity in Trader Workstation and make trades but something is not 'on' in the back end.
Useful for troubleshooting perhaps but sorry to have wasted your time.
Regards Tim
So its all working this morning.
I think what may be happening is that if I my computer goes to sleep when it gets woken up the data connection is interrupted somehow. I can see activity in Trader Workstation and make trades but something is not 'on' in the back end.
Useful for troubleshooting perhaps but sorry to have wasted your time.
Regards Tim
Hi Tim,
It's also suggested to restart WL8 before a trading session which would reconnect to TWS.
It's also suggested to restart WL8 before a trading session which would reconnect to TWS.
Your Response
Post
Edit Post
Login is required