mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-18 03:43:00 +00:00
docs
This commit is contained in:
@@ -3,6 +3,14 @@ title: Common interfaces
|
||||
nav_order: 5
|
||||
---
|
||||
|
||||
Clients have a common interface implementation to allow a shared code base to use the same functionality for different exchanges. The interface is implemented at the `API` level, for example:
|
||||
```csharp
|
||||
var binanceClient = new BinanceClient();
|
||||
ISpotClient spotClient = binanceClient.SpotApi.CommonSpotClient;
|
||||
IFuturesClient futuresClient = binanceClient.UsdFuturesApi.CommonFuturesClient;
|
||||
|
||||
```
|
||||
|
||||
## ISpotClient
|
||||
TODO
|
||||
|
||||
|
||||
Reference in New Issue
Block a user