File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,10 @@ The following cryptocurrency services are supported:
5959
6060- Cryptowatch (partial)
6161
62+ Exchange constructors are private, to get access to an exchange in code use:
63+
64+ ` ExchangeAPI.GetExchangeAPI ` .
65+
6266### Installing the CLI
6367
6468On \* nix systems:
116120public static async Task Main (string [] args )
117121{
118122 // create a web socket connection to Binance. Note you can Dispose the socket anytime to shut it down.
119- using var api = new ExchangeBinanceAPI ();
123+ using var api = ExchangeAPI . GetExchangeAPI < ExchangeBinanceAPI > ();
120124 // the web socket will handle disconnects and attempt to re-connect automatically.
121125 using var socket = await api .GetTickersWebSocket (tickers =>
122126 {
You can’t perform that action at this time.
0 commit comments