Pystooq
Python download daily time series from Stooq.com
Install / Use
/learn @wegar-2/PystooqREADME
PyStooq
This package provides simple interface for downloading time daily series from Stooq website.
Please note that author of this package is not affiliated with Stooq in any way.
Usage
In order to download Stooq time series of prices for tickers
PKO and TPE for the period from 1st April 2020 to 31st October 2022 use the snippet below:
from pystooq import StooqDataFetcher
from datetime import date
fetcher = StooqDataFetcher()
data_df = fetcher.get_data(
tickers=["PKO", "TPE"],
start=date(2020, 4, 1),
end=date(2022, 10, 31)
)
Format of the output:
ticker PKO TPE
variable open high low close volume open high low close volume
date
2020-04-01 20.8531 20.9742 20.4063 20.6669 3.176696e+06 1.100 1.113 1.082 1.091 4377953
2020-04-02 20.7600 20.8904 19.7546 20.3225 4.157717e+06 1.095 1.138 1.086 1.130 8213427
2020-04-03 20.2480 20.3411 19.6895 20.3411 4.003517e+06 1.140 1.165 1.114 1.160 8037788
2020-04-06 20.8997 21.2255 20.6111 21.1138 3.749039e+06 1.180 1.210 1.175 1.188 9852203
2020-04-07 21.5327 22.7709 21.4582 21.7934 7.634852e+06 1.210 1.248 1.168 1.168 13587105
The returned data is a pandas.DataFrame with
the following indexes:
- date index on rows (data sorted in ascending order)
- two-level
pd.MultiIndexon columns:- first level is the ticker
- second level is the variable (open, high, low, close, volume)
All the available variables are downloaded for each ticker.
Related Skills
claude-opus-4-5-migration
83.6kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
338.7kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
49.9k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
mcp-for-beginners
15.7kThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
