FinzData + TradingAgents

Point-in-time data for TradingAgents

TradingAgents is an open-source multi-agent LLM trading framework; tradingagents-finzdata makes FinzData its data vendor, so agents analyse and backtest on survivorship-free, point-in-time data.

Install

Why it matters

Point-in-time correctness

  1. Survivorship bias. Default price data only knows stocks that still trade; FinzData includes delisted stocks.
  2. Look-ahead. Statements as filed and macro as known on the analysis date.
  3. Point-in-time insider trades. FinzData's Form 4 rows carry the filing date, so get_insider_transactions shows only what was public; TradingAgents withholds insider data from vendors that cannot do that.

Install

Use FinzData with TradingAgents

pip install tradingagents-finzdata

Set FINZDATA_API_KEY. A free key covers the last 12 months, email only: Get free key

from tradingagents.graph.trading_graph import TradingAgentsGraph
from tradingagents_finzdata import register, finzdata_config
register()
config = finzdata_config()
ta = TradingAgentsGraph(debug=True, config=config)
_, decision = ta.propagate("NVDA", "2024-05-10")

Mix and match vendors:

config["data_vendors"]["core_stock_apis"] = "finzdata,yfinance"

Mapping

TradingAgents tool → FinzData source

TradingAgents toolFinzData source
get_stock_datadaily bars, delisted included
get_indicatorsclose_50_sma, close_200_sma, close_10_ema, macd, macds, macdh, rsi, boll, boll_ub, boll_lb, atr, vwma
get_balance_sheet / get_cashflow / get_income_statementSEC as filed, as of the analysis date
get_fundamentalsprofile + point-in-time valuation
get_insider_transactionsForm 4, filed by the analysis date
get_macro_indicators18,000+ series, as known on the analysis date

Coverage

Data scope

16,000+ US stocks that have traded on NYSE and Nasdaq since January 2000, delisted included, point in time; 231 ETFs; 139 futures markets with every contract since 2007; GEX for single stocks, ETFs and the major indexes; COT since 1986; 13F; SEC fundamentals as filed; 18,000+ macro series with every vintage kept; crypto since 2015.

Pricing

Full history

Free key covers the last 12 months; full history from $19 per ticker or $195 for 5 years of the whole US market, yours to keep: See full history

FAQ

Questions

Is FinzData affiliated with TradingAgents?

No. FinzData is not affiliated with TauricResearch or the TradingAgents project. tradingagents-finzdata is a community integration.

Does FinzData provide survivorship-free data?

Yes. All data is point-in-time with delisted names included.

Can I use insider trades with TradingAgents?

Yes. FinzData Form 4 rows carry the filing date, so get_insider_transactions shows only what was public on the analysis date.

Is a free API key available?

Yes. A free key covers the last 12 months, email only.

Can I mix FinzData with other vendors?

Yes. Config allows mixing vendors, for example finzdata,yfinance.

FinzData is not affiliated with TauricResearch or the TradingAgents project.

FinzData: built for AI, quants, data scientists and financial analysts who backtest. Clean data. Real insights. Real alpha.