{"id":13504345,"url":"https://github.com/bmino/binance-triangle-arbitrage","last_synced_at":"2026-01-27T06:31:27.951Z","repository":{"id":30004576,"uuid":"115759337","full_name":"bmino/binance-triangle-arbitrage","owner":"bmino","description":"Detect in-market cryptocurrency arbitrage","archived":false,"fork":false,"pushed_at":"2022-12-07T18:00:50.000Z","size":702,"stargazers_count":1158,"open_issues_count":19,"forks_count":358,"subscribers_count":71,"default_branch":"master","last_synced_at":"2025-09-11T00:33:24.392Z","etag":null,"topics":["arbitrage","arbitrage-bot","binance","binance-api","binance-crytpocurrency-exchange","crypto","cryptocurrency","javascript","nodejs","triangle-arbitrage"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bmino.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":"2017-12-29T22:49:52.000Z","updated_at":"2025-09-08T18:59:37.000Z","dependencies_parsed_at":"2023-01-14T16:05:38.863Z","dependency_job_id":null,"html_url":"https://github.com/bmino/binance-triangle-arbitrage","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"purl":"pkg:github/bmino/binance-triangle-arbitrage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmino%2Fbinance-triangle-arbitrage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmino%2Fbinance-triangle-arbitrage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmino%2Fbinance-triangle-arbitrage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmino%2Fbinance-triangle-arbitrage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmino","download_url":"https://codeload.github.com/bmino/binance-triangle-arbitrage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmino%2Fbinance-triangle-arbitrage/sbom","scorecard":{"id":245644,"data":{"date":"2025-08-11","repo":{"name":"github.com/bmino/binance-triangle-arbitrage","commit":"9051359ade276b40eefcaf08b17b06b31741d7a0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"10 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T07:34:52.034Z","repository_id":30004576,"created_at":"2025-08-17T07:34:52.034Z","updated_at":"2025-08-17T07:34:52.034Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28806292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T06:25:51.065Z","status":"ssl_error","status_checked_at":"2026-01-27T06:25:50.640Z","response_time":168,"last_error":"SSL_read: 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":["arbitrage","arbitrage-bot","binance","binance-api","binance-crytpocurrency-exchange","crypto","cryptocurrency","javascript","nodejs","triangle-arbitrage"],"created_at":"2024-08-01T00:00:32.712Z","updated_at":"2026-01-27T06:31:27.925Z","avatar_url":"https://github.com/bmino.png","language":"JavaScript","readme":"# Binance Triangle Arbitrage\n\n\u003cdiv style=\"text-align: center;\"\u003e\n    \u003cimg src=\"https://github.com/bmino/binance-triangle-arbitrage/blob/master/src/resources/mainDisplay.png\" alt=\"Main HUD display\"\u003e\n\u003c/div\u003e\n\nThis app monitors the [Binance](https://www.binance.com) cryptocurrency exchange in search of triangle arbitrage opportunities.\n\n## The HUD\nThe HUD is the chart displayed above. It is repainted after each calculation cycle to show snapshots of currently detected\narbitrage opportunities. To disable the HUD, set `HUD.ENABLED` to false.\n\n\n### Reading the HUD\n* **Trade** - Three symbols related by exchange rates that are involved in the triangle arbitrage.\n* **Profit** - Percent profit or loss from executing the triangle arbitrage. This includes trading fees specified via `EXECUTION.FEE` config.\n* **AB Age** - Time in milliseconds since the most recent update of the market ticker relating the first and second symbols in the arbitrage.\n* **BC Age** - Time in milliseconds since the most recent update of the market ticker relating the second and third symbols in the arbitrage.\n* **CA Age** - Time in milliseconds since the most recent update of the market ticker relating the third and first symbols in the arbitrage.\n* **Age** - Time in milliseconds since the least recently updated market ticker involved in the triangle arbitrage.\n\n\n## Getting Started\nThese instructions will get a copy of the project up and running on your local machine for development and testing purposes.\n\n\n### Install Prerequisites\nThe following dependencies are recommended to run an instance:\n\n1. **NodeJS** - 14.15.4\n2. **Npm** - 6.14.10\n\n\n### Obtain the Codebase\n* Clone from github\n    ```\n    git clone https://github.com/bmino/binance-triangle-arbitrage.git\n    ```\n* Download a zip of the [latest release](https://github.com/bmino/binance-triangle-arbitrage/releases/latest)\n\n\n### Configuration\nAll configuration is managed inside the `/config` directory.\nTo setup your configuration for the first time, duplicate the `config.json.example` file and remove the \".example\" extension.\nThis process must be done before deploying the app for the first time and redone after each major version update where the configuration has changed.\nExplanations of each value can be found [here](config/README.md).\n\n### Assumptions\n1. All fees are [paid via BNB balance](https://binance.zendesk.com/hc/en-us/articles/115000583311)\n2. Sufficient quantity of BNB is maintained during the runtime of the bot\n\n### Deployment\n1. Install project dependencies\n    ```\n    cd binance-triangle-arbitrage\n    npm install\n    ```\n\n2. Start the application\n    ```\n    npm start\n    ```\n\n\n## Execution Strategies\nThere are two supported methods of executing an identified triangle arbitrage opportunity.\nMore details [here](src/resources/docs/strategies.md)\n\n* **Linear** - Execute three trades sequentially with each being initiated after the previous has completed\n* **Parallel** - Execute three trades asynchronously with each being initiated at the same time\n\n\n## Logging\nAll logs are stored in the `/logs` directory. The log level is set via the `LOG.LEVEL` configuration property.\n\n* **performance.log** - Data about performance and speed\n* **execution.log** - Market interactions and profits\n* **binance.log** - Binance api logging\n\n\n## Authors\n* **[Brandon Mino](https://github.com/bmino)** - *Project Lead*\n\nSee also the list of [contributors](https://github.com/bmino/binance-triangle-arbitrage/contributors) who participated in this project.\n\n\n## Donations\nThe developers listed above created and maintain this project for free.\nI don't expect any compensation, but if you appreciate my work feel free to donate to the following addresses:\n\n* Ethereum (ERC20): 0xFd7b8597cF8eE5317439B0B5C55a111F6Eec449D\n\n## License\nThis project is licensed under mit\n\n","funding_links":[],"categories":["Uncategorized","JavaScript","Trading Bots and Bot Frameworks"],"sub_categories":["Uncategorized","Arbitrage"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmino%2Fbinance-triangle-arbitrage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmino%2Fbinance-triangle-arbitrage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmino%2Fbinance-triangle-arbitrage/lists"}