Bitstamp.Net AI API Map

June 29, 2026 ยท View on GitHub

This map helps AI assistants route common user intents to the actual Bitstamp.Net methods.

Client Roots

NeedUse
REST clientnew BitstampRestClient(...)
Socket clientnew BitstampSocketClient(...)
Public market datarestClient.ExchangeApi.ExchangeData
Authenticated account datarestClient.ExchangeApi.Account
Orders and positionsrestClient.ExchangeApi.Trading
Websocket subscriptionssocketClient.ExchangeApi
Shared REST abstractionrestClient.ExchangeApi.SharedClient
Shared socket abstractionsocketClient.ExchangeApi.SharedClient
Discover shared capabilitiesclient.ExchangeApi.SharedClient.Discover()

Market Data

IntentMethod
SymbolsExchangeData.GetSymbolsAsync()
AssetsExchangeData.GetAssetsAsync()
All tickersExchangeData.GetAllTickersAsync()
TickerExchangeData.GetTickerAsync(symbol)
Hour tickerExchangeData.GetHourTickerAsync(symbol)
CandlesExchangeData.GetKlinesAsync(symbol, KlineInterval.OneMinute, ...)
Order bookExchangeData.GetOrderBookAsync(symbol)
Recent tradesExchangeData.GetTradesAsync(symbol, ...)
EUR/USD conversionExchangeData.GetEurUsdConversionRateAsync()
Funding rateExchangeData.GetFundingRateAsync(symbol)
Funding historyExchangeData.GetFundingRateHistoryAsync(symbol, ...)
Margin tiersExchangeData.GetMarginTiersAsync()
Collateral assetsExchangeData.GetCollateralAssetsAsync()

Account

IntentMethod
All balancesAccount.GetAccountBalancesAsync()
Asset balanceAccount.GetAccountBalanceAsync(asset)
Withdrawal feesAccount.GetWithdrawFeesAsync(...)
Trading feesAccount.GetFeesAsync(symbol)
All trading feesAccount.GetAllFeesAsync()
User transactionsAccount.GetUserTransactionsAsync(...)
Tradable user marketsAccount.GetSymbolsAsync()
Max order quantityAccount.GetMaxTradeQuantityAsync(...)
WithdrawalsAccount.GetWithdrawalsAsync(...)
Crypto withdrawalAccount.WithdrawCryptoAsync(...)
Fiat withdrawalAccount.WithdrawFiatAsync(...)
Deposit addressAccount.GetDepositAddressAsync(asset, network)
Crypto transactionsAccount.GetCryptoTransactionsAsync(...)
DepositsAccount.GetDepositsAsync(...)
Margin infoAccount.GetMarginInfoAsync()
Leverage settingsAccount.GetLeverageSettingsAsync(...)
Set leverageAccount.SetLeverageAsync(...)

Trading

IntentMethod
Place limit orderTrading.PlaceLimitOrderAsync(...)
Place market orderTrading.PlaceMarketOrderAsync(...)
Cancel one orderTrading.CancelOrderAsync(orderId: ...) or Trading.CancelOrderAsync(clientOrderId: ...)
Cancel all ordersTrading.CancelAllOrdersAsync()
Cancel symbol ordersTrading.CancelAllOrdersAsync(symbol)
Get orderTrading.GetOrderAsync(...)
Replace orderTrading.ReplaceOrderAsync(...)
Open ordersTrading.GetOpenOrdersAsync(...)
Order historyTrading.GetOrderHistoryAsync(OrderSource.Orderbook, symbol, ...)
Derivatives user tradesTrading.GetDerivativesUserTradesAsync(...)
Open positionsTrading.GetOpenPositionsAsync(...)
Position statusTrading.GetPositionStatusAsync(positionId)
Position historyTrading.GetPositionHistoryAsync(...)
Close positionsTrading.ClosePositionsAsync(...)
Update collateralTrading.UpdatePositionCollateralAsync(...)

Sockets

IntentMethod
TradesSubscribeToTradeUpdatesAsync(symbol, ...)
Full/diff order bookSubscribeToFullOrderBookUpdatesAsync(symbol, ...)
Order book snapshotsSubscribeToOrderBookSnapshotUpdatesAsync(symbol, ...)
Funding rateSubscribeToFundingRateUpdatesAsync(symbol, ...)
Private order updatesSubscribeToOrderUpdatesAsync(symbol, ...)
Private user trade updatesSubscribeToUserTradeUpdatesAsync(symbol, ...)

Shared APIs

Use SharedApis for exchange-agnostic code across Bitstamp.Net and other CryptoExchange.Net exchange libraries.

IntentPattern
Shared REST clientnew BitstampRestClient().ExchangeApi.SharedClient
Shared socket clientnew BitstampSocketClient().ExchangeApi.SharedClient
Discover shared capabilitiesclient.ExchangeApi.SharedClient.Discover()
Shared spot symbolsISpotSymbolRestClient.GetSpotSymbolsAsync(new GetSymbolsRequest())
Shared spot tickerISpotTickerRestClient.GetSpotTickerAsync(new GetTickerRequest(symbol))
Shared futures symbolsIFuturesSymbolRestClient.GetFuturesSymbolsAsync(new GetSymbolsRequest())
Shared order book socketIOrderBookSocketClient.SubscribeToOrderBookUpdatesAsync(...)

Shared REST calls return HttpResult<T> / HttpResult. Shared socket subscriptions return WebSocketResult<UpdateSubscription>. Shared non-I/O symbol/cache helpers such as symbol support checks return ExchangeCallResult<T>.

For shared socket subscriptions, keep the concrete socket client and unsubscribe with await socketClient.UnsubscribeAsync(subscription.Data).

Result Handling

SituationPattern
REST success checkif (!result.Success) { Console.WriteLine(result.Error); return; }
Socket subscription success checkWebSocketResult<UpdateSubscription> sub = await ...; if (!sub.Success) { Console.WriteLine(sub.Error); return; }
Read REST dataRead result.Data only after result.Success
Shared helper dataRead ExchangeCallResult<T>.Data only after result.Success

Avoid / Replace

AvoidUse
SpotApiExchangeApi
UsdFuturesApiExchangeApi
FuturesApiV2ExchangeApi
SpotApiV3ExchangeApi
BinPeriod.OneMinuteKlineInterval.OneMinute
GetBalancesAsyncGetAccountBalancesAsync
ETHUSDT, ETH_USDT, ETH-USDT, tETHUSDBitstamp-native symbols such as ETH/USD
BitstampCredentials(key, secret, passphrase)BitstampCredentials(key, secret)