{"id":19020831,"url":"https://github.com/maddeveloper/trading-bot","last_synced_at":"2025-08-01T16:40:26.240Z","repository":{"id":53248570,"uuid":"268265977","full_name":"MadDeveloper/trading-bot","owner":"MadDeveloper","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-07T05:16:04.000Z","size":325,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-02T00:27:56.834Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/MadDeveloper.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-05-31T11:28:39.000Z","updated_at":"2020-05-31T11:30:58.000Z","dependencies_parsed_at":"2023-01-23T15:45:10.790Z","dependency_job_id":null,"html_url":"https://github.com/MadDeveloper/trading-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MadDeveloper%2Ftrading-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MadDeveloper%2Ftrading-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MadDeveloper%2Ftrading-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MadDeveloper%2Ftrading-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MadDeveloper","download_url":"https://codeload.github.com/MadDeveloper/trading-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240065114,"owners_count":19742450,"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":[],"created_at":"2024-11-08T20:18:51.200Z","updated_at":"2025-02-21T18:23:14.793Z","avatar_url":"https://github.com/MadDeveloper.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Theddy the bot\n\n## Installation\n\n```bash\ngit clone https://gitlab.com/MadDeveloper/bot-warhead.git theddy\ncd theddy\nnpm install --global typescript lite-server\nnpm install\n```\n\nCreate your API keys on the platform (binance, gdax, etc.) and export them as environment vars.\nFor exemple, on Linux, add to your ~/.bashrc the following lines:\n\n```bash\nexport BINANCE_API_KEY=lorem\nexport BINANCE_API_SECRET=lorem\nexport BINANCE_API_PASSPHRASE=lorem\nexport GDAX_API_KEY=lorem\nexport GDAX_API_SECRET=lorem\nexport GDAX_API_PASSPHRASE=lorem\n```\n\n## Getting started\n\nYou can configure the bot with the config file, one file per market (for example: `config.binance.ts` for the Binance market).\nWhen you are ready, you can build and start the bot with one command:\n\n```bash\nnpm run build:start\n```\n\nOr one by step:\n\n```bash\nnpm run build \u0026\u0026 npm start\n````\n\nIf you want to see in realtime the chart:\n\n```bash\nnpm run chart\n```\n\nAnd then you can go to http://localhost:3000 and watch the magic happening!\n\n## Docker\n### Setup\n\n```bash\ntouch envfile\n```\n\nThen add the following lines to the envfile:\n\n```bash\nBINANCE_API_KEY=xxxxxx\nBINANCE_API_SECRET=xxxxx\nBINANCE_API_PASSPHRASE=xxxxx\nGDAX_API_KEY=xxxx\nGDAX_API_SECRET=xxxxx\nGDAX_API_PASSPHRASE=xxxxx\n```\n\n### Build\n\n```bash\ndocker build -t theddy .\n```\n\nor\n\n```bash\nnpm run docker:build\n```\n\n### Run\n\n```bash\ndocker run -it --env-file envfile -p 3000:3000 theddy\n```\n\nor\n\n```bash\nnpm run docker:run\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaddeveloper%2Ftrading-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaddeveloper%2Ftrading-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaddeveloper%2Ftrading-bot/lists"}