npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

binance-triangle-arbitrage

v5.2.1

Published

<p align="center"> <img src="https://github.com/bmino/binance-triangle-arbitrage/blob/master/src/resources/mainDisplay.png"> </p>

Readme

Binance Triangle Arbitrage

This app monitors the Binance cryptocurrency exchange in search of triangle arbitrage opportunities.

The HUD

The HUD is the chart displayed above. It is repainted after each calculation cycle to show snapshots of currently detected arbitrage opportunities. To disable the HUD, set HUD.ENABLED to false.

Reading the HUD

  • Trade - Three symbols related by exchange rates that are involved in the triangle arbitrage.
  • Profit - Percent profit or loss from executing the triangle arbitrage. This includes trading fees specified via TRADING.TAKER_FEE config.
  • AB Age - Time in seconds since the most recent update of the market ticker relating the first and second symbols in the arbitrage.
  • BC Age - Time in seconds since the most recent update of the market ticker relating the second and third symbols in the arbitrage.
  • CA Age - Time in seconds since the most recent update of the market ticker relating the third and first symbols in the arbitrage.
  • Age - Time in seconds since the least recently updated market ticker involved in the triangle arbitrage.

Getting Started

These instructions will get a copy of the project up and running on your local machine for development and testing purposes.

Install Prerequisites

The following dependencies are recommended to run an instance:

  1. NodeJS - 11.10.0
  2. Npm - 6.10.0

Obtain the Codebase

  • Clone from github
    git clone https://github.com/bmino/binance-triangle-arbitrage.git
  • Download a zip of the latest release

Configuration

All configuration is done inside the /config directory. To setup your configuration for the first time, duplicate the config.json.example file and remove the ".example" extension. This process must be done before deploying the app for the first time and redone after each major version update where the configuration has changed. Explanations of each value can be found here.

Assumptions

  1. All fees are paid via BNB balance
  2. Sufficient quantity of BNB is maintained during the runtime of the bot

Deployment

  1. Install project dependencies

    cd binance-triangle-arbitrage
    npm install
  2. Start the application

    npm start

Execution strategies

There are two supported methods of executing an identified triangle arbitrage opportunity. More details here

  • Linear - Three trades are executed sequentially with each being initiated after the previous has completed
  • Parallel - Three trades are executed asynchronously with each being initiated at the same time

Logging

All logs are stored in the /logs directory. The log level is set via the LOG.LEVEL configuration property.

  • performance.log - Data about performance and speed
  • execution.log - Market interactions and profits

Authors

See also the list of contributors who participated in this project.

Donations

The developers listed above created and currently maintain this project for free. I don't expect any compensation nor donations, but if you appreciate my work feel free to donate to the following addresses:

  • Bitcoin (BTC): 1KLBb9qzFN19RxaQwD35CQmnYZvW1819XZ
  • Binance Coin (BNB): 0xb046b6991eb1bdc838cae567cff838b542e9f19d

License

This project is licensed under mit