Connectors/Bitexbook/README.md
This directory contains the source code of the Bitexbook connector for the StockSharp trading platform. The connector implements the BitexbookMessageAdapter which enables communication with the Bitexbook cryptocurrency exchange via HTTP REST and WebSocket APIs.
The project demonstrates how to integrate StockSharp with Bitexbook in order to obtain market data and perform trading operations. You can use the implementation as a reference when creating your own connectors or include it directly in your applications.
SecurityId and Bitexbook symbols.Below is a simplified example of how the connector can be used within a StockSharp Connector instance.
var adapter = new BitexbookMessageAdapter(new IncrementalIdGenerator())
{
Key = "YourApiKey".ToSecureString(),
Secret = "YourSecret".ToSecureString(),
BalanceCheckInterval = TimeSpan.FromMinutes(1)
};
var connector = new Connector
{
Adapter = adapter
};
connector.Connect();
Once connected you can subscribe to market data or register/cancel orders via the standard StockSharp API.
Detailed instructions for creating custom connectors and using StockSharp can be found in the official documentation.