The BinanceClient
is the main entry point for accessing the Binance Official API. It takes in a ClientConfiguration
as documented below, or your own configured IAPIProcessor
, however if not provided it will stand up it's own instance.
BinanceClient(ClientConfiguration configuration, IAPIProcessor apiProcessor = null)
ApiKey: string
- Your API KeySecretKey: string
- Your Secret KeyEnableRateLimiting: bool
- Whether you want RateLimiting enabled (false by default)Logger: ILog
- Your own version of thelog4net.ILog
interfaceCacheTime: TimeSpan
- The time that cache entries should expire
The BinanceWebSocketClient
is much more lightweight than the BinanceClient
, however it needs an instance of the BinanceClient
for use in various WebSocket calls.
BinanceWebSocketClient(IBinanceClient, ILogger = null)