SuperAPI AI Directory

macro-market-report

Data & analytics

View repository

Updated 10-15 21:43

About this skill

Macro Market Report

Generate a Chinese macro market report, by default covering commodities, stock indices, volatility, US dollar foreign exchange, US Treasury yields, and mainstream crypto assets, and output the latest prices and 1日 / 5日 / 1个月 percentage changes.

Prerequisites

  • Requires python3
  • Requires installing yfinance
  • If not installed, run pip install yfinance

Use cases

  • The user wants to see "how the macro market is doing today"
  • The user wants to quickly check key assets such as gold, crude oil, the US dollar, US Treasuries, BTC, ETH, etc.
  • The user needs a terminal report that can be read or forwarded directly, rather than scattered single-instrument queries

Default monitored assets

  • Commodities: WTI crude oil, Brent crude oil, gold, silver, natural gas, copper
  • Stock indices: S&P 500, Nasdaq, Dow Jones, Russell 2000
  • Volatility: VIX
  • Foreign exchange: US Dollar Index, EUR/USD, USD/JPY
  • US Treasuries: 13-week, 5-year, 10-year, 30-year US Treasury yields
  • Crypto: BTC, ETH

Example trigger phrases

  • "Give me a macro market report for today"
  • "Take a look at the latest changes in gold, crude oil, the US dollar, US Treasuries, and BTC"
  • "Generate a cross-asset market flash report"

Execution

Default report:

python3 macro-market-report/scripts/market_report.py

Additional custom tickers:

python3 macro-market-report/scripts/market_report.py --extra "TLT,SLV,SOL-USD"

Usage instructions

  • Prefer to run the script directly and display the report results
  • Do not rely on the info field to interpret price movements; the percentage changes in the report are based on historical closing prices
  • If individual tickers fail, continue displaying the remaining assets and list the failed items at the end of the report
  • If the user only wants to add additional monitored instruments, use --extra