You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ExchangeSharp is a C# **framework/lib** and [console app](#Installing-the-CLI) for trading and communicating with [various](#Exchanges) exchange API end points for cryptocurrency assets. Many exchanges are supported, along with [web sockets](#Websockets), withdraws and more!
7
8
8
9
Feel free to visit the discord channel at https://discord.gg/sHCUHH3 and chat with other developers.
9
10
10
11
### Features
12
+
11
13
- Many exchanges supported with public, private and web socket API
12
14
- Easy to use and well documented code and API
13
15
- Optional global market symbol normalization, since each exchange has their own way of doing market symbols
@@ -16,56 +18,62 @@ Feel free to visit the discord channel at https://discord.gg/sHCUHH3 and chat wi
16
18
- Has a great [CLI](#Installing-the-CLI) that enables you to use all features from all exchanges right from your command line.
17
19
18
20
### Exchanges
21
+
19
22
The following cryptocurrency exchanges are supported:
20
23
(Web socket key: T = tickers, R = trades, B = order book, O = private orders)
21
24
22
-
|Exchange Name |Public REST|Private REST |Web Socket | Notes
| BL3P | x | x | R B | Trades stream does not send trade's ids. |
39
+
| Bleutrade | x | x ||
40
+
| BTSE | x | x ||
41
+
| Bybit | x | x | R | Has public method for Websocket Positions
42
+
| Coinbase | x | x | T R |
43
+
| Digifinex | x | x | R B |
44
+
| Gemini | x | x | R |
45
+
| HitBTC | x | x | R |
46
+
| Huobi | x | x | R B |
47
+
| Kraken | x | x | R | Dark order symbols not supported |
48
+
| KuCoin | x | x | T R |
49
+
| LBank | x | x ||
50
+
| Livecoin | x | x ||
51
+
| NDAX | x | x | T R |
52
+
| OKCoin | x | x | R B |
53
+
| OKEx | x | x | R B |
54
+
| Poloniex | x | x | T R B |
55
+
| YoBit | x | x ||
56
+
| ZB.com | wip || R |
53
57
54
58
The following cryptocurrency services are supported:
59
+
55
60
- Cryptowatch (partial)
56
61
57
62
### Installing the CLI
58
63
59
-
On *nix systems:
60
-
- Run this command `curl https://github.com/jjxtra/ExchangeSharp/raw/master/install-console.sh | sh`
64
+
On \*nix systems:
65
+
66
+
- Run this command `curl https://github.com/jjxtra/ExchangeSharp/raw/master/install-console.sh | sh`
61
67
62
68
On Windows (or manually):
63
-
- Download the [latest binaries](https://github.com/jjxtra/ExchangeSharp/releases/latest) for your OS.
64
-
- Unzip it into a folder that is in your environment variable `PATH` (`ctrl` + `shift` + `pause|break` -> Environment Variables)
65
-
- Use it from the your preferred command-line emulator (e.g. Powershell, cmd, etc.)
66
-
-`exchange-sharp --help` shows all available commands
69
+
70
+
- Download the [latest binaries](https://github.com/jjxtra/ExchangeSharp/releases/latest) for your OS.
71
+
- Unzip it into a folder that is in your environment variable `PATH` (`ctrl` + `shift` + `pause|break` -> Environment Variables)
72
+
- Use it from the your preferred command-line emulator (e.g. Powershell, cmd, etc.)
73
+
-`exchange-sharp --help` shows all available commands
67
74
68
75
### Notes
76
+
69
77
ExchangeSharp uses **`marketSymbol`** to refer to markets, or pairs of currencies.
70
78
71
79
Please send pull requests if you have made a change that you feel is worthwhile, want a bug fixed or want a new feature. You can also donate to get new features.
@@ -87,10 +95,12 @@ See [`WebSocket4NetClientWebSocket.cs`][websocket4net] for implementation detail
@@ -119,6 +129,7 @@ public static async Task Main(string[] args)
119
129
```
120
130
121
131
### Logging
132
+
122
133
ExchangeSharp uses NLog internally _currently_. To log, use `ExchangeSharp.Logger`.
123
134
124
135
Do **not** use `Console.WriteLine` to log messages in the lib project.
@@ -132,12 +143,15 @@ The `ExchageAPI` class provides a method caching mechanism. Use `MethodCachePoli
132
143
You can also set request cache policy if you want to tweak how the http caching behaves.
133
144
134
145
### How to contribute
146
+
135
147
Please read the [contributing guideline](CONTRIBUTING.md)**before** submitting a **pull request**.
136
148
137
149
### Consulting
150
+
138
151
I'm happy to make customizations to the software for you and keep in private repo, email [email protected].
139
152
140
153
### Donations Gratefully Accepted
154
+
141
155
Believe it or not, donations are quite rare. I've posted publicly the total donation amounts below. If ExchangeSharp has helped you in anyway, please consider donating.
142
156
143
157
[](https://en.cryptobadges.io/donate/1GBz8ithHvTqeRZxkmpHx5kQ9wBXuSH8AG)
@@ -149,13 +163,13 @@ Believe it or not, donations are quite rare. I've posted publicly the total dona
0 commit comments