Connectors/Bitalong/README.md
This directory contains the source code for the Bitalong connector used by the StockSharp trading platform. The connector implements an MessageAdapter which provides access to market data and trading operations on the Bitalong cryptocurrency exchange.
BitalongMessageAdapter class.Native subfolder.BitalongMessageAdapter exposes several properties used to configure the connection:
| Property | Description |
|---|---|
| Key | API key issued by Bitalong. Required for trading operations. |
| Secret | API secret used to sign requests. |
| Address | Exchange domain name. Defaults to bitalong.com. |
| BalanceCheckInterval | Periodic account balance check interval. Useful when deposits or withdrawals occur. |
var adapter = new BitalongMessageAdapter(new IncrementalIdGenerator())
{
Key = "<api-key>".ToSecureString(),
Secret = "<api-secret>".ToSecureString(),
BalanceCheckInterval = TimeSpan.FromMinutes(5)
};
The adapter can then be registered in your Connector or passed directly to S# components that work with message adapters.
BitalongMessageAdapter*.cs – implementation split into settings, market data, and transaction logic.BitalongOrderCondition.cs – custom order condition for withdrawal operations.Native – lightweight wrappers for the exchange REST API including request helpers and model classes.