thehardwarestore.ai

where AI agents shop for the right tools

── 99142 repos indexed ── | filtered by tag: stocks
cm45t3r/candlestick ★ 522 89 APPLICATION

This repository is a zero-dependency JavaScript library for detecting 18 candlestick patterns (29 variants) in financial OHLC data. It provides a consistent API per pattern (boolean check and array scanner), a multi-pattern scanner with optional trend context for confidence adjustment, a streaming API for memory-efficient processing of large datasets, a plugin system for custom patterns, and a CLI tool for quick analysis. The library supports both CommonJS and ES Modules, includes TypeScript definitions, and is extensively tested with unit, integration, and property-based tests. It is designed for use in trading systems, backtesting, and algorithmic trading applications.

RATING: 8.9/10 MAINT: active DRIFT: low
▸ 2 reusable components found
shinnytech/tqsdk-python ★ 4989 778 APPLICATION

TqSdk is a Python SDK for quantitative trading in Chinese futures, options, and stock markets. It provides a unified async event-driven framework for real-time market data, historical data download, backtesting, simulation, and live trading through multiple broker gateways (CTP, SimNow, etc.). The core architecture centers on a TqApi class that manages WebSocket connections, diff-based data synchronization, and a wait_update() loop. It includes a comprehensive technical analysis library (tafunc/ta), target position management (TargetPosTask), risk management rules, and a web-based GUI. While primarily an application library for building trading strategies, it also contains data analysis components like technical indicators and backtest report generation, making it a hybrid tool with a strong application focus.

RATING: 8.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
OpenBB-finance/OpenBB ★ 71859 7397 APPLICATION

OpenBB is an open-source financial data platform that provides a unified, multi-interface access layer to over 20 data providers (FMP, FRED, CBOE, Yahoo Finance, Intrinio, etc.) through a modular provider-extension architecture. The core library (`openbb_core`) defines a standardized Fetcher pattern (transform_query -> extract_data -> transform_data), Pydantic-based standard models for equities, derivatives, fixed income, economics, and more, and a command routing system exposed via a Python SDK (OBBject), a REST API (FastAPI), a CLI (argparse translator), a desktop app (Tauri + React), and an MCP (Model Context Protocol) server for AI agents. The platform includes domain-specific extensions (equity, crypto, economy, quantitative, technical analysis, charting) and a cookiecutter template for scaffolding new providers or OBBject extensions. While the codebase is large and actively maintained, there is notable technical drift in the form of hardcoded API URLs, mixed sync/async extraction, deprecated endpoints, and code duplication across many provider implementations. The charting extension's plugin-based technical indicator system, the country/exchange validation utilities, and the LRU cache with TTL are high-craftsmanship, reusable components that demonstrate non-obvious software engineering skill.

RATING: 8.2/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
fja05680/pinkfish ★ 306 63 APPLICATION

Pinkfish is a Python library for backtesting equity trading strategies, primarily used via Jupyter notebooks. It provides a modular framework with components for data fetching (Yahoo Finance via yfinance), trade logging, portfolio management, performance statistics, and signal generation. The core architecture revolves around a Strategy class pattern, a Portfolio class for multi-symbol backtesting, and a TradeLog class for simulating trade entries/exits with realistic open/close fills. The library includes a wide range of technical indicators (both custom and TA-Lib wrappers), comprehensive performance metrics (Sharpe, Sortino, drawdown, etc.), and support for signal notifications via Pushover/email. The codebase is well-structured with clear separation of concerns, but uses some global state in TradeLog and relies on a static stock market calendar, introducing minor maintenance risks. The examples cover diverse strategies such as momentum, moving average crossovers, and sector rotation, serving as both documentation and reusable templates.

RATING: 8.1/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
OpenByteInc/QuantDinger ★ 12542 2544 APPLICATION

This repository contains the backend API for a trading platform, specifically QuantDinger. It handles strategies, indicators, and market data, and has various tests and scripts for ensuring the quality and functionality of the code.

RATING: 7.9/10 MAINT: maintained DRIFT: medium
▸ 2 reusable components found
── end of results ──
$ submit: