{"id":21290012,"url":"https://github.com/mtingers/simple-coinbase-bot","last_synced_at":"2025-07-11T14:32:10.236Z","repository":{"id":53815792,"uuid":"316409736","full_name":"mtingers/simple-coinbase-bot","owner":"mtingers","description":"A simple Coinbase buy/sell bot.","archived":false,"fork":false,"pushed_at":"2021-04-06T16:09:15.000Z","size":2358,"stargazers_count":14,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-29T07:49:44.710Z","etag":null,"topics":["bitcoin","coinbase","coinbase-bot","cryptocurrency","trading-bot"],"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/mtingers.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":"2020-11-27T05:38:00.000Z","updated_at":"2024-12-03T14:46:51.000Z","dependencies_parsed_at":"2022-08-21T17:40:23.398Z","dependency_job_id":null,"html_url":"https://github.com/mtingers/simple-coinbase-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mtingers/simple-coinbase-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtingers%2Fsimple-coinbase-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtingers%2Fsimple-coinbase-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtingers%2Fsimple-coinbase-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtingers%2Fsimple-coinbase-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtingers","download_url":"https://codeload.github.com/mtingers/simple-coinbase-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtingers%2Fsimple-coinbase-bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264833280,"owners_count":23670617,"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":["bitcoin","coinbase","coinbase-bot","cryptocurrency","trading-bot"],"created_at":"2024-11-21T12:44:21.146Z","updated_at":"2025-07-11T14:32:09.773Z","avatar_url":"https://github.com/mtingers.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-coinbase-bot\n\u003e **This project is being moved to [botic](https://github.com/mtingers/botic)**\n---\n---\n---\n---\nA simple Coinbase Pro buy/sell bot.\n\nThe primary purpose of this bot is to buy/sell incrementally as the price goes up and down.\nIt does not do anything too fancy:\n1. Buy if there are no outstanding sell orders less than the current target sell price.\n2. Target sell price is determined from `sell_at_percent` config option and current\nfees (e.g. `current_price * (sell_at_percent+(fees*2)) + current_price)` ).\nSee [Coinbase Fee structure](https://help.coinbase.com/en/pro/trading-and-funding/trading-rules-and-fees/fees)\n3. After a buy is placed, an immediate limit sell order is placed to the calculated target price.\n\nA few other min/max configuration options exist for safety, but the main logic is\nabove (see [example.conf](example.conf)).\n\n# Getting Started\nFirst, create an API key with view/trade permissions in the\n[Coinbase Pro profile](https://pro.coinbase.com/profile/api).\n\nCreate virtualenv and install requirements:\n```bash\npython3 -m venv venv\n. venv/bin/activate\n```\n\n```bash\n# PyPI\npip install SimpleCoinbaseBot\n```\n\n```bash\n# Or install manually with setup.py\npip install -r requirements.txt\npython setup.py install\n```\n\nCreate a new configuration:\n```bash\nmkdir etc/ log/ cache/\ncp example.conf etc/btc.conf\nchmod 700 etc/btc.conf\n# edit config etc/btc.conf\n```\n\nRun the bot with the new config:\n```\nsimplebot etc/btc.conf\n# -or- run the wrapper that will restart the bot if it errors out\npersistbot etc/btc.conf\n```\n\n# Example Config\n\nSee [example.conf](example.conf) for more in depth configuration info.\n\n# Top Command\n\nThe `simpeltop` script displays stats from the cache files (recent order completion, profits, open\norders, etc).\n\nExample usage:\n\n```bash\n# Use all .cache files in cache/ directory\nsimpletop cache/\n```\n![simpletop](/top1.png)\n![simpletop orders and filter](/top2.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtingers%2Fsimple-coinbase-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtingers%2Fsimple-coinbase-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtingers%2Fsimple-coinbase-bot/lists"}