Author |
Topic: DDE update not working if the symbols is not in the OEC trader list (2 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
NAkesson Posts: 11 Joined: Aug 10, 2011 |
Hi,
I´m a new user. When I check the internet and some forums I learned that the fastest way to get quotes is through DDE to Excel (or emulate Excel). So after some scripting and tests I found out that I just have to do a initiate, requets followed by a terminate, to get the manual links working and It updates fast. The manual links I generate through VBA to the spreadsheet with the correct symbol. But my problem is if the symbol is not in the quotelist (in the OEC trader program) even if they exist (contract exist), then I won´t get any quotes. I´ve already done a automatic symbol-script that are doing a rollover when it should be. But when I change date on my computer (for testing), a new future contract is requested by the link and it is not working (until I update my list on the program (OEC trader) for the contract). I saw that I could save a XML-list for all the setting and in the XML my symbollist was stored. Could close down the OEC trader and then automatic change the xml-file with the new symbol (rollover-time) and then start the OEC trader with the new settings? Or could I send a DDE command to OEC trader to change the symbollist with the new contract? Niclas Akesson |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Hello,
unfortunately, the current implementation doesn't support subscribing to a new contract via DDE links: contract should be in the quote list of OEC Trader. You can try to update Trader.xml file, but it is not documented and can be changed any time. I submitted this issue to our development queue. Victor Vins Lead Software Developer |
||||