Poloniex Public/Trade API Elixir Client
Public API implemented
- returnTicker
- return24hVolume
- returnOrderBook
- returnTradeHistory (public)
- returnChartData
- returnCurrencies
- returnLoanOrders
Trading API in progress
- returnBalances
- returnCompleteBalances
- returnDepositAddresses
- generateNewAddress
- returnDepositsWithdrawals
- returnOpenOrders
- returnTradeHistory (private)
- returnOrderTrades
- returnOrderStatus
- buy
- sell
- cancelOrder
- cancelAllOrders
- moveOrder
- withdraw
- returnFeeInfo
- returnAvailableAccountBalances
- returnTradableBalances
- transferBalance
- returnMarginAccountSummary
- marginBuy
- marginSell
- getMarginPosition
- closeMarginPosition
- createLoanOffer
- cancelLoanOffer
- returnOpenLoanOffers
- returnActiveLoans
- returnLendingHistory
- toggleAutoRenew
This package can be installed by adding poloniex_client
to your list of dependencies in mix.exs
:
def deps do
[
{:poloniex_client, "~> 0.0.1"}
]
end
Add the following configuration variables in your config/config.exs
file:
use Mix.Config
config :poloniex_client,
api_key: "YOUR_API_KEY",
api_secret: "YOUR_API_SECRET"
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/poloniex_client.