{"id":49247425,"url":"https://github.com/rgomezjnr/paca","last_synced_at":"2026-04-24T22:41:18.231Z","repository":{"id":57450126,"uuid":"441555430","full_name":"rgomezjnr/paca","owner":"rgomezjnr","description":"Check asset status using Alpaca Broker API","archived":false,"fork":false,"pushed_at":"2021-12-24T21:14:52.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-22T18:46:13.023Z","etag":null,"topics":["alpaca","alpaca-trading-api","api","asset","broker","cli","cryptocurrency","finance","investment","market","python","script","stock","stock-market","tool","trading"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/paca/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rgomezjnr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-24T21:10:24.000Z","updated_at":"2021-12-24T21:22:56.000Z","dependencies_parsed_at":"2022-08-25T23:00:15.163Z","dependency_job_id":null,"html_url":"https://github.com/rgomezjnr/paca","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rgomezjnr/paca","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgomezjnr%2Fpaca","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgomezjnr%2Fpaca/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgomezjnr%2Fpaca/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgomezjnr%2Fpaca/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgomezjnr","download_url":"https://codeload.github.com/rgomezjnr/paca/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgomezjnr%2Fpaca/sbom","scorecard":{"id":773785,"data":{"date":"2025-08-11","repo":{"name":"github.com/rgomezjnr/paca","commit":"6cb056eec4b7c909070d48812ad5cef6f76e0e88"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/1 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 0.1.0 not signed: https://api.github.com/repos/rgomezjnr/paca/releases/55965370","Warn: release artifact 0.1.0 does not have provenance: https://api.github.com/repos/rgomezjnr/paca/releases/55965370"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-23T02:58:44.101Z","repository_id":57450126,"created_at":"2025-08-23T02:58:44.101Z","updated_at":"2025-08-23T02:58:44.101Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32243800,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpaca","alpaca-trading-api","api","asset","broker","cli","cryptocurrency","finance","investment","market","python","script","stock","stock-market","tool","trading"],"created_at":"2026-04-24T22:41:17.612Z","updated_at":"2026-04-24T22:41:18.225Z","avatar_url":"https://github.com/rgomezjnr.png","language":"Python","funding_links":["https://github.com/sponsors/rgomezjnr","https://paypal.me/rgomezjnr"],"categories":[],"sub_categories":[],"readme":"# paca\nCheck asset status using [Alpaca Broker API](https://alpaca.markets/)\n\n![paca example screenshot](images/paca-example-screenshot.png)\n\n## Requirements\n- [Python 3](https://www.python.org/downloads/)\n- [alpaca_trade_api](https://github.com/alpacahq/alpaca-trade-api-python)\n- [colorama](https://github.com/tartley/colorama)\n\n## Setup\n1. Install paca using pip:\n```\n    pip install paca\n```\n2. Create API keys using the [Alpaca dashboard](https://app.alpaca.markets/login). Refer to Alpaca's [API v2](https://alpaca.markets/docs/api-documentation/api-v2/) and [API Documentation](https://alpaca.markets/docs/api-documentation/) for more details.\n3. Set environment variables APCA_API_KEY_ID and APCA_API_SECRET_KEY.\npaca can be used with Alpaca paper accounts by setting APCA_API_BASE_URL=https://paper-api.alpaca.markets. Refer to\n[Alpaca Environment Variables](https://github.com/alpacahq/alpaca-trade-api-python#alpaca-environment-variables).\n\n## Usage\n```\nusage: paca [-h] [-a] [-e] [-ex] [-f] [-i] [-m] [-n] [-s] [-st] [-sy] [-t] [-v] ASSET\n\nCheck asset status using Alpaca Broker API\n\npositional arguments:\n  ASSET                 Ticker of asset to check\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -a, --asset-class     Class of asset: us_equity or crypto\n  -e, --easy-to-borrow  Easy-to-Borrow or Hard-to-Borrow status\n  -ex, --exchange       Exchange asset is available on\n  -f, --fractionable    Fractionable status\n  -i, --id              ID of asset\n  -m, --marginable      Marginable status\n  -n, --name            Full name of asset\n  -s, --shortable       Shortable status\n  -st, --status         Status of asset: active or inactive\n  -sy, --symbol         Symbol/ticker\n  -t, --tradable        Tradable status\n  -v, --version         show program's version number and exit\n\nExamples\n\n\u003e paca AAPL\nClass: us_equity\nEasy-to-Borrow: True\nExchange: NASDAQ\nFractionable: True\nID: b0b6dd9d-8b9b-48a9-ba46-b9d54906e415\nMarginable: True\nName: Apple Inc. Common Stock\nShortable: True\nStatus: active\nSymbol: AAPL\nTradable: True\n\n\u003e paca -est DNUT\nEasy-to-Borrow: False\nShortable: False\nTradable: True\n```\n\n## Related\n[shortable](https://github.com/rgomezjnr/shortable) - Receive an alert if an asset becomes shortable, e.g. from HTB to ETB, or vice versa\n\n## Support\nIf you find an issue or have any feedback please submit an issue on [GitHub](https://github.com/rgomezjnr/paca/issues).\n\nIf you would like to show your support donations are greatly appeciated via:\n- [GitHub Sponsors](https://github.com/sponsors/rgomezjnr)\n- [PayPal](https://paypal.me/rgomezjnr)\n- [Venmo](https://account.venmo.com/u/rgomezjnr)\n- [Cash app](https://cash.app/$rgomezjnr)\n- [Strike](https://strike.me/rgomezjnr)\n- [PayNym:](https://paynym.is/+orangesmoke693) +orangesmoke693\n- [Bitcoin:](bitcoin:bc1qh46qmztl77d9dl8f6ezswvqdqxcaurrqegca2p) bc1qh46qmztl77d9dl8f6ezswvqdqxcaurrqegca2p\n- [Ethereum:](ethereum:0xAB443e578c9eA629088e26A9009e44Ed40f68678) 0xAB443e578c9eA629088e26A9009e44Ed40f68678\n\n## Author\n[Robert Gomez, Jr.](https://github.com/rgomezjnr)\n\n## Source code\nhttps://github.com/rgomezjnr/paca\n\n## License\n[MIT](https://github.com/rgomezjnr/paca/blob/master/LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgomezjnr%2Fpaca","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgomezjnr%2Fpaca","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgomezjnr%2Fpaca/lists"}