StockSharp.BitStamp
5.0.191
Prefix Reserved
See the version list below for details.
dotnet add package StockSharp.BitStamp --version 5.0.191
NuGet\Install-Package StockSharp.BitStamp -Version 5.0.191
<PackageReference Include="StockSharp.BitStamp" Version="5.0.191" />
<PackageVersion Include="StockSharp.BitStamp" Version="5.0.191" />
<PackageReference Include="StockSharp.BitStamp" />
paket add StockSharp.BitStamp --version 5.0.191
#r "nuget: StockSharp.BitStamp, 5.0.191"
#:package StockSharp.BitStamp@5.0.191
#addin nuget:?package=StockSharp.BitStamp&version=5.0.191
#tool nuget:?package=StockSharp.BitStamp&version=5.0.191
BitStamp Connector
This project implements a StockSharp (S#) message adapter for the Bitstamp cryptocurrency exchange. It allows S# based applications to receive real-time market data and to manage trading operations through Bitstamp's REST and WebSocket APIs.
Features
- Market data via WebSocket: real-time trades, order books and order log updates.
- Historical data: OHLC candles and recent trades through HTTP requests.
- Trading operations: place market/limit/stop orders, cancel single orders or all active orders, and perform crypto or bank wire withdrawals.
- Portfolio information: query balances and commissions, with a configurable balance check interval.
- Security lookup: request the list of available trading pairs with detailed parameters.
- Supported data types: ticks, market depth, order log and time frame candles.
Configuration
BitStampMessageAdapter requires API credentials for private requests:
Key– your Bitstamp API key.Secret– the corresponding secret key.BalanceCheckInterval– optional interval for automatic balance refresh (useful when deposits or withdrawals occur).
Usage Example
var connector = new Connector();
var adapter = new BitStampMessageAdapter(connector.TransactionIdGenerator)
{
Key = "your_api_key".ToSecureString(),
Secret = "your_secret".ToSecureString(),
BalanceCheckInterval = TimeSpan.FromMinutes(1)
};
connector.Adapter.InnerAdapters.Add(adapter);
connector.Connect();
After connecting you can subscribe to market data:
var btcUsd = new SecurityId { SecurityCode = "BTC/USD", BoardCode = BoardCodes.BitStamp };
connector.SubscribeMarketData(new MarketDataMessage
{
SecurityId = btcUsd,
DataType2 = DataType.Ticks,
IsSubscribe = true
});
Trading operations are performed by sending OrderRegisterMessage and OrderCancelMessage objects.
For more information about StockSharp connectors see the documentation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net6.0
- Ecng.Net.SocketIO (>= 1.0.428)
- StockSharp.Media.Names (>= 5.0.1)
- StockSharp.Messages (>= 5.0.220)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.193 | 0 | 8/22/2026 |
| 5.0.192 | 0 | 8/22/2026 |
| 5.0.191 | 0 | 8/22/2026 |
| 5.0.190 | 0 | 8/22/2026 |
| 5.0.189 | 0 | 8/22/2026 |
| 5.0.188 | 0 | 8/22/2026 |
| 5.0.187 | 0 | 8/22/2026 |
| 5.0.186 | 0 | 8/22/2026 |
| 5.0.185 | 0 | 8/22/2026 |
| 5.0.184 | 0 | 8/22/2026 |
| 5.0.183 | 0 | 8/22/2026 |
| 5.0.182 | 0 | 8/22/2026 |
| 5.0.181 | 0 | 8/22/2026 |
| 5.0.180 | 0 | 8/22/2026 |
| 5.0.179 | 0 | 8/22/2026 |
| 5.0.178 | 0 | 8/22/2026 |
| 5.0.177 | 0 | 8/22/2026 |
| 5.0.176 | 0 | 8/22/2026 |
| 5.0.175 | 0 | 8/22/2026 |
| 5.0.174 | 0 | 8/22/2026 |