Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Available GDAX Order Statuses and Meanings

Tags:

gdax-api

The GDAX API docs don't do a great job of enumerating the available statuses that an order can have. I see at least open, pending, active, done, and maybe settled[^1]. Has anyone determined a comprehensive list, and what each status means?

I've also tried looking at some of the libraries available, but the official clients are all weakly typed (Node, Ruby), and among the unofficial clients, the Java client uses strings, the Rust client uses strings, and the Haskell client does enumerate the types, but they're also undocumented.

[^1]: settled is probably its own field, actually.

like image 603
Max Avatar asked Jan 06 '18 21:01

Max


1 Answers

I had the same question back in November, and emailed Coinbase. Here is the response I (eventually) received:

-- quote --

I’ve requested a list of all order types be added to the docs. Meanwhile, off the type of my head:

  • Pending – Order received and not yet processed by the trading engine
  • Open – Limit order exists on the order book
  • Active – Stop order exists on the order book
  • Done – Order no longer resting on the order book (executed)
  • Rejected – Order couldn’t be placed as specified (e.g. Post only is true, but price was at a price that would execute immediately)
  • Cancelled – Order cancelled by user or by trading engine due to Self Trade Prevention

-- end quote --

As far as I can tell, they haven't actually updated the docs yet, and the "off the top of my head" isn't too confidence-inspiring, but at least it is a response from Coinbase :)

like image 113
Travis Kriplean Avatar answered Nov 06 '22 11:11

Travis Kriplean