Public trades
Trades executed on a symbol.
wss://ws.bit2me.com/v1/tradingpublic-tradesStreams every trade executed on a symbol. Any client can subscribe, without authenticating.
Subscribe
Subscribes the connection to public-trades. Send symbol with the market to subscribe to.
subscribeMarket to subscribe to.
^[A-Z0-9]+/[A-Z0-9]+$B2M/EURShow propertiesHide properties
public-tradesUpdate
Trades executed on a symbol.
A trade executed on a symbol.
public-tradesMarket symbol as BASE/QUOTE, uppercase. The list of valid symbols is GET /v2/trading/market-config.
^[A-Z0-9]+/[A-Z0-9]+$B2M/EURShow propertiesHide properties
buy spends the quote currency to get the base currency; sell does the opposite.
buy | sellPrice in the quote currency.
Amount in the base currency.
Execution time, in milliseconds since the Unix epoch.
Unsubscribe
Removes the public-trades subscription. Send the same symbol used to subscribe, if any.
Removes the public-trades subscription of the connection.
unsubscribeThe same symbol sent to subscribe, if any.
^[A-Z0-9]+/[A-Z0-9]+$B2M/EURShow propertiesHide properties
public-trades{ "event": "subscribe", "symbol": "B2M/EUR", "subscription": { "name": "public-trades" }}{ "event": "public-trades", "symbol": "B2M/EUR", "data": { "side": "buy", "price": 0.012, "amount": 100, "timestamp": 1673599321725 }}{ "event": "unsubscribe", "symbol": "B2M/EUR", "subscription": { "name": "public-trades" }}