Changes

Jump to navigation Jump to search

Universal DDE

4,618 bytes added, 17:58, 23 January 2012
no edit summary
 
DDE (Dynamic Data Exchange) is a widely used protocol for exchanging data between applications in the MS Windows
environment.
<br>
Please see the <a href="http://msdn.microsoft.com/library/en-us/winui/WinUI/WindowsUserInterface/DataExchange/DynamicDataExchange/AboutDynamicDataExchange.asp" TARGET="_blank">developer's website]] for more detailed information on DDE.
<br>
 
 
<br>
{|style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #cccccc"
|-
|style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #cccccc"|'''Pro'''
|style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #cccccc"|'''Con'''
|-
|style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #cccccc"|Widest choice of data sources
|style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #cccccc"|Lack of historical quotes
|-
|style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #cccccc"|Data preprocessing with Excel or other programs possible, additional features such as bad tick filtering and creating synthetic symbols
|style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #cccccc"|Average stability and performance
|}
 
 
<br>
== Features and limitations ==
 
'''Features'''
 
* User-definable DDE Server/Topic/Item for Trade Price, Trade Volume, Bid Price, Bid Size, Ask Price, Ask Size
* Rapid creation, editing and application of DDE Templates
* Testing the functionality of a DDE server or a newly created template
* Support for various server types. Some DDE servers contradict the Microsoft specifications. For maximal user convenience the program has a set of deeply customizable options (not described here). If you're not able to receive data from a required DDE server, please write to <a href="mailto:support@tssupport.com">support@tssupport.com]] and our support service will aid you as soon as possible
* Automatic reconnection in case the connection to the DDE server is lost
 
'''Limitations'''
 
* Presently the following field types are not supported: Time, Open, High, Low, Close, Total Volume, Change
* The program receives ticks only and assigns the current system time to them. Sometimes the tick's real time may differ from the assigned one due to delay
* The Status Bar is not displayed on the chart as there aren't enough fields to chart it
 
 
== Setting up ==
 
# On the '''Tools''' menu, click '''Data Sources'''.
# Select '''Universal DDE''' and click '''Settings'''.
# Indicate a template name in '''Template''' (up to 20 symbols long).
# Indicate the DDE Links in the corresponding sections (the sections include '''Trade''', '''Bid''' and '''Ask'''. The '''Price''' and '''Volume/Size''' must be indicated in each section; if '''Volume/Size''' cannot be used (e.g for Forex), indicate '''Price''' instead. Since for every price the program queries for a volume, this field will never be empty as the program will be waiting for volume data to form a new tick.
# Before creating DDE links in '''Universal DDE''' make sure they are functional in Excel. After that, copy the link to the corresponding field in '''Universal DDE''' and replace the static symbol name with the asterisk symbol '''*'''. For instance, replace =WINROS|LAST!MSFT with =WINROS|LAST!*. After that the program will automatically use the symbol name for which the given template is used. Do the same for all fields.
# To make sure that the created template is functional, click '''Test'''. Enter the symbol name in '''Symbol''' and click '''OK'''. If the DDE Server is running, the template is properly created and the queried symbol is accessible, you'll see the current value for each field and the number of updates. If quotes do not arrive, check the template and symbol name. If fixing them does not resolve the problem, please send an e-mail to <a href="mailto:support@tssupport.com">support@tssupport.com]] and indicate the DDE Server, symbol and template names, confirm that an identical template functions in Excel and share any other information you deem important.
 
To create a symbol using Universal DDE as the Data Source see [[Operating_Symbol_List#Adding Symbol(s) to Symbol List|Adding Symbol(s) to Symbol list]] section for more detailed information.
 
To use several DDE servers at once You should clone the Universal DDE and assign new settings. See [[<span style="color: red;">'''LINK'''</span> /103_Data_Sources.html name="5"; |Cloning Data Sources]] section for more detailed information.
<br>
[[Category:Built-in_Data_Sources]]

Navigation menu