Bitstamp API クライアント更新

· コンポーネント

Bitstamp API クライアントが更新され、新機能と API エンドポイントが追加されました。実装された主な機能の一覧を以下に示します:

REST API

REST API パブリックメソッド

ティッカー


板情報


取引履歴


市場情報



REST API プライベートメソッド

口座残高


注文


出金

WebSocket Private Subscriptions

SubscribeMyOrders送信した注文に関する更新を受け取ります。JSON データ:

PropertyDescription
idOrder ID.
id_strOrder ID represented in string format.
client_order_idClient order ID (if used when placing order).
amountOrder amount.
amount_strOrder amount represented in string format.
priceOrder price.
price_strOrder price represented in string format.
order_typeOrder type (0 - buy, 1 - sell).
datetimeOrder datetime.
microtimestampOrder action timestamp represented in microseconds.



SubscribeMyTrades取引に関する更新を受け取ります。JSON データ:

PropertyDescription
idTrade ID.
order_idOrder ID associated with the trade.
client_order_idClient order ID associated with the trade.
amountTrade amount.
priceTrade price.
feeTrade fee.
sideTrade side (buy or sell).
microtimestampTrade timestamp represented in microseconds.

Bitstamp Demo

以下に、Delphi 用 sgcWebSockets ライブラリでコンパイルされた Windows 向け Bitstamp デモを示します。