View Source BinanceHttp.Api.V3.Market (binance_http v0.1.2)
Link to this section Summary
Functions
Endpoints for Market Trade
### Compressed/Aggregate Trades List
### Current Average Price
### Exchange Information
### Old Trade Lookup
### Order Book
### Recent Trades List
Link to this section Functions
Endpoints for Market Trade
### Compressed/Aggregate Trades List
parameters:
symbol - string, mandatory limit - integer, no mandatory (default 500) formId - integer, no mandatory (default )
For example:
BinanceHttp.Api.V3.Market.aggTrades(%{symbol: "ETHBTC", limit: 10})
### Current Average Price
Current average price for a symbol.
parameters:
symbol - string, mandatory,
For example:
BinanceHttp.Api.V3.Market.current_average_price("BNBBTC")
### Exchange Information
Current exchange trading rules and symbol information For example:
with symbol
param:
BinanceHttp.Api.V3.Market.exchange_info(%{symbol: "BNBBTC"})
with symbols
param:
BinanceHttp.Api.V3.Market.exchange_info(%{symbols: ["BNBBTC", "ETHUSDT"]})
### Old Trade Lookup
parameters:
symbol - string, mandatory limit - integer, no mandatory (default 500) formId - integer, no mandatory (default )
For example:
BinanceHttp.Api.V3.Market.recent_trades_list(%{symbol: "ETHBTC", limit: 10})
### Order Book
parameters:
symbol - string, mandatory limit - integer, no mandatory (default 100)
For example:
BinanceHttp.Api.V3.Market.order_book(%{symbol: "ETHBTC", limit: 10})
### Recent Trades List
parameters:
symbol - string, mandatory limit - integer, no mandatory (default 500)
For example:
BinanceHttp.Api.V3.Market.recent_trades_list(%{symbol: "ETHBTC", limit: 10})