I did as asked so -by means of a test- tried to add a CFD to MW. Historical data was loaded correctly, but no real time data came through.You can always double check for ticker attributes by going to TWS watchlist / add your ticker / right click / details and/or description.
In case of EUR.AUD CFD, these attributes are:
Symbol: EUR or localsymbol: EUR.AUD
security type: CFD
currency: AUD
exchange: SMART
Based on the screenshot, most of these attributes are fine, try with symbol EUR or EUR.AUD. (Depends on if your client platform works with symbol or localsymbol attribute)
No luck yet, so I added the following exchange:Right click on the ticker, then there is a search bar in the context menu if details or description did not come up in it. you can search for details or description there. In case of CFD-s, you need to specify the value of product as symbol (symbol=eur) or symbol as localsymbol (localsymbol=eur.aud) when specifying the contract via API.
I attached this screenshot:Additionally, I can add that I noticed that the underlying asset for this CFD (the EUR in currency AUD) has the exact same Symbol-definition in TWS (screenshot in attachment)
By then they started to like me less and were suggesting my 'third-party-app' might be the root cause:Try to set EUR as symbol instead of EUR.AUD. If that still does not work, try to contact the third party platform's support and ask them how that specific instrument should be found on their platform.
And we're here now:CFD and FOREX are two different instrument types, therefore the two contracts are in fact not the same. CFD contracts are always defined with SMART exchange, while FOREX contracts use IDEALPRO. When in doubt, double check if data is available in TWS. (CFD data is available for older bars too)
Again, our support capabilities with regards to operating 3rd party platforms is quite limited. If you have questions about how to use the third party platform to find certain contracts or display market data, ask the 3rd party platform provider for help.
I am looking into this further one of these days. I hope the info above already solves your issueI must have not communicated clear enough: I know all too well CFD and Forex are different instruments, and that they require separate datafeeds. In my TWS both work as expected, so I think it's safe to say the subscription for both of them is active and feeds my TWS-platform with data. I do NOT get a live feed however when I enter the exact same instrument definitions in MotiveWave (I tried EURAUD, EUR.AUD, a simple EUR but denominated in AUD, ... like you suggested before)
As a long-term SDK-user and custom-coder for MW, I can benefit from a very healthy relationship with their Dev-team, so I will contact MW as well in parallel, but I also expect answers from IB:
* what is the correct way to 'define' an instrument on the SMART-exchange for use with the API (because that is after all what MW -or any other third-party platform for that matter- does) ?
* Given the fact that the 'quote details'-trick from a couple of posts ago is apparently not working: Where can I find the correct definition for CFD's (or any other instrument) on the TWS-platform ?
* I am a programmer / sysadmin myself, so not afraid of log-files and debugging : where can I look 'under the hood' of TWS, so I can figure out what third-party calls are being made and where issues exist ? Is there a debug-window of sorts ? A log-file for incoming API-calls ? An error-log ? ... ?
I won't know if it is "truly" working until the contracts roll over, but after deleting all my ES instruments, loading up the ESZ2:CME symbol (thanks for that!), then redoing the continuous future, it seems to be working in real time. I don't know, but before I did the ESZ2:CME symbol, the GLOBEX exchange kept coming up. Perhaps by my searching and forcing the CME exchange to be used, that cleared out the GLOBEX link. Again, not really sure it worked until the contract rolls.....Has anyone been able to get the continuous futures working? I got ES working by using symbol ESZ2:CME, but still not able to create continuous future symbols it appears.