- Excel Rtd Functions Think Or Swim Free
- Excel Rtd Function Thinkorswim
- Thinkorswim Download
- Yahoo Finance
Microsoft Excel provides a function called RTD (RealTimeData). This function allows for direct communications between running applications. In this situation, Excel will use RTD functions to retrieve live data from thinkorswim. Configure Excel to Retrieve RTD from TOS. Apr 28, 2020 RTD functions between Thinkorswim and Excel shows text instead of numbers. I'm usign the RTD function in excel to retrieve data from Thinkorswim. The data comes in as text (I presume, since its on the left side of the cell), I need the data to be number, so I can use it in calculations. See attached spreadsheet for example (you need thinkorswim.
-->Note
Office 365 ProPlus is being renamed to Microsoft 365 Apps for enterprise. For more information about this change, read this blog post.
Summary
Note
The performance of the RealTimeData (RTD) function has been greatly enhanced in Excel M365 version 2002 or later. For more information, see Excel Performance and Limits Improvements.
This article describes the functionality that the RealTimeData (RTD) function provides. Microsoft Office Excel provides a worksheet function, RealTimeData (RTD). This function enables you to call a Component Object Model (COM) Automation server to retrieve data in real time.
When you have to create a workbook that includes data that is updated in real time, for example, financial data or scientific data, you can now use the RTD worksheet function. In earlier versions of Excel, Dynamic Data Exchange (DDE) is used for that purpose. The RTD function is based on COM technology and provides advantages in robustness, reliability, and convenience. RTD depends on the availability of an RTD server to make the real-time data available to Excel. For more information about how to create an RTD server, see the 'References' section.
The RTD function retrieves data from an RTD server for use in the workbook. The function result is updated whenever new data becomes available from the server and the workbook can accept it. The server waits until Excel is idle before updating. This relieves the developer of having to determine whether Excel is available to accept updates. The RTD function differs from other functions in this regard because other functions are updated only when the worksheet is recalculated.
Although the RTD function provides a link to data on a server, it is not the same type of link as references to cells in other worksheets or workbooks. For example, if you use the RTD function in a workbook, you do not receive the Links startup message when you open the workbook, nor can you manage the status of an RTD function through the Edit Links dialog box.
Syntax
The RTD function uses the following syntax
=RTD(RealTimeServerProgID,ServerName,Topic1,[Topic2], ...)
where the function arguments are as follows:
RealTimeServerProgID
A string that represents the Program ID of the RTD server installed on the local system. This is typically a COM add-in that is registered by a setup procedure or by using RegSvr32. RealTimeServerProgID is a required argument.
ServerName
A string that represents the name of the server on which the RTD server is to be run. If the RTD server is run locally, the ServerName should be an empty string (') or omitted.
Topic1, [Topic2], ...
Strings that determine the data being retrieved. You can use from one to 28 topics, although only one topic is required.
Using RTD
As an example of the RTD function, consider retrieving information from a server that delivers continuous data for runners in several simultaneous races. Assume that the server is provided as a Dynamic Link Library (DLL) named RaceReport.dll, that it is installed on the user's computer, and that it is registered as a COM add-in by its own setup process. The general form of the RTD function as used with this server might be as follows
Excel Rtd Functions Think Or Swim Free
=RTD('MyRTDServerProdID','MyServer','RaceNum','RunnerID','StatType')
where the topics RaceNum, RunnerID, and StatType determine the race of interest, the runner whose data is required, and the type of data for a particular use of the function, respectively.
Here the user might select a cell and type the following formula in it
=RTD('ExcelRTD.RaceReport',','2','16','Time')
to see the current elapsed time for runner number 16 in race number 2. The number of topics and the nature of the associated data is determined by the developer of the COM server. For example, the race-reporting server might deliver different data if you use the following RTD function:
=RTD('ExcelRTD.RaceReport',','3','25','Position')
In this case, the data returned indicates the current position of runner number 25 in race number 3.
In this manner, the same function can be used differently throughout the workbook to retrieve different data from the same server, all of which is updated automatically.
Wrappers to Simplify Use
The RTD function can be used inside user-defined functions (UDFs) in Microsoft Visual Basic for Applications. These then become wrappers for the RTD function. This approach can be useful in shielding users from the details of the RTD server name and ProgID, and in enabling them to focus only on the data that is important to them.
For example, in the previous scenario, the user might be provided with two functions: GetTime(RunnerID) and GetPosition(RunnerID). These functions assume that the user is always dealing with the same server and race number. Therefore the user only has to specify a runner's ID to receive current data on the runner's elapsed time and position, respectively.
Calculation
Because RTD updates data when Excel is idle, it continues to receive information if Excel is in manual calculation mode. In that event, the new data is cached and the current values are used when a manual calculation is performed.
Security
RTD servers should be digitally signed. If an RTD server is not digitally signed, the server may not load, and a #N/A will be displayed in the cell(s) referencing the RTD server.
For Microsoft Office Excel 2007, you can review security settings by using the Trust Center. This can be accessed by from the Trust Center tab in the Excel Options dialog box.
For Microsoft Office Excel 2003 and in Microsoft Excel 2002, the load behavior can be altered by adjusting the macro security settings in Excel.
References
For more information about RTD and Excel security, see How to set up and use the RTD function in Excel.
For more information about creating an RTD server, see How to create a RealTimeData server for Excel.
Overview
The RTD database contains preconfigured tables for getting real-time data from Thinkorswim thinkDesktop.
Quote tables are designed for getting data for stocks, futures, and currency pairs. Use option tables for options.
Since RealTimeToDB 2.5, RTD functions are used by default.
To update existing DDE formulas, you can use patches from the database folders.
You can disable unusable columns to reduce the server overhead.
Note that Thinkorswim thinkDesktop can crash if more than 200 000 topics are being requested.
The RTD server does not contain an actual data time field.
The DateTime, Date, and Time fields are updated using the PC time adjusted to the table time zone (Eastern Standard Time).
Real-Time Data Tables
Table Configurations
Microsoft SQL Server and Microsoft SQL Server Compact:
TABLE_SCHEMA | TABLE_NAME | LOAD_CODE | IS_HISTORY |
---|---|---|---|
rtd | QuoteListTOS | ||
rtd | QuotesTOS | SELECT Code AS Symbol FROM rtd.QuoteListTOS | |
rtd | QuoteDayHistoryTOS | SELECT Code AS Symbol FROM rtd.QuoteListTOS | |
rtd | QuoteTickHistoryTOS | SELECT Code AS Symbol FROM rtd.QuoteListTOS | 1 |
MySQL, MariaDB, and PostgreSQL:
TABLE_SCHEMA | TABLE_NAME | LOAD_CODE | IS_HISTORY |
---|---|---|---|
rtd | quote_list_tos | ||
rtd | quotes_tos | SELECT CODE AS SYMBOL FROM rtd.quote_list_tos | |
rtd | quote_day_history_tos | SELECT CODE AS SYMBOL FROM rtd.quote_list_tos | |
rtd | quote_tick_history_tos | SELECT CODE AS SYMBOL FROM rtd.quote_list_tos | 1 |
Oracle Database, IBM DB2, and NuoDB:
TABLE_SCHEMA | TABLE_NAME | LOAD_CODE | IS_HISTORY |
---|---|---|---|
RTD | QUOTE_LIST_TOS | ||
RTD | QUOTES_TOS | SELECT CODE AS SYMBOL FROM RTD.QUOTE_LIST_TOS | |
RTD | QUOTE_DAY_HISTORY_TOS | SELECT CODE AS SYMBOL FROM RTD.QUOTE_LIST_TOS | |
RTD | QUOTE_TICK_HISTORY_TOS | SELECT CODE AS SYMBOL FROM RTD.QUOTE_LIST_TOS | 1 |
* Click on the table name to go to the table description.
Task Table Examples
rtd.QuoteListTOS for Microsoft SQL Server and Microsoft SQL Server Compact:
Code |
---|
AAPL |
GOOG |
rtd.quote_list_tos for MySQL, MariaDB, Oracle Database, IBM DB2, NuoDB, and PostgreSQL:
CODE |
---|
AAPL |
GOOG |
Primary Key Columns
Microsoft SQL Server and Microsoft SQL Server Compact:
TABLE_SCHEMA | TABLE_NAME | COLUMN_NAME | RTD_FORMULA | COMMENT |
---|---|---|---|---|
rtd | QuotesTOS | Symbol | PK | |
rtd | QuoteDayHistoryTOS | Symbol | PK | |
rtd | QuoteDayHistoryTOS | Date | =Date() | PK |
rtd | QuoteTickHistoryTOS | ID | PK, IDENTITY |
MySQL, MariaDB, and PostgreSQL:
TABLE_SCHEMA | TABLE_NAME | COLUMN_NAME | RTD_FORMULA | COMMENT |
---|---|---|---|---|
rtd | quotes_tos | SYMBOL | PK | |
rtd | quote_day_history_tos | SYMBOL | PK | |
rtd | quote_day_history_tos | DATE | =Date() | PK |
rtd | quote_tick_history_tos | ID | PK, IDENTITY |
Oracle Database, IBM DB2, and NuoDB:
TABLE_SCHEMA | TABLE_NAME | COLUMN_NAME | RTD_FORMULA | COMMENT |
---|---|---|---|---|
RTD | QUOTES_TOS | SYMBOL | PK | |
RTD | QUOTE_DAY_HISTORY_TOS | SYMBOL | PK | |
RTD | QUOTE_DAY_HISTORY_TOS | DATE | =Date() | PK |
RTD | QUOTE_TICK_HISTORY_TOS | ID | PK, IDENTITY |
Real-Time Formulas for Microsoft SQL Server and Microsoft SQL Server Compact
rtd.QuotesTOS
The table contains the last data values of stocks, futures, and currency pairs from Thinkorswim thinkDesktop.
COLUMN_NAME | RTD_FORMULA | COMMENT |
---|---|---|
Symbol | PK | |
DateTime | =DateTime() | |
Date | =Date() | |
Time | =Time() | |
Description | =RTD('tos.rtd','DESCRIPTION',[Symbol]) | |
Last | =RTD('tos.rtd','LAST',[Symbol]) | |
Change | =RTD('tos.rtd','NET_CHANGE',[Symbol]) | |
PercentChange | =RTD('tos.rtd','PERCENT_CHANGE',[Symbol]) | |
LastSize | =RTD('tos.rtd','LAST_SIZE',[Symbol]) | |
LastX | =RTD('tos.rtd','LX',[Symbol]) | |
Mark | =RTD('tos.rtd','MARK',[Symbol]) | |
MarkChange | =RTD('tos.rtd','MARK_CHANGE',[Symbol]) | |
MarkPercentChange | =RTD('tos.rtd','MARK_PERCENT_CHANGE',[Symbol]) | |
Bid | =RTD('tos.rtd','BID',[Symbol]) | |
Ask | =RTD('tos.rtd','ASK',[Symbol]) | |
BidSize | =RTD('tos.rtd','BID_SIZE',[Symbol]) | |
AskSize | =RTD('tos.rtd','ASK_SIZE',[Symbol]) | |
BidAskSize | =RTD('tos.rtd','BA_SIZE',[Symbol]) | |
BidX | =RTD('tos.rtd','BX',[Symbol]) | |
AskX | =RTD('tos.rtd','AX',[Symbol]) | |
StrengthMeter | =RTD('tos.rtd','STRENGTH_METER',[Symbol]) | |
Open | =RTD('tos.rtd','OPEN',[Symbol]) | |
High | =RTD('tos.rtd','HIGH',[Symbol]) | |
Low | =RTD('tos.rtd','LOW',[Symbol]) | |
Close | =RTD('tos.rtd','CLOSE',[Symbol]) | |
Volume | =RTD('tos.rtd','VOLUME',[Symbol]) | |
OpenInt | =RTD('tos.rtd','OPEN_INT',[Symbol]) | |
ImpliedVol | =RTD('tos.rtd','IMPL_VOL',[Symbol]) | |
VolIndex | =RTD('tos.rtd','VOL_INDEX',[Symbol]) | |
FrontVol | =RTD('tos.rtd','FRONT_VOL',[Symbol]) | |
BackVol | =RTD('tos.rtd','BACK_VOL',[Symbol]) | |
WeightedBackVol | =RTD('tos.rtd','WEIGHTED_BACK_VOL',[Symbol]) | |
VolDiff | =RTD('tos.rtd','VOL_DIFF',[Symbol]) | |
PutCallRatio | =RTD('tos.rtd','PUT_CALL_RATIO',[Symbol]) | |
CallVolumeIndex | =RTD('tos.rtd','CALL_VOLUME_INDEX',[Symbol]) | |
PutVolumeIndex | =RTD('tos.rtd','PUT_VOLUME_INDEX',[Symbol]) | |
OptionVolumeIndex | =RTD('tos.rtd','OPTION_VOLUME_INDEX',[Symbol]) | |
FrontExpectedMove | =RTD('tos.rtd','FRONT_EX_MOVE',[Symbol]) | |
BackExpectedMove | =RTD('tos.rtd','BACK_EX_MOVE',[Symbol]) | |
ExpectedMoveDiff | =RTD('tos.rtd','EX_MOVE_DIFF',[Symbol]) | |
Beta | =RTD('tos.rtd','BETA',[Symbol]) | |
High52 | =RTD('tos.rtd','52HIGH',[Symbol]) | |
Low52 | =RTD('tos.rtd','52LOW',[Symbol]) | |
PE | =RTD('tos.rtd','PE',[Symbol]) | |
EPS | =RTD('tos.rtd','EPS',[Symbol]) | |
MarketCap | =RTD('tos.rtd','MARKET_CAP',[Symbol]) | |
Shares | =RTD('tos.rtd','SHARES',[Symbol]) | |
DividendYield | =RTD('tos.rtd','YIELD',[Symbol]) | |
DividendShare | =RTD('tos.rtd','DIV',[Symbol]) | |
LastUpdateTimeStamp |
rtd.QuoteDayHistoryTOS
The table contains day data history of stocks, futures, and currency pairs from Thinkorswim thinkDesktop.
COLUMN_NAME | RTD_FORMULA | COMMENT |
---|---|---|
Symbol | PK | |
Date | =Date() | PK |
Time | =Time() | |
Description | =RTD('tos.rtd','DESCRIPTION',[Symbol]) | |
Last | =RTD('tos.rtd','LAST',[Symbol]) | |
Change | =RTD('tos.rtd','NET_CHANGE',[Symbol]) | |
PercentChange | =RTD('tos.rtd','PERCENT_CHANGE',[Symbol]) | |
LastSize | =RTD('tos.rtd','LAST_SIZE',[Symbol]) | |
LastX | =RTD('tos.rtd','LX',[Symbol]) | |
Mark | =RTD('tos.rtd','MARK',[Symbol]) | |
MarkChange | =RTD('tos.rtd','MARK_CHANGE',[Symbol]) | |
MarkPercentChange | =RTD('tos.rtd','MARK_PERCENT_CHANGE',[Symbol]) | |
Bid | =RTD('tos.rtd','BID',[Symbol]) | |
Ask | =RTD('tos.rtd','ASK',[Symbol]) | |
BidSize | =RTD('tos.rtd','BID_SIZE',[Symbol]) | |
AskSize | =RTD('tos.rtd','ASK_SIZE',[Symbol]) | |
BidAskSize | =RTD('tos.rtd','BA_SIZE',[Symbol]) | |
BidX | =RTD('tos.rtd','BX',[Symbol]) | |
AskX | =RTD('tos.rtd','AX',[Symbol]) | |
StrengthMeter | =RTD('tos.rtd','STRENGTH_METER',[Symbol]) | |
Open | =RTD('tos.rtd','OPEN',[Symbol]) | |
High | =RTD('tos.rtd','HIGH',[Symbol]) | |
Low | =RTD('tos.rtd','LOW',[Symbol]) | |
Close | =RTD('tos.rtd','CLOSE',[Symbol]) | |
Volume | =RTD('tos.rtd','VOLUME',[Symbol]) | |
OpenInt | =RTD('tos.rtd','OPEN_INT',[Symbol]) | |
ImpliedVol | =RTD('tos.rtd','IMPL_VOL',[Symbol]) | |
VolIndex | =RTD('tos.rtd','VOL_INDEX',[Symbol]) | |
FrontVol | =RTD('tos.rtd','FRONT_VOL',[Symbol]) | |
BackVol | =RTD('tos.rtd','BACK_VOL',[Symbol]) | |
WeightedBackVol | =RTD('tos.rtd','WEIGHTED_BACK_VOL',[Symbol]) | |
VolDiff | =RTD('tos.rtd','VOL_DIFF',[Symbol]) | |
PutCallRatio | =RTD('tos.rtd','PUT_CALL_RATIO',[Symbol]) | |
CallVolumeIndex | =RTD('tos.rtd','CALL_VOLUME_INDEX',[Symbol]) | |
PutVolumeIndex | =RTD('tos.rtd','PUT_VOLUME_INDEX',[Symbol]) | |
OptionVolumeIndex | =RTD('tos.rtd','OPTION_VOLUME_INDEX',[Symbol]) | |
FrontExpectedMove | =RTD('tos.rtd','FRONT_EX_MOVE',[Symbol]) | |
BackExpectedMove | =RTD('tos.rtd','BACK_EX_MOVE',[Symbol]) | |
ExpectedMoveDiff | =RTD('tos.rtd','EX_MOVE_DIFF',[Symbol]) | |
Beta | =RTD('tos.rtd','BETA',[Symbol]) | |
High52 | =RTD('tos.rtd','52HIGH',[Symbol]) | |
Low52 | =RTD('tos.rtd','52LOW',[Symbol]) | |
PE | =RTD('tos.rtd','PE',[Symbol]) | |
EPS | =RTD('tos.rtd','EPS',[Symbol]) | |
MarketCap | =RTD('tos.rtd','MARKET_CAP',[Symbol]) | |
Shares | =RTD('tos.rtd','SHARES',[Symbol]) | |
DividendYield | =RTD('tos.rtd','YIELD',[Symbol]) | |
DividendShare | =RTD('tos.rtd','DIV',[Symbol]) | |
LastUpdateTimeStamp |
rtd.QuoteTickHistoryTOS
The table contains tick data history of stocks, futures, and currency pairs from Thinkorswim thinkDesktop.
COLUMN_NAME | RTD_FORMULA | COMMENT |
---|---|---|
ID | PK, IDENTITY | |
Symbol | ||
DateTime | =DateTime() | |
Date | =Date() | |
Time | =Time() | |
Description | =RTD('tos.rtd','DESCRIPTION',[Symbol]) | |
Last | =RTD('tos.rtd','LAST',[Symbol]) | |
Change | =RTD('tos.rtd','NET_CHANGE',[Symbol]) | |
PercentChange | =RTD('tos.rtd','PERCENT_CHANGE',[Symbol]) | |
LastSize | =RTD('tos.rtd','LAST_SIZE',[Symbol]) | |
LastX | =RTD('tos.rtd','LX',[Symbol]) | |
Mark | =RTD('tos.rtd','MARK',[Symbol]) | |
MarkChange | =RTD('tos.rtd','MARK_CHANGE',[Symbol]) | |
MarkPercentChange | =RTD('tos.rtd','MARK_PERCENT_CHANGE',[Symbol]) | |
Bid | =RTD('tos.rtd','BID',[Symbol]) | |
Ask | =RTD('tos.rtd','ASK',[Symbol]) | |
BidSize | =RTD('tos.rtd','BID_SIZE',[Symbol]) | |
AskSize | =RTD('tos.rtd','ASK_SIZE',[Symbol]) | |
BidAskSize | =RTD('tos.rtd','BA_SIZE',[Symbol]) | |
BidX | =RTD('tos.rtd','BX',[Symbol]) | |
AskX | =RTD('tos.rtd','AX',[Symbol]) | |
StrengthMeter | =RTD('tos.rtd','STRENGTH_METER',[Symbol]) | |
Open | =RTD('tos.rtd','OPEN',[Symbol]) | |
High | =RTD('tos.rtd','HIGH',[Symbol]) | |
Low | =RTD('tos.rtd','LOW',[Symbol]) | |
Close | =RTD('tos.rtd','CLOSE',[Symbol]) | |
Volume | =RTD('tos.rtd','VOLUME',[Symbol]) | |
OpenInt | =RTD('tos.rtd','OPEN_INT',[Symbol]) | |
ImpliedVol | =RTD('tos.rtd','IMPL_VOL',[Symbol]) | |
VolIndex | =RTD('tos.rtd','VOL_INDEX',[Symbol]) | |
FrontVol | =RTD('tos.rtd','FRONT_VOL',[Symbol]) | |
BackVol | =RTD('tos.rtd','BACK_VOL',[Symbol]) | |
WeightedBackVol | =RTD('tos.rtd','WEIGHTED_BACK_VOL',[Symbol]) | |
VolDiff | =RTD('tos.rtd','VOL_DIFF',[Symbol]) | |
PutCallRatio | =RTD('tos.rtd','PUT_CALL_RATIO',[Symbol]) | |
CallVolumeIndex | =RTD('tos.rtd','CALL_VOLUME_INDEX',[Symbol]) | |
PutVolumeIndex | =RTD('tos.rtd','PUT_VOLUME_INDEX',[Symbol]) | |
OptionVolumeIndex | =RTD('tos.rtd','OPTION_VOLUME_INDEX',[Symbol]) | |
FrontExpectedMove | =RTD('tos.rtd','FRONT_EX_MOVE',[Symbol]) | |
BackExpectedMove | =RTD('tos.rtd','BACK_EX_MOVE',[Symbol]) | |
ExpectedMoveDiff | =RTD('tos.rtd','EX_MOVE_DIFF',[Symbol]) | |
Beta | =RTD('tos.rtd','BETA',[Symbol]) | |
High52 | =RTD('tos.rtd','52HIGH',[Symbol]) | |
Low52 | =RTD('tos.rtd','52LOW',[Symbol]) | |
PE | =RTD('tos.rtd','PE',[Symbol]) | |
EPS | =RTD('tos.rtd','EPS',[Symbol]) | |
MarketCap | =RTD('tos.rtd','MARKET_CAP',[Symbol]) | |
Shares | =RTD('tos.rtd','SHARES',[Symbol]) | |
DividendYield | =RTD('tos.rtd','YIELD',[Symbol]) | |
DividendShare | =RTD('tos.rtd','DIV',[Symbol]) |
Real-Time Formulas for MySQL, MariaDB, Oracle Database, IBM DB2, NuoDB, and PostgreSQL
rtd.quotes_tos
The table contains the last data values of stocks, futures, and currency pairs from Thinkorswim thinkDesktop.
COLUMN_NAME | RTD_FORMULA | COMMENT |
---|---|---|
SYMBOL | PK | |
DATETIME | =DateTime() | |
DATE | =Date() | |
TIME | =Time() | |
DESCRIPTION | =RTD('tos.rtd','DESCRIPTION',[SYMBOL]) | |
LAST | =RTD('tos.rtd','LAST',[SYMBOL]) | |
CHANGE | =RTD('tos.rtd','NET_CHANGE',[SYMBOL]) | |
PERCENT_CHANGE | =RTD('tos.rtd','PERCENT_CHANGE',[SYMBOL]) | |
LAST_SIZE | =RTD('tos.rtd','LAST_SIZE',[SYMBOL]) | |
LAST_X | =RTD('tos.rtd','LX',[SYMBOL]) | |
MARK | =RTD('tos.rtd','MARK',[SYMBOL]) | |
MARK_CHANGE | =RTD('tos.rtd','MARK_CHANGE',[SYMBOL]) | |
MARK_PERCENT_CHANGE | =RTD('tos.rtd','MARK_PERCENT_CHANGE',[SYMBOL]) | |
BID | =RTD('tos.rtd','BID',[SYMBOL]) | |
ASK | =RTD('tos.rtd','ASK',[SYMBOL]) | |
BID_SIZE | =RTD('tos.rtd','BID_SIZE',[SYMBOL]) | |
ASK_SIZE | =RTD('tos.rtd','ASK_SIZE',[SYMBOL]) | |
BID_ASK_SIZE | =RTD('tos.rtd','BA_SIZE',[SYMBOL]) | |
BID_X | =RTD('tos.rtd','BX',[SYMBOL]) | |
ASK_X | =RTD('tos.rtd','AX',[SYMBOL]) | |
STRENGTH_METER | =RTD('tos.rtd','STRENGTH_METER',[SYMBOL]) | |
OPEN | =RTD('tos.rtd','OPEN',[SYMBOL]) | |
HIGH | =RTD('tos.rtd','HIGH',[SYMBOL]) | |
LOW | =RTD('tos.rtd','LOW',[SYMBOL]) | |
CLOSE | =RTD('tos.rtd','CLOSE',[SYMBOL]) | |
VOLUME | =RTD('tos.rtd','VOLUME',[SYMBOL]) | |
OPEN_INT | =RTD('tos.rtd','OPEN_INT',[SYMBOL]) | |
IMPLIED_VOL | =RTD('tos.rtd','IMPL_VOL',[SYMBOL]) | |
VOL_INDEX | =RTD('tos.rtd','VOL_INDEX',[SYMBOL]) | |
FRONT_VOL | =RTD('tos.rtd','FRONT_VOL',[SYMBOL]) | |
BACK_VOL | =RTD('tos.rtd','BACK_VOL',[SYMBOL]) | |
WEIGHTED_BACK_VOL | =RTD('tos.rtd','WEIGHTED_BACK_VOL',[SYMBOL]) | |
VOL_DIFF | =RTD('tos.rtd','VOL_DIFF',[SYMBOL]) | |
PUT_CALL_RATIO | =RTD('tos.rtd','PUT_CALL_RATIO',[SYMBOL]) | |
CALL_VOLUME_INDEX | =RTD('tos.rtd','CALL_VOLUME_INDEX',[SYMBOL]) | |
PUT_VOLUME_INDEX | =RTD('tos.rtd','PUT_VOLUME_INDEX',[SYMBOL]) | |
OPTION_VOLUME_INDEX | =RTD('tos.rtd','OPTION_VOLUME_INDEX',[SYMBOL]) | |
FRONT_EXPECTED_MOVE | =RTD('tos.rtd','FRONT_EX_MOVE',[SYMBOL]) | |
BACK_EXPECTED_MOVE | =RTD('tos.rtd','BACK_EX_MOVE',[SYMBOL]) | |
EXPECTED_MOVE_DIFF | =RTD('tos.rtd','EX_MOVE_DIFF',[SYMBOL]) | |
BETA | =RTD('tos.rtd','BETA',[SYMBOL]) | |
HIGH52 | =RTD('tos.rtd','52HIGH',[SYMBOL]) | |
LOW52 | =RTD('tos.rtd','52LOW',[SYMBOL]) | |
PE | =RTD('tos.rtd','PE',[SYMBOL]) | |
EPS | =RTD('tos.rtd','EPS',[SYMBOL]) | |
MARKET_CAP | =RTD('tos.rtd','MARKET_CAP',[SYMBOL]) | |
SHARES | =RTD('tos.rtd','SHARES',[SYMBOL]) | |
DIVIDEND_YIELD | =RTD('tos.rtd','YIELD',[SYMBOL]) | |
DIVIDEND_SHARE | =RTD('tos.rtd','DIV',[SYMBOL]) | |
LAST_UPDATE_TIMESTAMP |
rtd.quote_day_history_tos
The table contains day data history of stocks, futures, and currency pairs from Thinkorswim thinkDesktop.
Excel Rtd Function Thinkorswim
COLUMN_NAME | RTD_FORMULA | COMMENT |
---|---|---|
SYMBOL | PK | |
DATE | =Date() | PK |
TIME | =Time() | |
DESCRIPTION | =RTD('tos.rtd','DESCRIPTION',[SYMBOL]) | |
LAST | =RTD('tos.rtd','LAST',[SYMBOL]) | |
CHANGE | =RTD('tos.rtd','NET_CHANGE',[SYMBOL]) | |
PERCENT_CHANGE | =RTD('tos.rtd','PERCENT_CHANGE',[SYMBOL]) | |
LAST_SIZE | =RTD('tos.rtd','LAST_SIZE',[SYMBOL]) | |
LAST_X | =RTD('tos.rtd','LX',[SYMBOL]) | |
MARK | =RTD('tos.rtd','MARK',[SYMBOL]) | |
MARK_CHANGE | =RTD('tos.rtd','MARK_CHANGE',[SYMBOL]) | |
MARK_PERCENT_CHANGE | =RTD('tos.rtd','MARK_PERCENT_CHANGE',[SYMBOL]) | |
BID | =RTD('tos.rtd','BID',[SYMBOL]) | |
ASK | =RTD('tos.rtd','ASK',[SYMBOL]) | |
BID_SIZE | =RTD('tos.rtd','BID_SIZE',[SYMBOL]) | |
ASK_SIZE | =RTD('tos.rtd','ASK_SIZE',[SYMBOL]) | |
BID_ASK_SIZE | =RTD('tos.rtd','BA_SIZE',[SYMBOL]) | |
BID_X | =RTD('tos.rtd','BX',[SYMBOL]) | |
ASK_X | =RTD('tos.rtd','AX',[SYMBOL]) | |
STRENGTH_METER | =RTD('tos.rtd','STRENGTH_METER',[SYMBOL]) | |
OPEN | =RTD('tos.rtd','OPEN',[SYMBOL]) | |
HIGH | =RTD('tos.rtd','HIGH',[SYMBOL]) | |
LOW | =RTD('tos.rtd','LOW',[SYMBOL]) | |
CLOSE | =RTD('tos.rtd','CLOSE',[SYMBOL]) | |
VOLUME | =RTD('tos.rtd','VOLUME',[SYMBOL]) | |
OPEN_INT | =RTD('tos.rtd','OPEN_INT',[SYMBOL]) | |
IMPLIED_VOL | =RTD('tos.rtd','IMPL_VOL',[SYMBOL]) | |
VOL_INDEX | =RTD('tos.rtd','VOL_INDEX',[SYMBOL]) | |
FRONT_VOL | =RTD('tos.rtd','FRONT_VOL',[SYMBOL]) | |
BACK_VOL | =RTD('tos.rtd','BACK_VOL',[SYMBOL]) | |
WEIGHTED_BACK_VOL | =RTD('tos.rtd','WEIGHTED_BACK_VOL',[SYMBOL]) | |
VOL_DIFF | =RTD('tos.rtd','VOL_DIFF',[SYMBOL]) | |
PUT_CALL_RATIO | =RTD('tos.rtd','PUT_CALL_RATIO',[SYMBOL]) | |
CALL_VOLUME_INDEX | =RTD('tos.rtd','CALL_VOLUME_INDEX',[SYMBOL]) | |
PUT_VOLUME_INDEX | =RTD('tos.rtd','PUT_VOLUME_INDEX',[SYMBOL]) | |
OPTION_VOLUME_INDEX | =RTD('tos.rtd','OPTION_VOLUME_INDEX',[SYMBOL]) | |
FRONT_EXPECTED_MOVE | =RTD('tos.rtd','FRONT_EX_MOVE',[SYMBOL]) | |
BACK_EXPECTED_MOVE | =RTD('tos.rtd','BACK_EX_MOVE',[SYMBOL]) | |
EXPECTED_MOVE_DIFF | =RTD('tos.rtd','EX_MOVE_DIFF',[SYMBOL]) | |
BETA | =RTD('tos.rtd','BETA',[SYMBOL]) | |
HIGH52 | =RTD('tos.rtd','52HIGH',[SYMBOL]) | |
LOW52 | =RTD('tos.rtd','52LOW',[SYMBOL]) | |
PE | =RTD('tos.rtd','PE',[SYMBOL]) | |
EPS | =RTD('tos.rtd','EPS',[SYMBOL]) | |
MARKET_CAP | =RTD('tos.rtd','MARKET_CAP',[SYMBOL]) | |
SHARES | =RTD('tos.rtd','SHARES',[SYMBOL]) | |
DIVIDEND_YIELD | =RTD('tos.rtd','YIELD',[SYMBOL]) | |
DIVIDEND_SHARE | =RTD('tos.rtd','DIV',[SYMBOL]) | |
LAST_UPDATE_TIMESTAMP |
Thinkorswim Download
rtd.quote_tick_history_tos
The table contains tick data history of stocks, futures, and currency pairs from Thinkorswim thinkDesktop.
Yahoo Finance
COLUMN_NAME | RTD_FORMULA | COMMENT |
---|---|---|
ID | PK, IDENTITY | |
SYMBOL | ||
DATETIME | =DateTime() | |
DATE | =Date() | |
TIME | =Time() | |
DESCRIPTION | =RTD('tos.rtd','DESCRIPTION',[SYMBOL]) | |
LAST | =RTD('tos.rtd','LAST',[SYMBOL]) | |
CHANGE | =RTD('tos.rtd','NET_CHANGE',[SYMBOL]) | |
PERCENT_CHANGE | =RTD('tos.rtd','PERCENT_CHANGE',[SYMBOL]) | |
LAST_SIZE | =RTD('tos.rtd','LAST_SIZE',[SYMBOL]) | |
LAST_X | =RTD('tos.rtd','LX',[SYMBOL]) | |
MARK | =RTD('tos.rtd','MARK',[SYMBOL]) | |
MARK_CHANGE | =RTD('tos.rtd','MARK_CHANGE',[SYMBOL]) | |
MARK_PERCENT_CHANGE | =RTD('tos.rtd','MARK_PERCENT_CHANGE',[SYMBOL]) | |
BID | =RTD('tos.rtd','BID',[SYMBOL]) | |
ASK | =RTD('tos.rtd','ASK',[SYMBOL]) | |
BID_SIZE | =RTD('tos.rtd','BID_SIZE',[SYMBOL]) | |
ASK_SIZE | =RTD('tos.rtd','ASK_SIZE',[SYMBOL]) | |
BID_ASK_SIZE | =RTD('tos.rtd','BA_SIZE',[SYMBOL]) | |
BID_X | =RTD('tos.rtd','BX',[SYMBOL]) | |
ASK_X | =RTD('tos.rtd','AX',[SYMBOL]) | |
STRENGTH_METER | =RTD('tos.rtd','STRENGTH_METER',[SYMBOL]) | |
OPEN | =RTD('tos.rtd','OPEN',[SYMBOL]) | |
HIGH | =RTD('tos.rtd','HIGH',[SYMBOL]) | |
LOW | =RTD('tos.rtd','LOW',[SYMBOL]) | |
CLOSE | =RTD('tos.rtd','CLOSE',[SYMBOL]) | |
VOLUME | =RTD('tos.rtd','VOLUME',[SYMBOL]) | |
OPEN_INT | =RTD('tos.rtd','OPEN_INT',[SYMBOL]) | |
IMPLIED_VOL | =RTD('tos.rtd','IMPL_VOL',[SYMBOL]) | |
VOL_INDEX | =RTD('tos.rtd','VOL_INDEX',[SYMBOL]) | |
FRONT_VOL | =RTD('tos.rtd','FRONT_VOL',[SYMBOL]) | |
BACK_VOL | =RTD('tos.rtd','BACK_VOL',[SYMBOL]) | |
WEIGHTED_BACK_VOL | =RTD('tos.rtd','WEIGHTED_BACK_VOL',[SYMBOL]) | |
VOL_DIFF | =RTD('tos.rtd','VOL_DIFF',[SYMBOL]) | |
PUT_CALL_RATIO | =RTD('tos.rtd','PUT_CALL_RATIO',[SYMBOL]) | |
CALL_VOLUME_INDEX | =RTD('tos.rtd','CALL_VOLUME_INDEX',[SYMBOL]) | |
PUT_VOLUME_INDEX | =RTD('tos.rtd','PUT_VOLUME_INDEX',[SYMBOL]) | |
OPTION_VOLUME_INDEX | =RTD('tos.rtd','OPTION_VOLUME_INDEX',[SYMBOL]) | |
FRONT_EXPECTED_MOVE | =RTD('tos.rtd','FRONT_EX_MOVE',[SYMBOL]) | |
BACK_EXPECTED_MOVE | =RTD('tos.rtd','BACK_EX_MOVE',[SYMBOL]) | |
EXPECTED_MOVE_DIFF | =RTD('tos.rtd','EX_MOVE_DIFF',[SYMBOL]) | |
BETA | =RTD('tos.rtd','BETA',[SYMBOL]) | |
HIGH52 | =RTD('tos.rtd','52HIGH',[SYMBOL]) | |
LOW52 | =RTD('tos.rtd','52LOW',[SYMBOL]) | |
PE | =RTD('tos.rtd','PE',[SYMBOL]) | |
EPS | =RTD('tos.rtd','EPS',[SYMBOL]) | |
MARKET_CAP | =RTD('tos.rtd','MARKET_CAP',[SYMBOL]) | |
SHARES | =RTD('tos.rtd','SHARES',[SYMBOL]) | |
DIVIDEND_YIELD | =RTD('tos.rtd','YIELD',[SYMBOL]) | |
DIVIDEND_SHARE | =RTD('tos.rtd','DIV',[SYMBOL]) |
Comments are closed.