{"id":16960859,"url":"https://github.com/carleslc/kitraderbot","last_synced_at":"2026-01-27T09:15:52.618Z","repository":{"id":88500434,"uuid":"122583984","full_name":"Carleslc/KiTraderBot","owner":"Carleslc","description":"Trading bot for Telegram","archived":false,"fork":false,"pushed_at":"2021-04-13T11:57:13.000Z","size":136,"stargazers_count":12,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T22:11:30.340Z","etag":null,"topics":["binance","bitcoin","bitstamp","cryptocurrency","telegram-bot","trading","trading-bot"],"latest_commit_sha":null,"homepage":"https://t.me/KiTraderBot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Carleslc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-02-23T06:48:36.000Z","updated_at":"2024-12-18T07:01:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"d39c371b-6f33-43ae-92bf-c96209021afd","html_url":"https://github.com/Carleslc/KiTraderBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Carleslc/KiTraderBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Carleslc%2FKiTraderBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Carleslc%2FKiTraderBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Carleslc%2FKiTraderBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Carleslc%2FKiTraderBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Carleslc","download_url":"https://codeload.github.com/Carleslc/KiTraderBot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Carleslc%2FKiTraderBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28810474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["binance","bitcoin","bitstamp","cryptocurrency","telegram-bot","trading","trading-bot"],"created_at":"2024-10-13T22:50:21.224Z","updated_at":"2026-01-27T09:15:52.599Z","avatar_url":"https://github.com/Carleslc.png","language":"Python","funding_links":["https://ko-fi.com/carleslc"],"categories":[],"sub_categories":[],"readme":"# KiTraderBot\nTrading bot simulator for Telegram. Supports Bitstamp \u0026 Binance APIs.\n\n[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/carleslc)\n\n## Commands\n\n```\n/start - Shows this message\n/ping - Test connection with trading API\n/list - Show the available symbols\n/price symbol - Current price for provided symbol\n/account [KiTrader, Carleslc] - View your account or the bot account\n/newAccount [balance] [currency] - Creates an account for trading\n/deleteAccount - Deletes your trading account\n/history [KiTrader, Carleslc] - View your trades or the bot trades\n/trade [BUY, SELL] amount symbol [comment] - Order a trade for your account\n/tradeAll [BUY, SELL] symbol [comment] - Order a trade for your account with maximum available amount\n/subscribe - Receive updates from the KiTrader auto-trading account\n/update - Forces an update of the KiTrader auto-trading subscription\n/unsubscribe - Stop receiving updates from the KiTrader auto-trading account\n```\n\n## Install\n\n#### Dependencies\n\nhttps://python-telegram-bot.org/\n\n```bash\npython3 -m pip install -r dependencies.txt\n```\n\n#### Telegram\n\nCreate your bot and get an Access Token with https://core.telegram.org/bots#6-botfather\n\nCreate a new folder **`tokens`**\n\nCreate a new file **`tokens/telegram`** and paste your bot token there.\n\n#### Bitstamp\n\nGet API key and secret from https://www.bitstamp.net/account/security/api/\n\n**`tokens/bitstamp`**\n\n**`tokens/bitstamp_secret`**\n\n#### Binance\n\nChange `import bitstamp as trading` to `import binance as trading` in `bot.py` and `account.py`.\n\nGet API key and secret from https://www.binance.com/en/usercenter/settings/api-management\n\n**`tokens/binance`**\n\n**`tokens/binance_secret`**\n\n#### Allow users to subscription / trading\n\nCreate a file **`users`** and enter each user in a new line for granting permissions.\n\n#### Read alerts from Gmail\n\nThis bot can read alerts from email and put buy/sell orders in a simulated account for testing strategies.\n\nUpdate `gmail.py` constants to identify alerts.\n\nRead header and use `oauth2.py` to get your token credentials.\n\n**`tokens/gmail_at`** your email address\n\n**`tokens/gmail`** token credentials\n\n### Deploy\n\n#### Run\n\n```bash\npython3 bot.py\n```\n\n#### Docker\n\n```bash\ndocker build -t kitraderbot .\ndocker-compose up -d\n\n# Update (after build)\ndocker-compose restart kitraderbot\n\n# Update (single line rebuild)\ndocker-compose up --build --force-recreate --no-deps -d kitraderbot\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarleslc%2Fkitraderbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarleslc%2Fkitraderbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarleslc%2Fkitraderbot/lists"}