Python Trading Toolkit
by Timoranjes
A quantitative finance toolkit for real-time market data, technical analysis, and portfolio risk management.
Free
Works with the AI tools you already use
About this skill
Professional Equity Analysis and Portfolio Management
Transform your AI agent into a sophisticated quantitative analyst. The Python Trading Toolkit provides a robust framework for real-time market data retrieval, technical indicator calculation, and deep portfolio attribution across global markets, including the US (NYSE/NASDAQ), Hong Kong (HKEX), and Mainland China (SSE/SZSE).
What it does
- Live Market Data: Interfaces with Yahoo Finance and Sina Finance APIs to pull real-time pricing, historical OHLCV data, and company fundamentals.
- Quantitative Metrics: Calculates critical risk-adjusted performance data including Sharpe/Sortino ratios, Alpha, Beta, and Maximum Drawdown.
- Technical Engine: Automatically detects chart patterns like Golden Crosses, RSI divergences, and Bollinger Band breakouts.
- Options Intel: Analyzes option chains to calculate Put/Call ratios and flag unusual volume-to-OI spikes.
- Portfolio Attribution: Performs multi-factor analysis to identify whether returns are driven by market movement or manager skill.
Why use this skill?
Standard LLM prompting often results in hallucinated stock prices or outdated data. This skill forces the agent to use validated Python libraries (yfinance, pandas, numpy) to perform actual calculations on live data. It moves beyond simple text generation to provide institutional-grade financial analysis with reproducible logic and structured outputs.
Details
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
Security Scanned
Passed automated security review
Permissions
Allowed Hosts
File Scopes
Creator
Frequently Asked Questions
More Premium Skills

Business Strategist
A framework-driven consultant for business diagnosis, market mapping, and pricing strategy.
designing-hybrid-context-layers
Architects the right retrieval strategy for every query — teaching your agent when to use RAG, a knowledge graph, or a temporal index instead of defaulting to vector search for everything.

Cinematic Landing Page Builder
Turn any business URL into a high-end animated landing page with 4K AI assets and GSAP animations via Cloudflare.
World-Class Site & App Design
Every AI-built UI looks generic and templated. This skill teaches your agent to actually match the design to the project, the industry, and the audience.