gdax-client | Rust client library for Coinbase Exchange | Cryptocurrency library
kandi X-RAY | gdax-client Summary
kandi X-RAY | gdax-client Summary
Rust client library for Coinbase Exchange (GDAX).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gdax-client
gdax-client Key Features
gdax-client Examples and Code Snippets
Community Discussions
Trending Discussions on gdax-client
QUESTION
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.
ANSWER
Answered 2018-Feb-22 at 23:11I came here with the very same question, but at least some states are described somewhere in their documentation:
received, pending, open, donehttps://docs.gdax.com/#order-lifecycle
Valid orders sent to the matching engine are confirmed immediately and are in the received state. If an order executes against another order immediately, the order is considered done. An order can execute in part or whole. Any part of the order not filled immediately, will be considered open. Orders will stay in the open state until canceled or subsequently filled by new orders. Orders that are no longer eligible for matching (filled or canceled) are in the done state.
Interestingly the above cited documentation doesn't mention the state pending. However pending is mentioned on other places of the documentation without further explanation. But one such place is the example response of a POST request for placing a new order, which happens very closely to the received state of the life cycle. They might have confused the names, or there might be a received and pending state. Without real world API responses or a statement from Coinbase it's pure speculation.
activehttps://docs.gdax.com/#place-a-new-order
Stop orders become active and wait to trigger based on the movement of the last trade price.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gdax-client
Rust is installed and managed by the rustup tool. Rust has a 6-week rapid release process and supports a great number of platforms, so there are many builds of Rust available at any time. Please refer rust-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page