sthewissen / Mynt

An Azure Functions-based crypto currency trading bot; featuring 10 exchanges, 25 indicators, custom strategy support, backtester and more
BSD 3-Clause "New" or "Revised" License
237 stars 129 forks source link

Integrate Websockets #33

Open twixwix opened 6 years ago

twixwix commented 6 years ago

Exchanges have a limited request limit over API. Since Steven did a new branch called Rework, he is using now ExchangeSharp. This Nuget has several integrated Websockets from many Exchanges.

The following cryptocurrency exchanges are supported in ExchangeSharp: Binance (public REST, basic private REST, public web socket (tickers)) Bitfinex (public REST, basic private REST, public web socket (tickers), private web socket (orders)) Bithumb (public REST) Bitstamp (public REST, basic private REST) Bittrex (public REST, basic private REST, public web socket (tickers)) Gemini (public REST, basic private REST) GDAX (public REST, basic private REST, public web socket (tickers)) Kraken (public REST, basic private REST) Okex (basic public REST) Poloniex (public REST, basic private REST, public web socket (tickers))

If we could integrate in the Projekt that in each created IExchangeAPI the program should decide if it could use Websockets or only API. The Buy&Sell could be still in the API if it would be to much effort.

Result: There could be a lot more traffic and the bot could check Orders, trades, history and lot more more often.