{"id":15009427,"url":"https://github.com/csko/gdax-python-api","last_synced_at":"2025-10-08T18:06:22.196Z","repository":{"id":22149499,"uuid":"95424559","full_name":"csko/gdax-python-api","owner":"csko","description":"GDAX API written in Python3 using async/await","archived":false,"fork":false,"pushed_at":"2024-12-06T11:52:02.000Z","size":52,"stargazers_count":53,"open_issues_count":11,"forks_count":21,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-09-25T12:34:13.972Z","etag":null,"topics":["bitcoin","coinbase","coinbase-api","ethereum","gdax","gdax-api","gdax-python","litecoin","python","python-3-6","python3","trading-api"],"latest_commit_sha":null,"homepage":null,"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/csko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-26T08:19:54.000Z","updated_at":"2024-12-03T14:52:39.000Z","dependencies_parsed_at":"2024-10-12T09:21:44.300Z","dependency_job_id":"0be18734-226e-4eeb-ac2e-ed5c50b17bbf","html_url":"https://github.com/csko/gdax-python-api","commit_stats":{"total_commits":44,"total_committers":4,"mean_commits":11.0,"dds":0.06818181818181823,"last_synced_commit":"a2c2cb339ef4193ce62e17bb57367021246f359b"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/csko/gdax-python-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csko%2Fgdax-python-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csko%2Fgdax-python-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csko%2Fgdax-python-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csko%2Fgdax-python-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csko","download_url":"https://codeload.github.com/csko/gdax-python-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csko%2Fgdax-python-api/sbom","scorecard":{"id":310998,"data":{"date":"2025-08-11","repo":{"name":"github.com/csko/gdax-python-api","commit":"a2c2cb339ef4193ce62e17bb57367021246f359b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.9,"checks":[{"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":"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":"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":"Code-Review","score":1,"reason":"Found 3/29 approved changesets -- score normalized to 1","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":"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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE: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":-1,"reason":"no releases found","details":null,"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"14 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2022-238 / GHSA-h3qr-fjhm-jphw","Warn: Project is vulnerable to: PYSEC-2023-120 / GHSA-45c4-8wx5-qw6w","Warn: Project is vulnerable to: PYSEC-2024-24 / GHSA-5h86-8mv2-jq9f","Warn: Project is vulnerable to: GHSA-5m98-qgg9-wh84","Warn: Project is vulnerable to: GHSA-7gpw-8wmc-pm8g","Warn: Project is vulnerable to: GHSA-8495-4g3g-x7pr","Warn: Project is vulnerable to: PYSEC-2024-26 / GHSA-8qpw-xqxj-h4r2","Warn: Project is vulnerable to: GHSA-9548-qrrj-x5pj","Warn: Project is vulnerable to: PYSEC-2023-246 / GHSA-gfw2-4jvh-wgfg","Warn: Project is vulnerable to: GHSA-pjjw-qhg8-p2p9","Warn: Project is vulnerable to: PYSEC-2023-250 / GHSA-q3qx-c6g2-7pw2","Warn: Project is vulnerable to: PYSEC-2023-251 / GHSA-qvrw-v9rv-5rjx","Warn: Project is vulnerable to: PYSEC-2021-76 / GHSA-v6wp-4m6f-gcjg","Warn: Project is vulnerable to: PYSEC-2023-247 / GHSA-xx9p-xxvh-7g8j"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T23:10:42.830Z","repository_id":22149499,"created_at":"2025-08-17T23:10:42.830Z","updated_at":"2025-08-17T23:10:42.830Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278990039,"owners_count":26081260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bitcoin","coinbase","coinbase-api","ethereum","gdax","gdax-api","gdax-python","litecoin","python","python-3-6","python3","trading-api"],"created_at":"2024-09-24T19:25:12.727Z","updated_at":"2025-10-08T18:06:22.178Z","avatar_url":"https://github.com/csko.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GDAX Python API\n\n[![Build Status](https://travis-ci.org/csko/gdax-python-api.svg?branch=master)](https://travis-ci.org/csko/gdax-python-api)\n[![PyPI](https://img.shields.io/pypi/pyversions/gdax-python-api.svg)](https://pypi.python.org/pypi/gdax-python-api)\n[![PyPI](https://img.shields.io/pypi/v/gdax-python-api.svg)](https://pypi.python.org/pypi/gdax-python-api)\n[![codecov](https://codecov.io/gh/csko/gdax-python-api/branch/master/graph/badge.svg)](https://codecov.io/gh/csko/gdax-python-api)\n\nUnofficial GDAX API client written in Python3 using async/await\n\n## API\nThe implementation supports the following GDAX endpoints:\n* Market Data REST API\n* Private REST API\n* Public and private Websocket feeds\n\nSee the official API documentation at https://docs.gdax.com/ for more documentation.\n\n## Examples\n### Market Data\n```python\nimport asyncio\nimport gdax\n\nasync def main():\n    trader = gdax.trader.Trader(product_id='BTC-USD')\n    res = await asyncio.gather(\n        trader.get_products(),\n        trader.get_product_ticker(),\n        trader.get_time(),\n    )\n    print(res)\n\nif __name__ == \"__main__\":\n    loop = asyncio.get_event_loop()\n    loop.run_until_complete(main())\n```\n\n### Private Endpoint\n```python\nimport asyncio\nimport gdax\n\nasync def main():\n    trader = gdax.trader.Trader(\n        product_id='BTC-USD',\n        api_key='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',\n        api_secret='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa==',\n        passphrase='aaaaaaaaaaa')\n    res = await trader.get_account()\n    print(res)\n\n    res = await trader.buy(type='limit', size='0.01', price='2500.12')\n    print(res)\n\nif __name__ == \"__main__\":\n    loop = asyncio.get_event_loop()\n    loop.run_until_complete(main())\n```\n\n### Order book\n```python\nimport asyncio\nimport gdax\n\nasync def run_orderbook():\n    async with gdax.orderbook.OrderBook(['ETH-USD', 'BTC-USD']) as orderbook:\n        while True:\n            message = await orderbook.handle_message()\n            if message is None:\n                continue\n            print('ETH-USD ask: %s bid: %s' %\n                  (orderbook.get_ask('ETH-USD'),\n                   orderbook.get_bid('ETH-USD')))\n            print('BTC-USD ask: %s bid: %s' %\n                  (orderbook.get_ask('BTC-USD'),\n                   orderbook.get_bid('BTC-USD')))\n\nif __name__ == \"__main__\":\n    loop = asyncio.get_event_loop()\n    loop.run_until_complete(run_orderbook())\n```\n\n## Installation\nInstall from PyPI:\n\n    pip install gdax-python-api\n\nYou can [download the latest release from Github](https://github.com/csko/gdax-python-api/archive/master.zip) and install it manually:\n\n    python setup.py install\n\n## Requirements\n\n* Python 3.6 (async/await, f-strings)\n* aiohttp\n* aiofiles\n* async_timeout\n* sortedcontainers\n\n\n## Acknowledgements\nParts of this software are based on [GDAX-Python](https://github.com/danpaquin/GDAX-Python) by Daniel Paquin. See also https://github.com/danpaquin/GDAX-Python/blob/master/contributors.txt.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsko%2Fgdax-python-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsko%2Fgdax-python-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsko%2Fgdax-python-api/lists"}