Thinkorswim Rtd Excel

legalload
3 min readAug 10, 2021

>>> Download here <<<

If you are a DDE user you’ve noticed that it’s broken after this latest Think Desktop update. I just got word from the developers that they are looking to release improved capability this coming weekend. Now, please remember that development estimates are just that: estimates. This weekend is the goal. Don’t burn down your local village if it doesn’t happen on time. 😉

Thinkorswim Rtd Excel File

Thinkorswim

What they have should be better than the old DDE in terms of what we could do with it. It’s not two-way interaction with ToS, so done get that excited. It’s faster and more improved data handling that should be much easier to work with and more powerful for data handling inside of Excel. I’ll update as I know more.

  • Connecting ThinkOrSwim to Excel via RTD Hi forum. I have the tradingplatform Think or Swim (ToS) and would like to get live datafeed from ToS to Excel via the RTD.
  • Hello, First time here at Excel Guru. Recently I have recently used ThinkOrswim RTD connection to excel. It seems to work fine up to about two hours, but after that it stops refreshing (losing sync) the data from ThinkOrSwim. So far I have found these possible solutions that have not worked.
  • Hello, recently I’ve tried to write calculations in Excel’s VBA using the RTD from ThinkOrSwim’s trading platform. I am losing sync from ThinkOrSwim after a couple of hours. My research has found that if Excel is calculating during a refresh, because of too much code, could cause it too crash. So I removed the code completely and still losing sync.

Tags: DDE, excel

Your code
as a service Monetise your repos, packages & libraries in a flash with gitstore. sign up with github sign up with email

RTD is an Excel function that, for our purposes, opens up communications with ThinkOrSwim. RTD can act upon information sent between parenthesis in a particular order: 1. ‘TOS.RTD’ is sent as the 1st RTD parameter. It’s the quote-enclosed name of a ThinkOrSwim function that’s loaded into memory when you run ThinkOrSwim. The purpose of TOS.

Listen to real-time data feed from ThinkOrSwim using Node JS and Excel

Thinkorswim Excel Add In

Power mac g5 virtual machine software. Only works with Windows operating systems due to limitations with ThinkOrSwim.

Setup

  1. Launch ThinkOrSwim and log in.
  2. Open ‘MarketWatch’ tab and customize a data set.
  3. Click the tiny settings icon in the right most column then click ‘Customize’.
  4. Click the ‘Show actions menu’ button (list icon) in the top right.
  5. Hover over ‘Export’ and click ‘To Microsoft Excel’.
  6. The current watchlist, formatted for Excel, is copied to the clipboard.
  7. Open ‘tos-rtd.xlsm’ from the tos_rtd repository.
  8. Either paste directly into the Excel document or into ‘scanner.csv’ and save the file.
  9. The Excel script is written to ‘pick up’ the changes made to scanner.csv every minute.
  10. Using a terminal app like Command Prompt navigate to the tos_rtd directory and run ‘node listen.js’.

Once a watchlist has been configured, only step #1, #5, and #7 are needed. To edit a watchlist, all steps are required.

How it works

Excel acts as a middle man between ThinkOrSwim and Node JS by importing data from TOS and exporting for use with Node.

  • ThinkOrSwim creates a new RTD server instance for use with RTD client applications like Microsoft Excel.
  • Once the RTD connection has been established, an Excel script (VBA) runs in the background to listen for changes to the Excel document.
  • If a change is detected, that row of data is exported to a file in the tos_rtd directory in a querystring format:
  • The Node JS script ‘listen.js’ uses a built-in function to listen for changes in the ‘data-stream’ directory and parses the contents of the changed file.

>>> Download here <<<

--

--