Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-10-24 07:59 UTC

alpacahq / alpaca-py

The Official Python SDK for Alpaca API

PythonApache-2.0★ 1,567 stars⑂ 421 forkssince Feb 2022View on GitHub ↗

alpacahq/alpaca-py holds a health index of 96 out of 100, placing it in the Exceptional band. It scores highest on Engineering Quality (95/100) and lowest on Security (78/100). It was last updated today. A single contributor accounts for most of its recent work.

96
overall / 100
Exceptional

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

96
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 84 is calibrated to 96 on the published index scale (record calibration 2026-08-02).

Ownership

AlpacaOrganization · verified domain
1,712 followers93 public repossince Jul 2017

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
PyPIalpaca-py0.44.01,066,6899673 days ago

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

87Excellent · 21% of overall
How it's scored
36/36Push recency — last push 0 days ago
15.2/36Commit cadence — 22/52 weeks with commits
18/18Commit volume — 112 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year112
human_commit_share0.48
days_since_last_push0
active_weeks_last_year22

Release discipline

100Exceptional
How it's scored
27/27Ships releases — 88 releases published
36/36Release recency — latest release 73 days ago
27/27Release cadence — a release every ~44.8 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
releases_count88
latest_release_tagv0.44.0
releases_from_tagsno
days_since_latest_release73
mean_days_between_releases44.8
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

83Excellent · 17% of overall
How it's scored
51.8/60Stars — 1,567 stars
21.9/25Forks — 421 forks
9.6/15Watchers — 55 watchers
Inputs used
forks421
stars1,567
watchers55
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (Apache-2.0)
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges6
has_contributingyes
has_issue_templateno
has_code_of_conductno
readme_badge_servicesshields.io
has_pull_request_templateno
How it's scored
80/80Monthly downloads — 1,066,689 downloads/month across pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
packagesalpaca-py
dependents—
ecosystemspypi
total_downloads—
monthly_downloads1,066,689
unverified_packages_excluded—
Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

78Good · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
10.6/22.5Commit distribution — top contributor authored 53% of commits
13.5/13.5Contributor breadth — 60 contributors
10/10OpenSSF Scorecard: Contributors — project has 6 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled60
top_contributor_share0.527
How it's scored
33.9/42Issue resolution — 81% of issues closed
23.7/30PR acceptance — 421/533 decided PRs merged
11.6/13Newcomer PR acceptance — 8/9 first-time contributors' PRs merged in 30d
15/15OpenSSF Scorecard: Code-Review — all changesets reviewed
Inputs used
merged_prs421
open_issues55
closed_issues232
prs_merged_7d10
prs_decided_7d11
prs_merged_30d31
prs_decided_30d36
issue_closed_ratio0.808
closed_unmerged_prs112
first_time_authors_30d7
first_time_prs_merged_30d8
first_time_prs_decided_30d9
How it's scored
30/30Ownership backing — organization-owned
20/20Verified domain
23.2/25Owner reach — 1,712 followers of alpacahq
25/25Track record — 93 public repos, account ~9 yr old
Inputs used
followers1,712
owner_typeOrganization
is_verifiedyes
owner_loginalpacahq
public_repos93
account_age_days3,379

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on pypi
35/35Publish recency — latest publish 73 days ago
20/20Version history — 96 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagesalpaca-py
ecosystemspypi
any_deprecatedno
min_days_since_publish73

Engineering Quality

Are baseline engineering and documentation practices in place?

95Exceptional · 19% of overall
How it's scored
24/24CI workflows — 3 workflow(s)
24/24Tests present
16/16Linter config
9.6/9.6Pre-commit hooks
0/6.4.editorconfig
18/20OpenSSF Scorecard: CI-Tests — 28 out of 30 merged PRs checked by a CI test -- score normalized to 9
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configyes
has_precommit_configyes

Documentation

