パッケージへ戻る
NuGet パッケージ
StockSharp.Bitalong
S#.Bitalong
パッケージ詳細は公開されています。パッケージのダウンロードには StockSharp アクセスが必要です。
インストール
dotnet add package StockSharp.Bitalong --version 5.0.190
README
Bitalong Connector
This directory contains the source code for the Bitalong connector used by the StockSharp trading platform. The connector implements an AsyncMessageAdapter which provides access to market data and trading operations on the Bitalong cryptocurrency exchange.
Features
- Connection via REST/WebSocket using the
BitalongMessageAdapterclass. - Level1, tick, and order book market data subscriptions.
- Order management (new, cancel, cancel all) and withdrawal requests.
- Portfolio and balance updates with configurable check interval.
- Automatic conversion between StockSharp data types and Bitalong REST API types located in the
Nativesubfolder.
Configuration
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. |
Using in code
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.
Folder structure
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.
リリースノート
Clarify Hydra analytics usage Merge branch 'master' of https://github.com/StockSharp/stocksharp Remove license references from READMEs Add Bitalong connector README
依存関係
net6.0
-
Ecng.Net.SocketIO
[1.0.421, ) -
StockSharp.Media.Names
[5.0.1, ) -
StockSharp.Messages
[5.0.217, )