Reference to last_match message

Hello,

Question 1> May you please give me the link where I can find the reference to last_match message?

Question 2> Is it true that last_match message just conveys the last trade after a client just subscribes to the channel?

Thank you

{"type": "subscribe", "product_ids":["BTC-USD"], "channels":["matches", "heartbeat", "level2"]}

{"type":"last_match","trade_id":351413956,"maker_order_id":"40b177f2-d699-4bf3-9ebc-65880917c686","taker_order_id":"f183e450-3722-4ffd-b225-b4943131814a","side":"sell","size":"0.0001476","price":"30142.71","product_id":"BTC-USD","sequence":38584895103,"time":"2022-06-09T14:01:00.391584Z"}

{"type":"subscriptions","channels":[{"name":"level2","product_ids":["BTC-USD"]},{"name":"matches","product_ids":["BTC-USD"]},{"name":"heartbeat","product_ids":["BTC-USD"]}]}

Hello @q0987 ! Thank you for taking an interest in trying out Coinbase APIs. For the details regarding your concern, we will check on this for you with our team. We will get back to you once we have more information. Keep in touch!

Hi @q0987, we’ve just got the information from our team. Regarding our documentation, we cannot find a reference for last_match that you can look into. However, we can confirm that the last_match parameter is only shown after initial subscription to the channel and that it shows the most recent match in the channel.

We hope this helps. Thanks.

3 Likes

Jonathan,
Would you please ask the team to add documentation for last_match? Coinbase needs to document all messages that it sends to the client. At the very least indicating which channel it is associated with.

Hi @chris-pattern ! Thank you so much for your continued support with the Coinbase APIs. We are currently in the process of updating our documentation and so for the meantime, we recommend that you post this in the Feedback Section of the Forum as most new features and improvements to Coinbase come directly from feedback like yours, so it’s very valuable to us.

1 Like

Hi @chris-pattern! We would like to inform you that last_match has now been added to the docs site: Channels.

Thank you!

2 Likes

Great thanks for the help.

1 Like