100Exceptional
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://alpaca.markets/sdks/python/getting_started.html
10/10Repository description
10/10Topics — 15 topics
10/10Wiki
Inputs used
topicsalgorithmic-trading, brokerage, crypto, finance, market-data, python, trading, alpaca, alpaca-api, equities, options, quant, stock-trading, quantitative-finance, algotrading
has_wikiyes
homepagehttps://alpaca.markets/sdks/python/getting_started.html
docs_sitehttps://alpaca.markets/sdks/python/getting_started.html
has_readmeyes
has_docs_diryes
has_descriptionyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

78Good · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — no data
2.2/2.5CI-Tests — 28 out of 30 merged PRs checked by a CI test -- score normalized to 9
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
7.5/7.5Code-Review — all changesets reviewed
2.5/2.5Contributors — project has 6 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
7.5/7.5Maintained — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging — no data
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
4/5SAST — SAST tool is not run on all commits -- score normalized to 8
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — no data
6.8/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
3.8/7.5Vulnerabilities — 5 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated15
scorecard_versionv5.5.0
checks_inconclusive3
scorecard_aggregate7.3
Excluded from scoring (no data or not applicable): Branch-Protection, Packaging, Signed-Releases. Remaining weights renormalized.

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisories — no direct dependency carries a known advisory
25/25Indirect dependencies free of known advisories — no indirect dependency carries a known advisory
0/40No advisories left outstanding — no advisory carries a publication date
Inputs used
sourceosv
advisories0
affected_packages0
assessed_packages19
unassessed_packages0
affected_by_severitynone
direct_affected_packages0
Excluded from scoring (no data or not applicable): No advisories left outstanding. Remaining weights renormalized. Matched the pypi:alpaca-py@0.44.0 runtime dependency closure — what installing the published package pulls in — 19 packages. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

