dashchain library

A Dart library to work with some crypto exchanges.

Get latest cryptomarket quotes, check order books, write backtests, manage your assets !

Enums

BinanceTradingStatus
The enum for the possible values of a symbol trading status in Binance API
Interval
The enum for the possible values of a symbol trading status in Binance API
OrderResponseType
The enum for the possible types of an order's response From docs : Set the response JSON. ACK, RESULT, or FULL; MARKET and LIMIT order types default to FULL, all other orders default to ACK.
OrderType
The enum for the possible types of an order
RequestMethod
Side
The enum for the possible values of a trade side
TimeInForce
The enum for the possible values of the time in force parameter

Constants

aggregatedTradesPath → const String
The endpoint to get the aggregated trades for a specific symbol.
apiPath → const String
The base path for Binance's REST API.
avgPricePath → const String
The endpoint to get the average price for a specific symbol.
binanceDomain → const String
Binance's base domain name.
bookTickerPath → const String
The endpoint to get the book ticker of symbol(s).
dayTickerPath → const String
The endpoint to get the 24hr statistics symbol(s).
defaultUri → const String
The default URI to use when interacting with Binance's REST API.
exchangeInfoPath → const String
The endpoint to get exchange info about symbols.
historicalTradesPath → const String
The endpoint to get the historical trades for a specific symbol.
klinesPath → const String
The endpoint to get the klines (or candlesticks) for a specific symbol.
kMaxRecvWindow → const int
recvWindow param must be below 60sec
kMinRecvWindow → const int
recvWindow param must be a positive integer
orderBookPath → const String
The endpoint to get the Order Book for a specific symbol.
pingPath → const String
A basic endpoint that may reflect API availability/performance.
priceTickerPath → const String
The endpoint to get the current price of symbol(s).
testTradeOrderPath → const String
The endpoint to send a test trade order.
timePath → const String
A basic endpoint that may reflect API availability/performance. It will also return the current server time using Epoch time in milliseconds.
tradeOrderPath → const String
The endpoint to send a trade order.
tradesPath → const String
The endpoint to get the latest trades for a specific symbol.
xMbxApiKeyHeader → const String
The header that should be used to pass the API key needed fore some endpoints.
xMbxUsedWeightHeader → const String
The header given in Binance's API response representing the current quota. Should be tracked to avoid IP bans.

Exceptions / Errors

BinanceApiError