SAND-USD product queries return empty data

Hello Coinbase Team,

Could you please check the WebSocket messages from wss://ws-feed.exchange.coinbase.com
for SAND-USD product:

{
"type": "subscribe",
"product_ids": [
   "SAND-USD"
 ],
"channels": ["ticker"]
}

I’m receiving only single message which contains only zeroes:

{
    "type": "ticker",
    "product_id": "SAND-USD",
    "price": "0",
    "open_24h": "0",
    "volume_24h": "0",
    "low_24h": "0",
    "high_24h": "0",
    "volume_30d": "0",
    "best_bid": "0.000",
    "best_ask": "0.000"
}

Similarly:

{
"type": "subscribe",
"product_ids": [
"SAND-USD"
],
"channels": ["full"]
}

returns only one message:

{
    "type": "subscriptions",
    "channels": [
        {
            "name": "full",
            "product_ids": [
                "SAND-USD"
            ]
        }
    ]
}

I’m expecting the flow of messages with the current prices.

That same with REST results:

curl --request GET --url https://api.exchange.coinbase.com/products/SAND-USD/ticker --header 'Accept: application/json' 
{"ask":"0","bid":"0","volume":"0","trade_id":null,"price":null,"size":null,"time":null}%

On https://www.coinbase.com/pl/price/the-sandbox i see that the SAND coin has considerable trading volume.

Best regards.
Przemek

Hello @premedian! Welcome to Developer Forum. Thank you for taking interest in using Coinbase APIs.

Upon trying to test the WebSocket messages, we see that we are already receiving the expected output. We can also confirm that your WebSocket messages are correct. We recommend you to test again and let us know if you are still receiving only single messages which contain only zeroes. Thank you!

Here is the sample response that we received from the WebSocket Feed.

{
    "type": "ticker",
    "sequence": 127562,
    "product_id": "SAND-USD",
    "price": "1.406",
    "open_24h": "1.499",
    "volume_24h": "653587.18000000",
    "low_24h": "1.389",
    "high_24h": "1.499",
    "volume_30d": "653587.18000000",
    "best_bid": "1.404",
    "best_ask": "1.406",
    "side": "buy",
    "time": "2022-05-26T18:04:30.393841Z",
    "trade_id": 2959,
    "last_size": "8.81"
}

And here is the sample response from GET Request to https://api.exchange.coinbase.com/products/SAND-USD/ticker

{
    "ask": "1.407",
    "bid": "1.405",
    "volume": "675298.34",
    "trade_id": 3219,
    "price": "1.407",
    "size": "0.56",
    "time": "2022-05-26T18:19:59.068070Z"
}
3 Likes

Hi,

Thank you for quick response.
Those endpoints REST and WS started to send ticker data.
Right now I don’t see any zeroes or nulls but for previous 2 days I had described issue.

Best Regards.

1 Like