Module ni_ce::binance [] [src]

Structs

Account

Account balances, priviliges, fee rates, etc.

Balance

Account balance.

Credential

API key and secret. Required for private API calls.

Currency

A single currency. ETH, BTC, USDT, etc.

CurrencyPair

Usually represents a product. ETH_BTC, BTC_USDT, etc.

ExchangeInfo

General exchange info; rate limits, products, filters, etc.

Order
OrderCancellation

Result of a cancel_order request.

Orderbook

Market depth.

ProductInfo

Symbol info; base, quote, precision, status, etc.

Enums

Filter
Interval

Interval of time. Mostly used in [RateLimit].

OrderInstruction

Order type. Limit, Market, etc.

RateLimit
Side

Buy or Sell

SymbolStatus
TimeInForce

Constants

API_HOST

Use this as the host for REST requests.

Functions

cancel_order

Private. Cancel an active order by Binance-issued order id.

get_account_info

Private. Get priviliges, commission rates, and balances for an account.

get_exchange_info

Public.

get_open_orders

Private. Get all open orders for every product or all open orders for one product.

get_orderbook

Public. Get the orderbook for a single product.

place_limit_order

Private. Place a limit order.