Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính48k · #4680

fxmacrodata

Skill này làm gì

Công cụ này lấy dữ liệu kinh tế chính thức từ nhiều quốc gia, như lạm phát, tỷ lệ thất nghiệp và các quyết định chính sách của ngân hàng trung ương. Nó cũng cung cấp tỷ giá hối đoái và thông tin về vị thế của nhà đầu tư.

Khi nào nên dùng

  • ✓Khi bạn muốn biết tỷ lệ lạm phát chính thức của một quốc gia.
  • ✓Khi muốn xem thời điểm ngân hàng trung ương công bố một quyết định.
  • ✓Khi muốn so sánh lãi suất giữa hai quốc gia.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/fxmacrodata/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/fxmacrodata/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tỷ lệ thất nghiệp chính thức của Mỹ trong tháng gần nhất được báo cáo là bao nhiêu?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ truy vấn các nguồn dữ liệu kinh tế chính thức. Nó tìm thông tin cụ thể dựa trên quốc gia và loại dữ liệu bạn yêu cầu, như lạm phát hoặc lãi suất.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

FXMacroData: Macro and FX Data

Overview

FXMacroData is a REST API for macroeconomic data taken from official publishers (statistics offices, central banks, the CFTC). It covers 22 currencies: AUD, BRL, CAD, CHF, CNH, CNY, DKK, EUR, GBP, HUF, ILS, JPY, KRW, MYR, NGN, NOK, NZD, PEN, SEK, THB, TWD and USD. Each series carries its publisher, source URL and the time the number was released, so answers can cite where a figure came from and when it became public.

This skill covers discovering indicator slugs, pulling release history, reading the release calendar, comparing policy rates between two currencies, and the access limits that apply without an API key.

When to Use

  • Use when the user asks for an official macro figure for a country or currency: CPI, core inflation, GDP, unemployment, payrolls, retail sales, business and consumer confidence, trade balance, bond yields.
  • Use when the user asks when the next CPI, payrolls, GDP or central-bank decision is due, or wants the release calendar for a week.
  • Use when comparing central-bank policy rates or yield differentials between two currencies (for example USD vs JPY carry).
  • Use when the user wants daily FX reference rates or CFTC Commitments of Traders positioning for a currency future.
  • Do not use for intraday tick data, equities, crypto, or order execution. This is read-only reference data.

Access and Authentication

  • Base URL: https://api.fxmacrodata.com/v1
  • Authentication is optional. If the user has a key, read it from the FXMACRODATA_API_KEY environment variable and send it in the X-API-Key header. Never put the key in the URL or print it in output.
  • Without a key:
    • USD indicators, the USD release calendar, the USD data catalogue and USD COT data work.
    • USD announcement data is delayed by 15 minutes. Each response includes a freemium_delay object with the cutoff time and withheld_count, the number of releases newer than the cutoff.
    • History is limited to the most recent 90 days. The freemium_window object shows the applied cutoff date, and requested_start_date in the response shows the start date actually used.
  • Every other currency, /forex, /rate_differentials and /commodities need a key. Without one they return HTTP 401 with "code": "api_key_required". That means the data exists but needs a subscription; do not report it as missing.
# Keyless (USD only)
curl -s "https://api.fxmacrodata.com/v1/announcements/usd/policy_rate?limit=3"

# With a key, from the environment
curl -s -H "X-API-Key: $FXMACRODATA_API_KEY" \
  "https://api.fxmacrodata.com/v1/announcements/eur/policy_rate?limit=3"

Endpoints

Endpoint Purpose Keyless
GET /data_catalogue/{currency} Every indicator slug for a currency, with name, unit, frequency, source and coverage Yes (all currencies)
GET /announcements/{currency}/{indicator} Release history for one indicator, most recent first USD only
GET /announcements/{currency}/latest Latest value of every indicator for a currency USD only
GET /calendar/{currency} Upcoming scheduled releases with UTC timestamps USD only
GET /cot/{currency} Weekly CFTC COT positioning (AUD, CAD, CHF, EUR, GBP, JPY, MXN, NZD, USD, XAU) USD only
GET /forex/{base}/{quote} Daily FX reference rates No
GET /rate_differentials/{base}/{quote} Aligned rate spread between two currencies in percentage points and basis points No

Currency codes and indicator slugs are lowercase in paths (usd, policy_rate).

Common query parameters

Parameter Endpoints Notes
start_date, end_date announcements, calendar, cot, forex, rate_differentials YYYY-MM-DD, inclusive
limit, offset, page announcements, cot, forex, rate_differentials Rows are most recent first. Default limit is 20
timezone calendar IANA name such as Europe/London; adds an announcement_datetime_requested_timezone field
indicator calendar Filter the calendar to one slug
revisions announcements latest, first, final or all, where supported
measure rate_differentials auto, policy_rate, risk_free_rate, gov_bond_2y, gov_bond_10y

Response shape

Announcement responses carry metadata (source, source_url, source_series_name, seasonal_adjustment, pagination) and a data array. Each row has:

…

Câu hỏi thường gặp

'Indicator slugs' là gì?

Đây là các mã ngắn nhận diện từng loại dữ liệu kinh tế, như 'inflation' cho lạm phát hoặc 'unemployment' cho thất nghiệp. Chúng khác với tên gọi thông thường mà chúng ta hay dùng.

Tôi có thể xem dữ liệu của mọi quốc gia không?

Công cụ bao gồm 22 loại tiền tệ, trong đó có đô la Mỹ (USD), Euro (EUR) và Real Brazil (BRL). Tuy nhiên, một số dữ liệu mới hơn hoặc dữ liệu của loại tiền tệ cụ thể có thể cần gói trả phí.

Dữ liệu có theo thời gian thực không?

Dữ liệu của đô la Mỹ (USD) có thể bị trễ tối đa 15 phút. Dữ liệu của các loại tiền tệ khác hoặc các loại dữ liệu cụ thể hơn có thể cần gói trả phí và có thể không theo thời gian thực.

Chi tiết

Mô tả gốc của tác giả

Query FXMacroData for official-source macro indicators, release calendars, central-bank policy rates, FX rates and CFTC positioning across 22 currencies.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4680
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự