Welcome Guest, you are in: Login
CTS Futures
Home
Pricing
Market Data
FAQ
Videos

T4 Desktop
User Guide
Scripting Guide
Release Notes

Mobile and Web
T4 Mobile for Android
T4 Mobile for iOS
T4 Mobile for Browser
T4 WebTrader

Admins
T4 Admin Guide
MiFID II/MiFIR

Developers
API 4.7 Guide
FIX API


Original text


Original text


}

Page History: RTD

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2021/11/03 14:50


T4 supports sending data via RTD to Microsoft Excel. RTD is a newer protocol than DDE and offers better performance and reliability. RTD does not require a quote board to be open in T4 in order to stream data. It only requires T4 to be running and the proper data subscriptions to be in place for the T4 user.

To enable RTD, go to the main properties, expand the "General" section, then choose "RTD." On the right side, check the box to "Enable RTD Server." You can change the price format in this section of the menu as well. The default is "Decimal," but hovering over the menu item will provide examples of other price display formats.

Image

Once RTD is enabled, all former "Copy DDE" buttons will show as "Copy RTD." Please note that at this time, charts do not support RTD. Charts will still provide DDE links and DDE and RTD can be used simultaneously in the same Excel sheet. From a Quote Board, click the "Copy RTD" button and then paste into Excel. Once pasted in Excel, RTD formulas can be manipulated to show different markets and data. A list of available fields is outlined at the bottom of this page.

From a Quote Board, you can right click on a market and choose "Copy Market Depth RTD Link" to copy the first 5 levels of depth to Excel. The formulas can be expanded to up to 10 levels of depth after being added to Excel by altering the RTD code in each cell.

At the moment, order entry and revisions are not available via RTD. The following Quote Board columns are not yet supported with RTD:

Account Fields

Change the italic portions of the syntax to the relevant values for your purposes.
FieldSyntax
AccountID=RTD("t4", , "Account",ACCOUNT,"AccountID")
HIGHHigh price
LOWLow price
CLOSEClosing price
TYPICAL, TYPTypical price (OPEN + HIGH + CLOSE) / 3
VOLUMEVolume
VOLUMEATBIDVolume that occurred at the bid price.
VOLUMEATOFFERVolume that occurred at the offer price.
TRADESNumber of trades that make up the current bar.
TRADESATBIDNumber of trades that occurred at the bidprice.
TRADESATOFFERNumber of trades that occurred at the offer price.
INDEXIndex of the current bar being computed. This runs from 0 to COUNT - 1.
COUNTNumber of bars on the chart.
BARPERCENTPercentage completion of the current bar. E.g. 15 minutes into a 1 hour bar would give 0.25
NUMERATORThe numerator of the market.
DENOMINATORThe denominator of the market.
TICKVALUEThe tick value of the market.
NILSpecial "non-value" field.
MARKETIDThe text market id.
MARKETDESCRIPTIONThe text description of the market.

Trade how you want, where you want

support@ctsfutures.com (312) 939 0164

2 Pierce Pl, Suite 200, Itasca, IL 60143

© 2009-2023 Cunningham Trading Systems LLC All rights reserved.