poloniex_client v0.0.1 PoloniexClient.Public View Source

Module for Poloniex Public API Commands/Methods https://poloniex.com/support/api/

Link to this section Summary

Functions

Returns the 24-hour volume for all markets as well as totals for primary currencies. Primary currencies include BTC, ETH, USDT, USDC and show the total amount of those tokens that have traded within the last 24 hours.

Returns candlestick chart data. Required parameters: "currencyPair", "start", "end" and "period" (candlestick period in secs; valid values: 300, 900, 1800, 7200, 14400, and 86400).

Returns information about currencies.

Returns the list of loan offers and demands for a given currency, specified by the "currency" parameter.

Returns the order book for a given market, as well as a sequence number used by websockets for synchronization of book updates and an indicator specifying whether the market is frozen.

Retrieves summary information for each currency pair listed on the exchange.

Returns the past 200 trades for a given market, or up to 1,000 trades between a specified time range. Uses UNIX timestamps by the "start" and "end" parameters.

Link to this section Functions

Returns the 24-hour volume for all markets as well as totals for primary currencies. Primary currencies include BTC, ETH, USDT, USDC and show the total amount of those tokens that have traded within the last 24 hours.

Link to this function

return_chart_data(currency_pair, start_time, end_time, period)

View Source

Returns candlestick chart data. Required parameters: "currencyPair", "start", "end" and "period" (candlestick period in secs; valid values: 300, 900, 1800, 7200, 14400, and 86400).

"start" and "end" are UNIX timestamps, used to specify the date range for the data returned.

Returns information about currencies.

Link to this function

return_loan_orders(currency)

View Source

Returns the list of loan offers and demands for a given currency, specified by the "currency" parameter.

Link to this function

return_order_book(currency_pair, depth \\ nil)

View Source

Returns the order book for a given market, as well as a sequence number used by websockets for synchronization of book updates and an indicator specifying whether the market is frozen.

You may set currencyPair to "all" to get the order books of all markets.

Retrieves summary information for each currency pair listed on the exchange.

Link to this function

return_trade_history(currencyPair, start_time, end_time)

View Source

Returns the past 200 trades for a given market, or up to 1,000 trades between a specified time range. Uses UNIX timestamps by the "start" and "end" parameters.