Is it possible to place orders for stock CFDs with the BrokerAdapter for Interactive Brokers in Wealth-Lab? If so, how is this achieved?
Rename
It's not currently possible, but we can mark this as a feature request. Vote by liking your first post.
After looking into it more, we actually did add some "hooks" for CFDs in the IB Provider, but for some reason getting the BarHistory (required to trade it from a script) doesn't work. I can look into that. (Edit - actually, it might work.. I just haven't requested account permissions for CFD.)
Meanwhile, it seems that US stock CFD symbols use a lowercase "n" suffix, e.g, TTDn, AMZNn, IBMn,...
For now, you can add the necessary records in the IBContracts.txt file in the User Data folder (File > Open WealthLab User Data Folder).
Close WL before editing the file.
Example:
Let me know if you can get a chart for the CFD (account perms required). If you can, then you can trade it from the chart or a script too!
Notice where the n's were added, CFD replaced STK, NASDAQ was removed, and a 1 (the multiplier) was added at the end.
Meanwhile, it seems that US stock CFD symbols use a lowercase "n" suffix, e.g, TTDn, AMZNn, IBMn,...
For now, you can add the necessary records in the IBContracts.txt file in the User Data folder (File > Open WealthLab User Data Folder).
Close WL before editing the file.
Example:
CODE:This identifies the TTD CFD, and now you should be able to trade TTDn from the Order Manager (manually).
// normal stock TTD=TTD|USD|STK|SMART|NASDAQ|TTD|||0| // Add this record to create a CFD contract for TTD: TTDn=TTD|USD|CFD|SMART||TTDn|||0|1
Let me know if you can get a chart for the CFD (account perms required). If you can, then you can trade it from the chart or a script too!
Notice where the n's were added, CFD replaced STK, NASDAQ was removed, and a 1 (the multiplier) was added at the end.
Ok, thanks! I'll give it a try, and let you know the results.
I'll have to rely on you because there are additional qualifications to trade CFDs based on residency status:
◻ Legal residents of the US, Canada, Hong Kong, New Zealand and Israel are prohibited from trading IB UK-issued CFDs.
◻ Residents of Spain can trade CFDs issued by IBUK if they are either MiFID Professionals or clients of a Spanish Introducing Broker or Professional Financial Advisor.
◻ Residents of Australia can trade CFDs issued by Interactive Brokers Australia PTY LTD.
◻ Residents of Japan can trade CFDs issued by IB Securities Japan (IBSJ).
◻ Residents of Singapore can trade CFDs on any underlying if they open an account under Interactive Brokers Singapore Pte. Ltd.
◻ Legal residents of the US, Canada, Hong Kong, New Zealand and Israel are prohibited from trading IB UK-issued CFDs.
◻ Residents of Spain can trade CFDs issued by IBUK if they are either MiFID Professionals or clients of a Spanish Introducing Broker or Professional Financial Advisor.
◻ Residents of Australia can trade CFDs issued by Interactive Brokers Australia PTY LTD.
◻ Residents of Japan can trade CFDs issued by IB Securities Japan (IBSJ).
◻ Residents of Singapore can trade CFDs on any underlying if they open an account under Interactive Brokers Singapore Pte. Ltd.
Another feature request resolved since WealthLab's IB Provider fully supports trading CFDs (since Build 44).
Also, when data is required for CFDs, the provider will access the data for the associated non-CFD contract.
See Help > Interactive Brokers for more info to set up IBContracts.txt for trading CFDs - especially for Forex trading.
Also, when data is required for CFDs, the provider will access the data for the associated non-CFD contract.
See Help > Interactive Brokers for more info to set up IBContracts.txt for trading CFDs - especially for Forex trading.
Your Response
Post
Edit Post
Login is required