Module ni_ce::liqui [] [src]

Liqui.io API.

Liqui's API documentation

Naming between ccex::liqui and Liqui is not 1:1.

Structs

AccountInfo

An account's funds, privileges, and number of open orders.

Credential

Credentials needed for private API requests.

Currency

Single currency. ETH, BTC, USDT, etc.

CurrencyPair

Usually represents a product. ETH_BTC, BTC_USDT, etc.

ExchangeInfo

Exchange's time and product info.

Order

Limit order (the only type of order Liqui supports).

OrderCancellation

The result of a newly cancelled order.

OrderPlacement

The result of a newly placed order.

Orderbook

Market depth.

ProductInfo

Product min/max prices, trading precision, and fees.

Rights

Account privileges.

Ticker

Exchange ticker snapshot.

Enums

OrderStatus

Status of an order.

Side

Buy or Sell

Constants

API_HOST

Use this as the host for REST requests.

Functions

cancel_order

Private. Cancel an order by its Liqui-issued order id.

get_account_info

Private. User account information (balances, api priviliges, and more)

get_active_orders

Private. User's active buy/sell orders for a product.

get_exchange_info

Public. Mostly contains product info (min/max price, precision, fees, etc.)

get_order

Private. Get a specific order by its Liqui-issued order id.

get_orderbooks

Public. Market depth.

get_ticker

Public. Current price/volume ticker.

place_limit_order

Private. Place a limit order -- the only order type Liqui supports.