80Excellent · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
15/15Machine-readable docs (llms.txt) — llms.txt served by the project website (https://alpaca.markets/llms.txt)
40/40Legible commit history — 48 of 48 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtyes
llms_txt_urlhttps://alpaca.markets/llms.txt
legible_history_share1
agent_instruction_files—
agent_instruction_max_bytes—
How it's scored
18/18One-command bootstrap — Makefile, docs/Makefile
22/22Automated tests
11/11Lint / format config
11/11Static type checking — alpaca/py.typed
10/10Reproducible environment — Dockerfile, lockfile
10/10Demonstrated agent practice — 17 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance — 52 of the last 100 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfilespackage-lock.json, poetry.lock, uv.lock
has_dockerfileyes
typed_languageno
bootstrap_filesMakefile, docs/Makefile
has_devcontainerno
has_linter_configyes
typecheck_configsalpaca/py.typed
agent_commit_share0.17
toolchain_manifests—
dependency_bot_commit_share0.52
How it's scored
27/45Type-checkable code — Python with type-check config (alpaca/py.typed)
53.7/55Manageable file sizes — 3/124 source files over 60KB
Inputs used
primary_languagePython
largest_source_bytes90,150
source_files_sampled124
oversized_source_files3
How it's scored
0/40API schema (OpenAPI/GraphQL/proto) — not applicable to this kind of software
0/20MCP server — not applicable to this kind of software
40/40Runnable examples — examples, notebooks
Inputs used
example_dirsexamples, notebooks
has_mcp_signalno
api_schema_files—
interfaces_expected_of—
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

1,567GitHub stars
60contributors
112commits, last 12 months
0days since last push
88releases
1bus factor
55open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

More detail

Star and fork history 0 ★ / 421 ⇿
0Stars
421Forks
86Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

0100200300400500419112022-052024-072026-10
Major 0Minor 42Patch 44

Each point covers 5 days.

OpenSSF Scorecard 7.3 / 10
7.3aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-10-24 07:59 UTC

10Binary-Artifactsno binaries found in the repo
n/aBranch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
9CI-Tests28 out of 30 merged PRs checked by a CI test -- score normalized to 9
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
10Code-Reviewall changesets reviewed
10Contributorsproject has 6 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
n/aPackagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
8SASTSAST tool is not run on all commits -- score normalized to 8
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
9Token-Permissionsdetected GitHub workflow tokens with excessive permissions
5Vulnerabilities5 existing vulnerabilities detected
Direct dependencies 7
RegistryPackageVersion constraintManifest
PyPIrequests^2.30.0pyproject.toml
PyPIpydantic^2.7.0pyproject.toml
PyPIpandas>=1.5.3pyproject.toml
PyPImsgpack^1.0.3pyproject.toml
PyPIwebsockets>=10.4pyproject.toml
PyPIsseclient-py^1.7.2pyproject.toml
PyPItyping-extensions>=4.5.0pyproject.toml
All dependencies 158

Full resolved dependency set from the GitHub dependency graph: 14 direct and 144 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
PyPImsgpack1.2.1direct
PyPImsgpack1.2.3direct
PyPIpandas—direct
PyPIpandas2.3.3direct
PyPIpandas3.0.1direct
PyPIpydantic2.12.5direct
PyPIpydantic2.14.1direct
PyPIrequests2.33.0direct
PyPIrequests2.34.2direct
PyPIsseclient-py1.9.0direct
PyPItyping-extensions4.15.0direct
PyPItyping-extensions4.16.0direct
PyPIwebsockets16.0direct
PyPIwebsockets16.1.1direct
npmagent-base6.0.2indirect
npmasynckit0.4.0indirect
npmaxios1.20.0indirect
npmaxios-proxy-builder0.1.2indirect
npmbalanced-match4.0.4indirect
npmbrace-expansion5.0.12indirect
npmcall-bind-apply-helpers1.0.2indirect
npmcombined-stream1.0.8indirect
npmdebug4.4.3indirect
npmdelayed-stream1.0.0indirect
npmdunder-proto1.0.1indirect
npmes-define-property1.0.1indirect
npmes-errors1.3.0indirect
npmes-object-atoms1.1.1indirect
npmes-set-tostringtag2.1.0indirect
npmfollow-redirects1.16.1indirect
npmform-data4.0.6indirect
npmfunction-bind1.1.2indirect
npmget-intrinsic1.3.0indirect
npmget-proto1.0.1indirect
npmglob13.0.6indirect
npmgopd1.2.0indirect
npmhas-symbols1.1.0indirect
npmhas-tostringtag1.0.2indirect
npmhasown2.0.4indirect
npmhttps-proxy-agent5.0.1indirect
npmlru-cache11.2.7indirect
npmmath-intrinsics1.1.0indirect
npmmime-db1.52.0indirect
npmmime-types2.1.35indirect
npmminimatch10.2.4indirect
npmminipass7.1.3indirect
npmms2.1.3indirect
npmpackage-json-from-dist1.0.1indirect
npmpath-scurry2.0.2indirect
npmproxy-from-env2.1.0indirect
npmrimraf6.1.3indirect
npmsax1.6.0indirect
npmserverless4.33.0indirect
npmtunnel0.0.6indirect
npmxml2js0.6.2indirect
npmxmlbuilder11.0.1indirect
PyPIaccessible-pygments0.0.5indirect
PyPIalabaster0.7.16indirect
PyPIalgo-trading-alpaca0.1.0indirect
PyPIalpaca-py—indirect
PyPIalpaca-py0.43.2indirect
PyPIannotated-types0.6.0indirect
PyPIannotated-types0.7.0indirect
PyPIapeye1.4.1indirect
PyPIapeye-core1.1.5indirect
PyPIautodocsumm0.2.15indirect
PyPIbabel2.18.0indirect
PyPIbackports-asyncio-runner1.2.0indirect
PyPIbeautifulsoup44.15.0indirect
PyPIblack26.10.1indirect
PyPIboto31.42.78indirect
PyPIbotocore1.42.78indirect
PyPIcachecontrol0.14.4indirect
PyPIcertifi2026.10.19indirect
PyPIcfgv3.5.0indirect
PyPIcharset-normalizer3.3.2indirect
PyPIcharset-normalizer3.4.6indirect
PyPIclick8.4.2indirect
PyPIcolorama0.4.6indirect
PyPIdict2css0.6.0indirect
PyPIdistlib0.4.3indirect
PyPIdocutils0.21.2indirect
PyPIdomdf-python-tools3.10.0indirect
PyPIenum-tools0.13.0indirect
PyPIexceptiongroup1.3.1indirect
PyPIfilelock3.29.4indirect
PyPIfuro2025.12.19indirect
PyPIhtml5lib1.1indirect
PyPIidentify2.6.19indirect
PyPIidna3.15indirect
PyPIimagesize1.5.0indirect
PyPIiniconfig2.3.0indirect
PyPIisort9.0.2indirect
PyPIjinja23.1.6indirect
PyPIjmespath1.1.0indirect
PyPImarkupsafe3.0.3indirect
PyPImatplotlib—indirect
PyPImypy-extensions1.1.0indirect
PyPInatsort8.4.0indirect
PyPInodeenv1.10.0indirect
PyPInumpy—indirect
PyPInumpy1.26.4indirect
PyPInumpy2.2.6indirect
PyPIpackaging26.0indirect
PyPIpackaging26.2indirect
PyPIpathspec1.1.1indirect
PyPIplatformdirs4.10.0indirect
PyPIpluggy1.6.0indirect
PyPIpre-commit4.6.2indirect
PyPIpydantic-core2.41.5indirect
PyPIpydantic-core2.50.1indirect
PyPIpygments2.20.0indirect
PyPIpytest9.0.3indirect
PyPIpytest9.1.1indirect
PyPIpytest-asyncio1.4.0indirect
PyPIpytest-mock3.15.1indirect
PyPIpython-dateutil—indirect
PyPIpython-dateutil2.9.0.post0indirect
PyPIpython-discovery1.6.1indirect
PyPIpython-dotenv—indirect
PyPIpytokens0.4.1indirect
PyPIpytz—indirect
PyPIpytz2026.1.post1indirect
PyPIpytz2026.3.post1indirect
PyPIpyyaml6.0.3indirect
PyPIrequests-mock1.12.1indirect
PyPIroman5.2indirect
PyPIruamel-yaml0.19.1indirect
PyPIs3transfer0.16.0indirect
PyPIsix1.16.0indirect
PyPIsix1.17.0indirect
PyPIsnowballstemmer3.1.1indirect
PyPIsoupsieve2.9indirect
PyPIsphinx8.1.3indirect
PyPIsphinx-autodoc-typehints1.23.0indirect
PyPIsphinx-basic-ng1.0.0b2indirect
PyPIsphinx-copybutton0.5.2indirect
PyPIsphinx-jinja2-compat0.4.1indirect
PyPIsphinx-prompt1.5.0indirect
PyPIsphinx-tabs3.4.7indirect
PyPIsphinx-toolbox4.3.1indirect
PyPIsphinxcontrib-applehelp2.0.0indirect
PyPIsphinxcontrib-devhelp2.0.0indirect
PyPIsphinxcontrib-htmlhelp2.1.0indirect
PyPIsphinxcontrib-jsmath1.0.1indirect
PyPIsphinxcontrib-qthelp2.0.0indirect
PyPIsphinxcontrib-serializinghtml2.0.0indirect
PyPIstandard-imghdr3.10.14indirect
PyPItabulate0.10.0indirect
PyPItinycss21.5.1indirect
PyPItomli2.4.1indirect
PyPItyping-inspection0.4.2indirect
PyPItyping-inspection0.4.4indirect
PyPItzdata2024.1indirect
PyPItzdata2025.3indirect
PyPIurllib32.8.0indirect
PyPIvirtualenv21.7.13indirect
PyPIwebencodings0.5.1indirect
Dependency advisories 0

Installing pypi:alpaca-py@0.44.0 pulls in 19 packages, direct and transitive: 0 carry known advisories, of which 0 are direct dependencies.

No known advisories affect the assessed dependencies.

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statistics — PyPI.