kelvinau / crypto-arbitrage

Automatic Cryptocurrency Trading Bot using Triangular or Exchange Arbitrages
MIT License
713 stars 193 forks source link

How do you add more coin pairs for triangular arbitrage? #2

Open smartalx opened 6 years ago

smartalx commented 6 years ago

How do you add more coin pairs for triangular arbitrage? You have more than one example for exchange arbitrage but you only have one for triangular and it's in a different format.

kelvinau commented 6 years ago

There is only one example for each arbitrage. For exchange arbitrage, two exchanges (exchangeA & exchangeB) are required because of the nature of comparing price between the exchanges. The format of the tickerPair depends on the exchange API. For example, bittrex uses "BTC-ETH" and bitstamp uses "ethbtc". You will need to refer to the API documentation of the exchange.

Right now for triangular, it is only running for one triangular combination. I think it's a good idea to add the feature to be able to run for multiple.