{"id":20983863,"url":"https://github.com/j-w-yun/gdax-api-python","last_synced_at":"2025-05-14T17:30:24.352Z","repository":{"id":57433320,"uuid":"118691394","full_name":"j-w-yun/gdax-api-python","owner":"j-w-yun","description":"Impeccably documented, lightweight, authenticated client for GDAX API in Python.","archived":false,"fork":false,"pushed_at":"2019-01-28T06:51:23.000Z","size":21,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-13T14:35:24.115Z","etag":null,"topics":["cryptocurrency","cryptocurrency-exchanges","gdax","gdax-api","gdax-python","python"],"latest_commit_sha":null,"homepage":"","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/j-w-yun.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}},"created_at":"2018-01-24T01:00:25.000Z","updated_at":"2022-12-21T18:59:29.000Z","dependencies_parsed_at":"2022-08-28T04:40:22.003Z","dependency_job_id":null,"html_url":"https://github.com/j-w-yun/gdax-api-python","commit_stats":null,"previous_names":["jaewan-yun/gdax-api-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j-w-yun%2Fgdax-api-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j-w-yun%2Fgdax-api-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j-w-yun%2Fgdax-api-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j-w-yun%2Fgdax-api-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j-w-yun","download_url":"https://codeload.github.com/j-w-yun/gdax-api-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254194690,"owners_count":22030428,"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","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":["cryptocurrency","cryptocurrency-exchanges","gdax","gdax-api","gdax-python","python"],"created_at":"2024-11-19T05:50:33.618Z","updated_at":"2025-05-14T17:30:24.065Z","avatar_url":"https://github.com/j-w-yun.png","language":"Python","readme":"# IMPORTANT\n\nAs of December 31, 2018, GDAX API is no longer supported by Coinbase. Instead, please refer to https://docs.pro.coinbase.com/\n\nAs of yet, gdax-api does not support the new Coinbase API. Please refrain from using any code in this repository to transact on Coinbase until further notice.\n\n\n# gdax-api-python\n\nMore information can be found at:\n\n    https://docs.gdax.com/\n\n## Dependencies\n\nIf you are installing gdax-api with native pip, skip this step.\n\n    $ pip install requests\n\n## Install\n\n#### Installing with native pip\n\n    $ pip install gdax-api\n\n#### Validate your installation\n\nStart a terminal.\n\nInvoke python from your shell as follows:\n\n    $ python\n\nEnter the following short program inside the python interactive shell:\n\n    \u003e\u003e\u003e import gdax\n    \u003e\u003e\u003e client = gdax.PublicClient()\n    \u003e\u003e\u003e print(client.get_currencies())\n\nIf the system outputs a JSON response from GDAX, then you are ready to begin using gdax-api in your programs.\n\n## Usage\n\n#### Public Client\n\nTo access the public client, create a PublicClient\n\n    client = gdax.PublicClient()\n\nGet product order book\n\n    client.get_product_order_book(client.ETH_USD, 1)\n\nGet product ticker\n\n    client.get_product_ticker(client.ETH_USD)\n\nGet trades\n\n    client.get_trades(client.ETH_USD)\n\nGet historic rates\n\n    client.get_historic_rates(client.ETH_USD, \"2018-01-01\", \"2018-01-02\", granularity=300)\n\nGet currencies\n\n    client.get_currencies()\n\nGet API time\n\n    client.time()\n\n#### Authenticated Client\n\nTo access your authenticated client, create a PrivateClient\n\n    client = gdax.PrivateClient(KEY, B64SECRET, PASSPHRASE)\n\nList accounts\n\n    client.list_accounts()\n\nGet account\n\n    client.get_account(account_id)\n\nGet account history\n\n    client.get_account_history(account_id)\n\nGet holds\n\n    client.get_holds(account_id)\n\nLimit buy\n\n    client.limit_buy(client.ETH_USD, price=1050, size=1)\n\nLimit sell\n\n    client.limit_sell(client.ETH_USD, price=3000, size=1)\n\nMarket buy\n\n    client.market_buy(client.ETH_USD, size=1)\n\nMarket sell\n\n    client.market_sell(client.ETH_USD, size=1)\n\nStop buy\n\n    client.stop_buy(client.ETH_USD, price=1000)\n\nStop sell\n\n    client.stop_sell(client.ETH_USD, price=1000)\n\nCancel order\n\n    client.cancel_order(order_id)\n\nCancel all orders\n\n    client.cancel_all()\n\nList orders\n\n    client.list_orders()\n\nGet an order\n\n    client.get_order(order_id)\n\n## License\n\nMIT. See LICENSE for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj-w-yun%2Fgdax-api-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj-w-yun%2Fgdax-api-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj-w-yun%2Fgdax-api-python/lists"}