# StockASkill: A Local-First AgentSkill for Intelligent Stock Selection

DevFeed: [StockASkill: A Local-First AgentSkill for Intelligent Stock Selection](<https://devfeed.tech/articles/stockaskill-a-local-first-agentskill-for-intelligent-stock-selection-124696.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.09528>)

Author: Xiangjing An, Zhibin Jiao, Aiting Chen

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [AI Integration Strategies](<https://devfeed.tech/topics/ai-integration-strategies.md>), [Local AI](<https://devfeed.tech/topics/local-ai.md>), [Combinatorial optimization](<https://devfeed.tech/topics/combinatorial-optimization.md>), [Finite-state machine](<https://devfeed.tech/topics/finite-state-machine.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [alpha](<https://devfeed.tech/tags/alpha.md>), [api](<https://devfeed.tech/tags/api.md>), [bias](<https://devfeed.tech/tags/bias.md>), [board](<https://devfeed.tech/tags/board.md>), [bottlenecks](<https://devfeed.tech/tags/bottlenecks.md>), [capital](<https://devfeed.tech/tags/capital.md>), [china](<https://devfeed.tech/tags/china.md>), [columnar](<https://devfeed.tech/tags/columnar.md>), [convex](<https://devfeed.tech/tags/convex.md>), [cross](<https://devfeed.tech/tags/cross.md>), [cross-border](<https://devfeed.tech/tags/cross-border.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [data](<https://devfeed.tech/tags/data.md>), [data-driven](<https://devfeed.tech/tags/data-driven.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [local-first](<https://devfeed.tech/tags/local-first.md>), [selection](<https://devfeed.tech/tags/selection.md>), [stock](<https://devfeed.tech/tags/stock.md>)

## AI overview

StockASkill is a local-first quantitative stock-selection tool built around DuckDB, with historical prices and financial disclosures covering China A-shares, Hong Kong, US equities, and ETFs. The abstract reports that screening more than 5,400 equities takes under 0.5 seconds, down from over 25 seconds, without ad-hoc network dependencies during analysis. Its pipeline combines a 7+1 factor model, an SLSQP optimizer using smooth CVaR drawdown surrogates and exact path projection, 100-share lot quantization, and a thesis lifecycle state machine. A zero-disk, typed JSON streaming interface supports LLM tool-calling. Reported 2018-2024 benchmarks include annualized Sharpe ratios above 1.48, Calmar ratios up to 2.17, and maximum drawdown reductions up to 85% versus benchmark indices. These are claims from the supplied abstract; the excerpt does not provide benchmark methodology or further validation details.

## Source excerpt

arXiv:2611.09528v1 Announce Type: new Abstract: Quantitative equity selection and portfolio construction in emerging and cross-border markets frequently suffer from computational bottlenecks, remote API fragility, survivorship bias, and rigid execution constraints such as discrete board lots and investor-mandated drawdown limits. In this paper, we present StockASkill, a local-first, full-data-driven AgentSkill engineered as a specialized Quant Co-Processor for autonomous AI agents and quantitative researchers. Tailored for agile portfolios (10^5 ~ 10^7 RMB) where discrete lot execution and capital protection are mandatory, StockASkill embeds a columnar DuckDB OLAP engine over 42.44 million historical price records and 186,432 financial disclosures spanning 26 years across China A-shares, Hong Kong, US equities, and ETFs. By eliminating ad-hoc network dependencies during analysis, StockASkill reduces cross-sectional screening latency across 5,400+ equities from over 25 seconds to sub-0.5 seconds (a 95%+ reduction). We formalize an end-to-end mathematical pipeline integrating a 7+1 factor alpha model, an SLSQP convex optimizer under smooth CVaR drawdown surrogates with exact path projection, dynamic 100-share board lot integer quantization, and an autonomous thesis lifecycle finite-state machine. Furthermore, we provide a zero-disk, strongly-typed JSON streaming interface designed for high-throughput LLM tool-calling. Open-sourced at https://github.com/axjing/stockaskill, comprehensive empirical benchmarks from 2018 to 2024 demonstrate that the architecture achieves annualized Sharpe ratios exceeding 1.48 and Calmar ratios up to 2.17, while reducing max drawdown by up to 85% relative to benchmark indices.