# Matlab Access Datafeed

Guide for accessing financial and economic data in MATLAB using the Datafeed Toolbox.

- Repository: https://github.com/matlab/matlab-agentic-toolkit (1237 stars)
- Category: Engineering
- License: see repository
- Last updated: 2026-10-27
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add matlab/matlab-agentic-toolkit --skill matlab-access-datafeed -g -a claude-code -y`
Codex: `npx skills add matlab/matlab-agentic-toolkit --skill matlab-access-datafeed -g -a codex -y`
Cursor: `npx skills add matlab/matlab-agentic-toolkit --skill matlab-access-datafeed -g -a cursor -y`
Gemini CLI: `npx skills add matlab/matlab-agentic-toolkit --skill matlab-access-datafeed -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add matlab/matlab-agentic-toolkit`

## Description

Guide for accessing financial and economic data in MATLAB using the Datafeed Toolbox. Covers Bloomberg (market data via bloomberg/blp/bloombergHypermedia), FRED (Federal Reserve economic data via fredrs), Haver Analytics (economic data via haver/haverdirect/haverview), and LSEG Datastream (historical data via datastreamws). Use when connecting to any of these data providers from MATLAB.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Datafeed Toolbox, Bloomberg, FRED, Haver Analytics, and LSEG Datastream

Access financial and economic data from four major providers through the MATLAB Datafeed Toolbox.

## When to Use

- User wants to connect to **Bloomberg**, **FRED**, **Haver Analytics**, or **LSEG Datastream** from MATLAB
- User needs to retrieve market data (prices, history, real-time, reference data) via Bloomberg
- User needs to retrieve economic time series from the St. Louis Fed (FRED)
- User needs to fetch economic/financial time series from Haver Analytics databases
- User needs to retrieve historical financial data from LSEG Datastream
- User needs help choosing between interfaces within a provider (e.g., bloomberg vs blp vs bloombergHypermedia, haver vs haverview)
- User is writing MATLAB code involving securities, economic indicators, or data provider connectivity

## When NOT to Use

- General financial modeling or portfolio optimization that doesn't involve data provider connectivity
- Bloomberg Terminal keyboard shortcuts or Excel add-in questions (not MATLAB)
- Datastream Excel add-in (not MATLAB)
- Real-time streaming from LSEG (datastreamws is historical only)
- Data sources not covered here (e.g., Yahoo Finance)

## Provider Overview

| Provider | Data Type | Interfaces | Reference |
|----------|-----------|------------|-----------|
| Bloomberg | Market data (equities, fixed income, derivatives, indices) | `bloomberg`, `blp`, `bloombergHypermedia`, `bloombergEMSX` | `references/bloomberg.md` |
| FRED | U.S. economic data (GDP, unemployment, CPI, interest rates) | `fredrs` (replaces obsolete `fred`) | `references/fred.md` |
| Haver Analytics | Global economic & financial data (macro, industry, surveys) | `haver`, `haverdirect`, `haverview` | `references/haver.md` |
| LSEG Datastream | Historical financial data (equities, indices, economics, expressions) | `datastreamws` | `references/datastreamws.md` |

## Quick Interface Selection

The rest: https://github.com/matlab/matlab-agentic-toolkit/blob/HEAD/skills-catalog/computational-finance/matlab-access-datafeed/SKILL.md
