Giter Club home page Giter Club logo

crypto-trade-router's Introduction

Crypto Trade Router

What is the crypto trade router?

Currently on exchanges you have to trade an alt coin against a base coin. For example, you can trade TRX against a base of BTC, or ETH.

The Problem:

What happens if you want to trade two alt coins against each other?

For example: What if you're holding trade coin A, big news comes out, and you want to quickly buy coin B instead? This is a scenario that happens frequently for crypto day traders.

Currently you would have to:

  1. Find what base coins coin A trades against
  2. Find what base coins coin B trades against
  3. Find a match, choose one of them to use
  4. Sell coin A for a base coin manually
  5. Buy coin B for a base Coin

This process is horribly inefficient for a number of reasons!

  1. Time: By the time you find a connection, sell a coin, and buy the next one, the prices may have changed. Especially if news came out.
  2. Efficiency: What if there are many possible base coins? For example, NEO and LTC both trade against BTC, ETH, BNB, and USDT. Each one has different prices and amounts you can trade! How do you determine the best route?

The Solution:

Crypto Trade Router attempts to solve these problems!

Crypto trade router:

  1. Allows you to select any alt coin
  2. Maps out any other alt coin it can be connected to
  3. If there are multiple baseCoins they can both trade against, uses smartRouting to choose the best route to trade (based on price and liquidity).

Using the trade router, you can choose from all base coins
Or select "smart routing" and let it choose the best one

Makes relevant information accessible at a glance:
Last price of both coins in USD and Base
Purchase and sale information for coins in Base and USD

Provides feedback on the routing and outcome

It's designed to optimize for time and price on every crypto trade!

Currently the router is in BETA testing and integrated with binance accounts.

How to Use:

Disclaimer: Router is still currently in open BETA testing, use at your own risk! Developer takes no responsibility for trading losses or any program issues.

  1. Clone the git repo locally
  2. Follow the instructions below to create the necessary local variables
  3. In terminal:
  • cd into root, run npm install
  • run npm run start
  1. Open a browser, navigate to localhost:4001
  2. Use the app

Local Variable Configuration:

  • Create a .env file in root
  • Inside the file, define the following variables in the format VAR=12345:
    • BINANCE_API_KEY
    • BINANCE_API_SECRET
    • PORT
    • SERVER_URL - Base url client uses to make server requests
    • CLIENT_SOCKET_ENDPOINT - Server socket endpoint
    • Optional: COINIGY_API_KEY, COINIGY_API_SECRET

Development:

Current Priorities:

  • Refactor / clean code
  • Add tests
  • Test algorithms and predictions, further refine
  • Create desktop app using electron

Support:

I always welcome any help from contributors and program feedback!

Going from beta to a reliable trading product will still take a lot of work and time, and may never happen without funding.

If you find this product useful and want to help fund development, or just want to say thanks, you can send crypto to the below addresses:

  • BTC: 122WesWDv4ugKtpdCB1sXfrK6oZW75YEFH
  • ETH: 0xe5978176d0ba192d9b4f45b57493b0493f149fe3

crypto-trade-router's People

Contributors

miketikh avatar

Stargazers

M Hasan avatar Hang avatar jagged avatar Greg Richardson avatar Robert Chung avatar Raphael Croce avatar Andres Canella avatar Gary Basin avatar

Watchers

James Cloos avatar Robert Chung avatar Greg Richardson avatar

Forkers

grungebob

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.