WWW.YOUINFO.SITE
标签聚合 tidata

/tag/tidata

v2ex · 2026-06-01 07:40:04+08:00 · tech

做量化回测的时候被 yfinance 限速搞烦了,干脆自己写了一个。 tidata ,一个 OHLC 历史数据 API ,30 年数据,部署在 Edge Cloud ,不会突然被限速。 from tidata.tifinance import Ticker aapl = Ticker("AAPL", api_key="your_key") df = aapl.history(period="1y") # 返回的 DataFrame 格式和 yfinance 一样 也可以直接调 REST API: curl -H "Authorization: Bearer your_key" \ "https://api.tradeinsight.info/trading-data/v1/ohlc?ticker=AAPL&start=2020-01-01&end=2024-12-31" Beta 期间免费。 https://beta.tradeinsight.info 你们平时用什么数据源做回测?有没有遇到过 yfinance 突然断掉的情况?

v2ex · 2026-06-01 07:40:04+08:00 · tech

做量化回测的时候被 yfinance 限速搞烦了,干脆自己写了一个。 tidata ,一个 OHLC 历史数据 API ,30 年数据,部署在 Edge Cloud ,不会突然被限速。 from tidata.tifinance import Ticker aapl = Ticker("AAPL", api_key="your_key") df = aapl.history(period="1y") # 返回的 DataFrame 格式和 yfinance 一样 也可以直接调 REST API: curl -H "Authorization: Bearer your_key" \ "https://api.tradeinsight.info/trading-data/v1/ohlc?ticker=AAPL&start=2020-01-01&end=2024-12-31" Beta 期间免费。 https://beta.tradeinsight.info 你们平时用什么数据源做回测?有没有遇到过 yfinance 突然断掉的情况?

v2ex · 2026-06-01 06:54:04+08:00 · tech

做量化回测的时候被 yfinance 限速搞烦了,干脆自己写了一个。 tidata ,一个 OHLC 历史数据 API ,30 年数据,部署在 Edge Cloud ,不会突然被限速。 from tidata.tifinance import Ticker aapl = Ticker("AAPL", api_key="your_key") df = aapl.history(period="1y") # 返回的 DataFrame 格式和 yfinance 一样 也可以直接调 REST API: curl -H "Authorization: Bearer your_key" \ "https://api.tradeinsight.info/trading-data/v1/ohlc?ticker=AAPL&start=2020-01-01&end=2024-12-31" Beta 期间免费。 https://beta.tradeinsight.info 你们平时用什么数据源做回测?有没有遇到过 yfinance 突然断掉的情况?

v2ex · 2026-06-01 04:01:57+08:00 · tech

做量化回测的时候被 yfinance 限速搞烦了,干脆自己写了一个。 tidata ,一个 OHLC 历史数据 API ,30 年数据,部署在 Edge Cloud ,不会突然被限速。 from tidata.tifinance import Ticker aapl = Ticker("AAPL", api_key="your_key") df = aapl.history(period="1y") # 返回的 DataFrame 格式和 yfinance 一样 也可以直接调 REST API: curl -H "Authorization: Bearer your_key" \ "https://api.tradeinsight.info/trading-data/v1/ohlc?ticker=AAPL&start=2020-01-01&end=2024-12-31" Beta 期间免费。 https://beta.tradeinsight.info 你们平时用什么数据源做回测?有没有遇到过 yfinance 突然断掉的情况?