[−][src]Module trade::api
A unified API for abstracting over various exchanges.
Re-exports
pub use self::gdax as coinbase_pro; |
Modules
binance |
Implementation of |
errors |
A module defining error types returned by |
gdax |
Implementation of |
hitbtc |
Implementation of |
order_book |
A module defining an helper data structure maintaining a live order book. |
symbol |
A module defining the |
timestamp |
A module defining helpers for working with timestamps and timestamped objects. |
Structs
Balance |
Account balance for one asset. |
Cancel |
An order to cancel a previous order. |
CancelAck |
An acknowledgment that a cancel order has been treated by the server. |
NotificationFlags |
Bit flags indicating which type of notification to forward. |
Order |
An order to be sent through the API. |
OrderAck |
An acknowledgment that an order has been treated by the server. |
OrderConfirmation |
A notification that some order has been received by the exchange. |
OrderExpiration |
A notification that some order has expired or was canceled. |
OrderUpdate |
A notification that some order has been updated, i.e. a trade crossed through this order. |
Params |
Params needed for an API client. |
Trade |
A liquidity consuming order. |
Enums
Notification |
A notification that some event happened. |
OrderType |
Order type. |
TimeInForce |
See https://www.investopedia.com/terms/t/timeinforce.asp. |
Traits
ApiClient |
A trait implemented by clients of various exchanges API. |
GenerateOrderId |
Generate order ids. |
Type Definitions
Balances |
A wrapper over a (currency name) => (balance) |