Skip to content

Commit f0f9b20

Browse files
authored
update readme and tests (#750)
- with new exchanges added during this cycle
1 parent f22271c commit f0f9b20

File tree

2 files changed

+36
-27
lines changed

2 files changed

+36
-27
lines changed

README.md

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -22,51 +22,56 @@ Feel free to visit the discord channel at https://discord.gg/58ktxXuTVK and chat
2222
### Exchanges
2323

2424
The following cryptocurrency exchanges are supported:
25-
(Web socket key: T = tickers, R = trades, B = order book, O = private orders, U = user data)
25+
(Web socket key: T = tickers, R = trades, B = orderbook / delta orderbook, O = private orders, U = user data)
2626

2727
| Exchange Name | Public REST | Private REST | Web Socket | Notes |
2828
| -------------- | ----------- | ------------ | ---------- | ---------------------------------------- |
29+
| ApolloX | x | x | T R B O U |
2930
| Aquanow | wip | x | |
30-
| Binance | x | x | T R B U |
31-
| Binance Jersey | x | x | T R B U |
32-
| Binance.US | x | x | T R B U |
33-
| Binance DEX | | | R |
31+
| Binance | x | x | T R B O U |
32+
| Binance Jersey | x | x | T R B O U | Ceased operations
33+
| Binance.US | x | x | T R B O U |
34+
| Binance DEX | | | R |
3435
| Bitbank | x | x | |
35-
| Bitfinex | x | x | T R O |
36-
| Bithumb | x | | |
37-
| BitMEX | x | x | R O |
38-
| Bitstamp | x | x | R |
36+
| Bitfinex | x | x | T R O |
37+
| Bitflyer | | | R |
38+
| Bithumb | x | | R |
39+
| BitMEX | x | x | R O |
40+
| Bitstamp | x | x | R |
3941
| Bittrex | x | x | T R |
40-
| BL3P | x | x | R B | Trades stream does not send trade's ids. |
42+
| BL3P | x | x | R B | Trades stream does not send trade's ids. |
4143
| Bleutrade | x | x | |
4244
| BTSE | x | x | |
43-
| Bybit | x | x | R | Has public method for Websocket Positions
44-
| Coinbase | x | x | T R U |
45+
| Bybit | x | x | R | Has public method for Websocket Positions
46+
| Coinbase | x | x | T R O U |
4547
| Coinmate | x | x | |
46-
| Digifinex | x | x | R B |
47-
| FTX | x | x | T |
48-
| gate.io | x | x | |
48+
| Crypto.com | | | R |
49+
| Digifinex | x | x | R B |
50+
| Dydx | | | R |
51+
| FTX | x | x | T R |
52+
| FTX.us | x | x | T R |
53+
| gate.io | x | x | R |
4954
| Gemini | x | x | T R B |
50-
| HitBTC | x | x | R |
51-
| Huobi | x | x | R B |
52-
| Kraken | x | x | R | Dark order symbols not supported |
55+
| HitBTC | x | x | R |
56+
| Huobi | x | x | R B |
57+
| Kraken | x | x | R | Dark order symbols not supported |
5358
| KuCoin | x | x | T R |
54-
| LBank | x | x | |
59+
| LBank | x | x | R |
5560
| Livecoin | x | x | |
5661
| NDAX | x | x | T R |
57-
| OKCoin | x | x | R B |
62+
| OKCoin | x | x | R B |
5863
| OKEx | x | x | T R B O |
5964
| Poloniex | x | x | T R B |
6065
| YoBit | x | x | |
61-
| ZB.com | wip | | R |
66+
| ZB.com | wip | | R |
6267

6368
The following cryptocurrency services are supported:
6469

6570
- Cryptowatch (partial)
6671

6772
Exchange constructors are private, to get access to an exchange in code use:
6873

69-
`ExchangeAPI.GetExchangeAPIAsync`.
74+
`ExchangeAPI.GetExchangeAPIAsync<>()`.
7075

7176
### Installing the CLI
7277

tests/ExchangeSharpTests/ExchangeTests.cs

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,15 @@ public async Task GlobalSymbolTest()
9898
{
9999
try
100100
{
101-
if (api is ExchangeUfoDexAPI || api is ExchangeOKExAPI || api is ExchangeHitBTCAPI || api is ExchangeKuCoinAPI ||
102-
api is ExchangeOKCoinAPI || api is ExchangeDigifinexAPI || api is ExchangeNDAXAPI || api is ExchangeBL3PAPI ||
103-
api is ExchangeBinanceUSAPI || api is ExchangeBinanceJerseyAPI || api is ExchangeBinanceDEXAPI ||
101+
if (api is ExchangeUfoDexAPI || api is ExchangeOKExAPI || api is ExchangeHitBTCAPI ||
102+
api is ExchangeKuCoinAPI || api is ExchangeOKCoinAPI || api is ExchangeDigifinexAPI ||
103+
api is ExchangeNDAXAPI || api is ExchangeBL3PAPI || api is ExchangeBinanceUSAPI ||
104+
api is ExchangeBinanceJerseyAPI || api is ExchangeBinanceDEXAPI || api is ExchangeBinanceAPI ||
104105
api is ExchangeBitMEXAPI || api is ExchangeBTSEAPI || api is ExchangeBybitAPI ||
105106
api is ExchangeAquanowAPI || api is ExchangeBitfinexAPI || api is ExchangeBittrexAPI ||
106-
api is ExchangeFTXAPI || api is ExchangeFTXUSAPI || api is ExchangeGateIoAPI || api is ExchangeCoinmateAPI)
107+
api is ExchangeFTXAPI || api is ExchangeFTXUSAPI || api is ExchangeGateIoAPI ||
108+
api is ExchangeCoinmateAPI || api is ExchangeBitflyerApi || api is ExchangeDydxApi ||
109+
api is ExchangeCryptoComApi || api is ExchangeApolloXApi)
107110
{
108111
// WIP
109112
continue;
@@ -160,6 +163,7 @@ public async Task TradesWebsocketTest()
160163
|| api is ExchangeBinanceJerseyAPI // ceased operations
161164
|| api is ExchangeBittrexAPI // uses SignalR
162165
|| api is ExchangeBL3PAPI // volume too low
166+
|| api is ExchangeFTXUSAPI // volume too low. rely on FTX test
163167
|| api is ExchangeLivecoinAPI // defunct
164168
|| api is ExchangeOKCoinAPI // volume appears to be too low
165169
|| api is ExchangeNDAXAPI // volume too low for automated testing
@@ -177,7 +181,7 @@ public async Task TradesWebsocketTest()
177181
&& !(s.ToUpper().Contains("TBTC") || s.ToUpper().Contains("WBTC")
178182
|| s.ToUpper().Contains("NHBTC") || s.ToUpper().Contains("BTC3L")
179183
|| s.ToUpper().Contains("USDC") || s.ToUpper().Contains("SUSD")
180-
|| s.ToUpper().Contains("BTC-TUSD")))
184+
|| s.ToUpper().Contains("BTC-TUSD") || s.ToUpper().Contains("RENBTC_USDT")))
181185
.FirstOrDefault();
182186
if (testSymbol == null) testSymbol = marketSymbols.First();
183187
bool thisExchangePassed = false;

0 commit comments

Comments
 (0)