Agent Skillsmatlab/matlab-agentic-toolkit › matlab-access-datafeed

matlab-access-datafeed

GitHub

指导在MATLAB中通过Datafeed Toolbox连接Bloomberg、FRED和Haver Analytics获取金融经济数据。提供接口选择指南及凭证安全管理规范,适用于涉及证券或经济指标的数据获取场景。

skills-catalog/computational-finance/matlab-access-datafeed/SKILL.md matlab/matlab-agentic-toolkit

Trigger Scenarios

用户需要在MATLAB中连接Bloomberg获取市场数据 用户需要从FRED获取美国宏观经济时间序列 用户需要从Haver Analytics获取全球金融经济数据 用户在MATLAB中编写涉及数据提供商连接的代码

Install

npx skills add matlab/matlab-agentic-toolkit --skill matlab-access-datafeed -g -y
More Options

Non-standard path

npx skills add https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/computational-finance/matlab-access-datafeed -g -y

Use without installing

npx skills use matlab/matlab-agentic-toolkit@matlab-access-datafeed

指定 Agent (Claude Code)

npx skills add matlab/matlab-agentic-toolkit --skill matlab-access-datafeed -a claude-code -g -y

安装 repo 全部 skill

npx skills add matlab/matlab-agentic-toolkit --all -g -y

预览 repo 内 skill

npx skills add matlab/matlab-agentic-toolkit --list

SKILL.md

Frontmatter
{
    "name": "matlab-access-datafeed",
    "license": "https:\/\/www.mathworks.com\/content\/dam\/mathworks\/license\/pmrl\/license.md",
    "metadata": {
        "author": "MathWorks",
        "version": "1.1"
    },
    "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), and Haver Analytics (economic data via haver\/haverdirect\/haverview). Use when connecting to any of these data providers from MATLAB.\n"
}

Datafeed Toolbox — Bloomberg, FRED, and Haver Analytics

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

When to Use

  • User wants to connect to Bloomberg, FRED, or Haver Analytics 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 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)
  • Data sources not covered here (e.g., Yahoo Finance, Reuters/Refinitiv)

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

Quick Interface Selection

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

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

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

  • Any platformfredrs (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 fileshaver
  • Windows needing remote accesshaverdirect
  • Non-Windows / server / cloudhaverview (REST API)

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

Common Rules

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

Copyright 2026 The MathWorks, Inc.

Version History

  • 2026.08.13 Current 2026-08-16 07:17
  • 2026.07.16 2026-07-24 16:18

Same Skill Collection

skills-catalog/ai-and-statistics/matlab-create-experiment/SKILL.md
skills-catalog/ai-and-statistics/matlab-use-machine-learning-apps/SKILL.md
skills-catalog/automotive/roadrunner-asset-mapping/SKILL.md
skills-catalog/automotive/roadrunner-convert-lanelet2-to-rrhd/SKILL.md
skills-catalog/automotive/roadrunner-core/SKILL.md
skills-catalog/automotive/roadrunner-import-scene/SKILL.md
skills-catalog/automotive/roadrunner-rrhd-authoring/SKILL.md
skills-catalog/automotive/roadrunner-scenario-authoring/SKILL.md
skills-catalog/code-generation/matlab-deploy-embedded-code/SKILL.md
skills-catalog/code-generation/matlab-optimize-gpu-codegen/SKILL.md
skills-catalog/code-generation/matlab-review-fi-code/SKILL.md
skills-catalog/code-generation/matlab-review-fi-object-code/SKILL.md
skills-catalog/computational-biology/matlab-build-simbiology-model/SKILL.md
skills-catalog/computational-biology/matlab-fit-simbiology-model/SKILL.md
skills-catalog/computational-biology/matlab-simulate-simbiology-model/SKILL.md
skills-catalog/computational-finance/matlab-use-spreadsheet-link/SKILL.md
skills-catalog/control-systems/matlab-extract-battery-features/SKILL.md
skills-catalog/control-systems/matlab-extract-rotating-machinery-features/SKILL.md
skills-catalog/control-systems/matlab-identify-linear-system/SKILL.md
skills-catalog/image-processing-and-computer-vision/matlab-display-image/SKILL.md
skills-catalog/image-processing-and-computer-vision/matlab-display-volume/SKILL.md
skills-catalog/image-processing-and-computer-vision/matlab-model-optics/SKILL.md
skills-catalog/image-processing-and-computer-vision/matlab-point-cloud-file-io/SKILL.md
skills-catalog/image-processing-and-computer-vision/matlab-point-cloud-registration/SKILL.md
skills-catalog/image-processing-and-computer-vision/matlab-process-large-images/SKILL.md
skills-catalog/image-processing-and-computer-vision/matlab-read-write-point-cloud-file/SKILL.md
skills-catalog/image-processing-and-computer-vision/matlab-register-point-clouds/SKILL.md
skills-catalog/math-and-optimization/matlab-solve-optimization/SKILL.md
skills-catalog/matlab-core/matlab-create-live-script/SKILL.md
skills-catalog/matlab-core/matlab-debug-code/SKILL.md
skills-catalog/matlab-core/matlab-debugging/SKILL.md
skills-catalog/matlab-core/matlab-install-products/SKILL.md
skills-catalog/matlab-core/matlab-list-products/SKILL.md
skills-catalog/matlab-core/matlab-read-doc/SKILL.md
skills-catalog/matlab-core/matlab-read-documentation/SKILL.md
skills-catalog/matlab-core/matlab-review-code/SKILL.md
skills-catalog/matlab-core/matlab-testing/SKILL.md
skills-catalog/matlab-core/matlab-write-test/SKILL.md
skills-catalog/matlab-data-import-and-analysis/matlab-analyze-data/SKILL.md
skills-catalog/matlab-data-import-and-analysis/matlab-import-export-data/SKILL.md
skills-catalog/matlab-environment-and-settings/matlab-migrate-settings/SKILL.md
skills-catalog/matlab-external-language-interfaces/matlab-call-python/SKILL.md
skills-catalog/matlab-software-development/matlab-analyze-dependencies/SKILL.md
skills-catalog/matlab-software-development/matlab-assess-toolbox/SKILL.md
skills-catalog/matlab-software-development/matlab-build-toolbox/SKILL.md
skills-catalog/matlab-software-development/matlab-create-buildfile/SKILL.md
skills-catalog/matlab-software-development/matlab-create-project/SKILL.md
skills-catalog/matlab-software-development/matlab-define-toolbox-api/SKILL.md
skills-catalog/matlab-software-development/matlab-document-toolbox/SKILL.md

Metadata

Files
0
Version
2026.08.13
Hash
bc08408e
Indexed
2026-07-24 16:18

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-16 09:47
浙ICP备14020137号-1 $Гость$