{"id":16963911,"url":"https://github.com/jakesee/binance-trader","last_synced_at":"2026-02-06T08:36:56.478Z","repository":{"id":71311447,"uuid":"119258241","full_name":"jakesee/binance-trader","owner":"jakesee","description":null,"archived":false,"fork":false,"pushed_at":"2019-05-20T17:14:34.000Z","size":506,"stargazers_count":10,"open_issues_count":3,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-02T22:03:58.200Z","etag":null,"topics":["binance","bot","cryptocurrency","trade"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jakesee.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,"zenodo":null}},"created_at":"2018-01-28T12:57:02.000Z","updated_at":"2022-11-23T21:39:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"b03cfb10-de29-4222-876a-a72656b7354a","html_url":"https://github.com/jakesee/binance-trader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jakesee/binance-trader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakesee%2Fbinance-trader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakesee%2Fbinance-trader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakesee%2Fbinance-trader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakesee%2Fbinance-trader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakesee","download_url":"https://codeload.github.com/jakesee/binance-trader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakesee%2Fbinance-trader/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267944975,"owners_count":24170214,"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-07-30T02:00:09.044Z","response_time":70,"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":["binance","bot","cryptocurrency","trade"],"created_at":"2024-10-13T23:26:32.940Z","updated_at":"2026-02-06T08:36:51.457Z","avatar_url":"https://github.com/jakesee.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# binance-trader\nThis is a trading bot that triggers buy and sell orders based on price and technical indicator triggers set by the user.\n\n_While the author(s) of this trading bot is using this application to automate trades, this application will not guarantee profits. Please use this application at your own risk._\n\n# Crypto Exchange\nCurrently only Binance is supported.\n\n# Installation\n## Core Requirements\n* NodeJS\n* TypeScript\n* npm\n\n## Production\nThis application is designed to run on heroku.\n\n* Set up environment variables on Heroku\n * audit - values allowed: \"trace\", \"debug\", \"warn\", \"info\"\n * key - the Binance API key\n * secret - the Binance API secret key\n * NODE_ENV - \"heroku\"\n* Then simply push to Heroku and it should automatically run npm install.\n\n## Development or running locally\nInstead of environment variables, the values are defined in src/config/secret.json. Simply replace the values to your own.\nTo build, run: npm run build\n\n## Testing\nNo tests at the moment. (Yes, very bad. You are warned!)\n\n# Organisation\n* app.ts - entry point of application\n* binance.ts - provides exchange data and functionality\n* trader.ts - takes care of the act of trading by taking data from exchange and applying calculations to make trade decisions\n* symbol.ts - data structure to hold state and config of traded symbol\n* config/default.json - user settings for running the bot\n* configurator.ts - prepares the config for each symbol based on user settings\n\n# Configuration\n## Buying Strategies\n* single ema and price spread\n* ema slow and fast spread\n* macd\n* rsi\n* bollinger bands\n* dca\n\n## Selling Strategy\n* percentage gain\n\n# Dollar Cost Averaging (DCA)\nWhen in selling mode, and the price is falling, the bot can be set to buy more coins at each DCA percentage level to lower the overall costs. If user buys more coins manually, an event will be triggered to update the coin quantity and cost, and the next DCA price level will be calculated at the new cost.\n\n# Warning\nBot will sell everything in your bag that are not locked in any open orders.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakesee%2Fbinance-trader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakesee%2Fbinance-trader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakesee%2Fbinance-trader/lists"}