| Contents | Index |
| On this page… |
|---|
The Data source pane in the Financial Time Series Tool window lets you do the following:
Obtain live data from various external data servers using either Datafeed Toolbox or Database Toolbox software.
Load data you previously obtained and stored in a file.
View data contained within the MATLAB workspace.
You can obtain external data using Datafeed Toolbox or Database Toolbox software. Datafeed Toolbox software lets you obtain data from several financial data servers, including:
Bloomberg®
eSignal®
FactSet®
Federal Reserve Economic Data (FRED)
Haver Analytics® financial data
Interactive Data™
Kx Systems®, Inc. kdb+ database
Thomson Reuters™
SIX Telekurs™
Yahoo!®
Except for Federal Reserve Economic Data (FRED) and Yahoo!, these data servers require that you obtain a license from the vendor before you can access their data.
Tip If you open Datafeed Toolbox or Database Toolbox software before starting FTSTool, FTSTool is unable to recognize the toolboxes. When working with FTSTool, select File > Load to open these toolboxes. |
From the Financial Time Series Tool window, select File > Load > Datafeed Toolbox to open the toolbox.
Click the Connection tab in Datafeed Toolbox software to select the data source you want to load into FTSTool.
Click the Data tab in Datafeed Toolbox software to select the security and the associated data that you want to load into FTSTool.
After using Datafeed Toolbox software to define the connection, security, data, and MATLAB variable name, click Get Data and then, using FTSTool, click Refresh variable list. The Data source field in FTSTool displays the name of the security you selected from the Data tab in Datafeed Toolbox software. The FTSTool Active variable field indicates the name of the MATLAB workspace variable you chose for this security.
Click Close to exit Datafeed Toolbox software. FTSTool clears the Data source and Active variable fields.
From the Financial Time Series Tool window, select File > Load > Database Toolbox to open the toolbox.
From the Visual Query Builder window, select the data you want to load into FTSTool.
After using Database Toolbox software to select data and name the MATLAB workspace variable, click Execute and then, using FTSTool, click Refresh variable list. The Data source field in FTSTool displays the name of the highlighted data source that you selected from the Data list box in the Visual Query Builder window. The FTSTool Active variable field indicates the name of the MATLAB workspace variable you chose for the security in the Visual Query Builder window.
From the Database Toolbox software, select Query > Close Visual Query Builder, FTSTool clears the Data source and Active variable fields.
You can use FTSTool to load data from files previously stored on your computer. The types of data files you can load are as follows:
MATLAB .mat files, with or without fints objects
ASCII text files (.dat or .txt suffixes)
Excel .xls files
To obtain internal data:
From the Financial Time Series Tool window, select File > Load > File to open the Load a MAT, ASCII, .XLS File dialog box.
Select the data you want to load into FTSTool.
If you load a MATLAB MAT-file, the variables in the file are placed into the MATLAB workspace. The MATLAB Workspace Variables list box shows the variables that have been added to the workspace. For example, if you load the file disney.mat, which is distributed with the toolbox, the MATLAB Workspace Variables list box displays the variables in that MAT-file.
If you load a .dat or an ASCII .txt file, the ASCII File Parameters dialog box opens. Use this dialog box to transform a text data file into a MATLAB financial time series fints object. (See the reference page for ascii2fts for further explanation of the fields in the ASCII File Parameters dialog box.
If you load an Excel .xls file, the Excel File Parameters dialog box opens. Use this dialog box to transform Excel worksheet data into a MATLAB financial time series (fints) object.
From the Financial Time Series Tool window, select File > Save to save the data you gave loaded from an internal file.
The MATLAB Workspace Variables list box displays all existing MATLAB workspace variables. Double-click any variable to display the data in the Data Table. You can only display financial time series (fints) objects, MATLAB doubles, and cell arrays of double data in the Data Table.

In addition, you can click Refresh variable list to refresh the MATLAB Workspace Variables list box. You need to refresh this list periodically because it is refreshed automatically only for operations performed with FTSTool, not for operations performed within MATLAB itself.
Click Remove variable(s) to remove variable from the MATLAB Workspace Variables list and from the MATLAB workspace.
![]() | Getting Started with FTSTool | Using FTSTool for Supported Tasks | ![]() |
View demos and recorded presentations led by industry experts.
Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |