View Source BinanceHttp.Api.V3.Market (binance_http v0.1.2)

Link to this section Summary

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")

Link to this function

current_average_price(params)

View Source
Link to this function

current_average_price(params, opts)

View Source

### 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"]})

Link to this function

exchange_info(params, opts)

View Source

### 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})

Link to this function

historical_trades(params)

View Source
Link to this function

historical_trades(params, opts)

View Source

### Order Book

parameters:

symbol - string, mandatory limit - integer, no mandatory (default 100)

For example:

BinanceHttp.Api.V3.Market.order_book(%{symbol: "ETHBTC", limit: 10})

Link to this function

order_book(params, opts)

View Source

### 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})

Link to this function

recent_trades_list(params)

View Source
Link to this function

recent_trades_list(params, opts)

View Source