mcpField
D
data912

data912

github.com/gauss314Data & databases252275 installsUpdated 19w ago
Repository

About data912

data912 is a skill for accessing free market data from the data912.com API. It provides frequently refreshed Argentine and US market quotes, historical OHLC data, and end-of-day volatility information for users analyzing securities.

Key features

  1. 01Fetch live market quotes across asset categories
  2. 02Retrieve historical OHLC data
  3. 03Access end-of-day volatility metrics
  4. 04Download historical data as CSV
  5. 05Use the API without authentication

Use cases

  1. 01Monitor Argentine stocks, bonds, and CEDEARs
  2. 02Review historical prices for selected tickers
  3. 03Inspect volatility measures for a ticker

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/gauss314/skills --skill data912

After installing, type/data912in Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
tickers_bonds.md
tickers_cedears.md
tickers_stocks.md
scripts/
download_historical.py

Details

From the project README

Data912 — data912.com API

API gratuita con datos del mercado argentino. Refresca cada 20 segundos, rate limit 120 req/min.

Base URL: https://data912.com

Endpoints Live

Consultar precios en tiempo real:

EndpointDescripción
/live/mepUSD MEP implícito
/live/cclUSD CCL implícito
/live/arg_stocksAcciones argentinas
/live/arg_optionsOpciones
/live/arg_cedearsCEDEARs
/live/arg_notesNotas gubernamentales
/live/arg_corpDeuda corporativa
/live/arg_bondsBonos gubernamentales
/live/usa_adrsADRs estadounidenses
/live/usa_stocksAcciones estadounidenses
Ejemplo live
import requests
r = requests.get("https://data912.com/live/arg_stocks")
df = pd.DataFrame(r.json())

Endpoints Históricos (OHLC)

Descargá el catálogo de tickers en ./references/tickers_stocks.md, ./references/tickers_cedears.md y ./references/tickers_bonds.md.

EndpointDescripción
/historical/stocks/{ticker}OHLC de acciones argentinas
/historical/cedears/{ticker}OHLC de CEDEARs
/historical/bonds/{ticker}OHLC de bonos
Ejemplo histórico
ticker = "GGAL"
r = requests.get(f"https://data912.com/historical/stocks/{ticker}")
df = pd.DataFrame(r.json())
df["date"] = pd.to_datetime(df["date"])
df = df.set_index("date").sort_index()

Campos OHLC: date, o (open), h (high), l (low), c (close), v (volume), dr (daily return), sa (sigma annualized)

Volatilidades (EOD)

ticker = "YPF"
r = requests.get(f"https://data912.com/eod/volatilities/{ticker}")

Campos: IV short/medium/long term, HV short/medium/long term, IV/HV ratios y percentiles, fair IV.

Descargar CSV de históricos

Usá el script ./scripts/download_historical.py:

python ./scripts/download_historical.py --type stocks --tickers GGAL,PAMP,YPFD --output data/
python ./scripts/download_historical.py --type cedears --tickers AAPL,GOOGL,MSFT --output data/
python ./scripts/download_historical.py --type bonds --tickers AL30,GD30,GD35 --output data/
python ./scripts/download_historical.py --type all --tickers GGAL,AL30,AAPL --output data/

Rate Limits

  • 120 requests/minuto por endpoint
  • Datos refresh cada 20 segundos (no es real-time real)
  • Sin autenticación requerida

Comments

Markdown supported