desktop:desktop_dde

This is an old revision of the document!


DDE

T4 supports sending data via DDE to other application providers, such as Microsoft Excel and Open Office.

On the Main tab of the Main Properties you will find the DDE Format option. This allows you to change between Excel and OpenOffice Calc DDE syntax. They are not the same.

To recieve quote data from a particular DDE link MUST have a Quote Board window open and containing the desired market. Then click the ‘DDE’ button on the Quote Board. Right click on a cell in your spreadsheet and choose the ‘Paste’ menu item. This will paste a table of links to T4 that contain the same markets and columns as your Quote Board. Alternatively, you can right click on a single value in the Quote Board and select the ‘Copy DDE Link’ menu item, then paste into your spreadsheet. Only the specific value will be linked.

Again, the market must be displayed in the Quote Board window BEFORE it is linked to your spreadsheet. This also applies if you are loading a saved spreadsheet.

Getting Data Into Excel

IMPORTANT: In order to pull data via DDE from T4, you first need to have T4 open and subscribed to the desired markets. A subscription can be made by adding the desired markets to a quote board. It is good practice to open T4 first, then open Excel; and to close Excel first, then close T4.

The DDE link format for market data in Excel is:

=T4Screen|'MKT_<marketid>'!<value>

Where:

<marketid> is the unique identifier for the market in T4. This does not match any exchange published symbol. You can only obtain these by using the above method of copying the link for a value from T4 and pasting it into Excel or some other application.

<value> is the data value of the market that you want, for example last trade price. The valid values are shown below:

Value Meaning
Description Row B1
Numerator Row B2
Denominator Row B2
Settlement_Price,Settlement_Ticks Row B1
Open_Price,Open_Ticks Row B2
High_Price,High_Ticks Row B2
Low_Price,Low_Ticks Row B1
Mode Row B2
Total_Traded_Volume Row B2
Last_Trade_Volume Row B1
Last_Trade_Price,Last_Trade_Ticks Row B2
Bid_Volume Row B2
Bid_Price,Bid_Ticks Row B1
Offer_Volume Row B2
Offer_Price,Offer_Ticks Row B2
Net_Change_Price,Net_Change_Ticks Row B1

DDE Commands

Breaking DDE Links

  • desktop/desktop_dde.1640107433.txt.gz
  • Last modified: 2023/09/21 19:55
  • (external edit)