Skip to content
cccskills
FreePublished on GitHub

matlab-access-datafeed

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.

The English summary is being prepared. Showing the original description.

Works withExcel
See how to install

Files included (6)

  • SKILL.md4.3 KB
  • manifest.yaml574 B
  • references/bloomberg.md11.5 KB
  • references/datastreamws.md3.2 KB
  • references/fred.md4.0 KB
  • references/haver.md4.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

ProviderData TypeInterfacesReference
BloombergMarket data (equities, fixed income, derivatives, indices)bloomberg, blp, bloombergHypermedia, bloombergEMSXreferences/bloomberg.md
FREDU.S. economic data (GDP, unemployment, CPI, interest rates)fredrs (replaces obsolete fred)references/fred.md
Haver AnalyticsGlobal economic & financial data (macro, industry, surveys)haver, haverdirect, haverviewreferences/haver.md
LSEG DatastreamHistorical financial data (equities, indices, economics, expressions)datastreamwsreferences/datastreamws.md

Quick Interface Selection

Bloomberg — see references/bloomberg.md for full API patterns

  • Windows Desktop/Terminal user → bloomberg (C++)
  • Need platform independence (Data License) → bloombergHypermedia
  • Server/cloud, no Terminal (BPIPE) → bloombergBPIPE
  • Existing blp users → migrate to bloomberg (same API, no Java needed)

FRED — see references/fred.md for full API patterns

  • Any platform → fredrs (requires R2026a+, API key)
  • fred is obsolete — do NOT use it

Haver Analytics — see references/haver.md for full API patterns

  • Windows with local data files → haver
  • Windows needing remote access → haverdirect
  • Non-Windows / server / cloud → haverview (REST API)

LSEG Datastream — see references/datastreamws.md for full API patterns

  • Any platform → datastreamws (REST API, requires Datastream credentials)

How to Use References

Before generating code for a specific provider, read the corresponding reference file for detailed API patterns, function signatures, gotchas, and examples:

  • Working with Bloomberg data → read references/bloomberg.md
  • Working with FRED economic data → read references/fred.md
  • Working with Haver Analytics data → read references/haver.md
  • Working with LSEG Datastream data → read references/datastreamws.md

Common Rules

  • Always use getSecret() for credentials and API keys — never hardcode secrets
  • All four providers require the Datafeed Toolbox
  • fredrs additionally requires R2026a or later
  • datastreamws available since R2018b
  • Bloomberg and Haver local interfaces (bloomberg, blp, haver, haverdirect) are Windows-only; cloud/REST variants (bloombergHypermedia, bpipe, haverview, fredrs, datastreamws) are platform-independent

Copyright 2026 The MathWorks, Inc.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Read BEFORE writing any code that adds Additive White Gaussian Noise (AWGN) to signals and converts between SNR, Eb/No, Es/No, and per-subcarrier SNR for communications simulations, using awgn(), convertSNR(), berawgn(). The default MATLAB patterns for AWGN (e.g., 'measured' option, manual SNR formulas) produce subtly incorrect results. This skill specifies the correct calling conventions, required function usage, and critical anti-patterns that must be avoided.

The English summary is being prepared. Showing the original description.

matlab/matlab-agentic-toolkit1.2KUpdated Oct 14, 2026

Analyze AMS waveform data using Mixed-Signal Blockset utilities: phase noise measurement, clock jitter, anti-aliased resampling, timing measurements, lock time, INL/DNL, ADC/DAC calibration, HSpice import. Use when analyzing time-domain voltage from PLL/VCO/clock simulations, measuring phase noise from variable-step solver output, computing jitter, or resampling non-uniform data.

The English summary is being prepared. Showing the original description.

matlab/matlab-agentic-toolkit1.2KUpdated Oct 14, 2026

Design and analyze electrically large antenna structures using MATLAB Antenna Toolbox. Covers reflector antennas (parabolic, Cassegrain, Gregorian, offset, corner, cylindrical, spherical, custom STL), reflectarrays and reconfigurable intelligent surfaces (RIS), antennas installed on platforms (vehicles, aircraft, ships, satellites), and radar cross section (RCS) analysis. Includes solver selection (MoM-PO, PO, MoM, FMM), mesh control, and GPU acceleration. Use when the user wants to design a dish/reflector antenna, reflectarray, analyze an antenna on a platform, or compute RCS.

The English summary is being prepared. Showing the original description.

matlab/matlab-agentic-toolkit1.2KUpdated Oct 14, 2026

Analyze data using MATLAB. Use when the task involves tables, timetables, time-series data, numeric arrays, sensor matrices, or gridded data — including but not limited to exploring, row filtering, sorting, cleaning, transforming, aggregating, smoothing, padding, trimming, and answering questions about data. MATLAB provides extensive, easy-to-use built-in functions for these workflows with no additional products required.

The English summary is being prepared. Showing the original description.

matlab/matlab-agentic-toolkit1.2KUpdated Oct 14, 2026

S-parameters, insertion loss, fields, currents, mesh control, and solver selection for RF PCB performance validation. TRIGGER: user asks to compute S-parameters, analyze insertion/return loss, extract fields or currents, compare MoM vs FEM, or control mesh for any RF PCB component. Invoke BEFORE writing sparameters() or solver code — API is non-obvious. SKIP: designing or creating components (use the specific matlab-design-pcb-* skill), material/stackup setup only (use matlab-manage-pcb-material), optimization sweeps (use matlab-optimize-pcb-design), PDN/IR-drop analysis (use matlab-analyze-pcb-pdn).

The English summary is being prepared. Showing the original description.

matlab/matlab-agentic-toolkit1.2KUpdated Oct 14, 2026

PDN DC voltage/current analysis, IR drop, design rule checking, and multi-net batch analysis on imported PCB layouts. TRIGGER: user asks about power integrity, PDN analysis, IR drop, voltage distribution, current density, power nets, or design rule checking on a PCB. Invoke BEFORE writing code — the PDN API chain is specialized and non-obvious. SKIP: importing a PCB file (use matlab-read-pcb-layout), EM field/S-parameter extraction (use matlab-analyze-em), material/stackup setup only (use matlab-manage-pcb-material), transmission line design (use matlab-design-pcb-transmission-line).

The English summary is being prepared. Showing the original description.

matlab/matlab-agentic-toolkit1.2KUpdated Oct 14, 2026

See all skills by matlab

Report a problem with this skill