Socket
Book a DemoInstallSign in
Socket

poloniex

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

poloniex

Poloniex API client for humans

0.0.17
pipPyPI
Maintainers
2

Description

Poloniex API_ client for humans

Installation

The package has been uploaded to PyPI_, so you can install it with pip:

.. code:: bash

$ pip install poloniex

Usage Examples

Documentation can be inspected by calling the python's help function with a Poloniex object as parameter:

.. code:: python

from poloniex import Poloniex polo = Poloniex() help(polo)

Public APIs """""""""""

.. code:: python

from poloniex import Poloniex polo = Poloniex() ticker = polo.returnTicker()['BTC_ETH'] print(ticker)

Private APIs """"""""""""

.. code:: python

from poloniex import Poloniex import os

api_key = os.environ.get('POLONIEX_API_KEY') api_secret = os.environ.get('POLONIEX_SECRET') polo = Poloniex(api_key, api_secret)

ticker = polo.returnTicker()['BTC_ETH'] print(ticker)

balances = polo.returnBalances() print(balances)

Used in

  • crypto_trader_: Trading automation on poloniex cyriptocoin exchange

Donations

================= ====== ========================================== Name Symbol Address ================= ====== ========================================== Bitcoin BTC 13NpLwXgEP8d9NpDUHptY6BypFRNXHL3tr Ethereum ETH 0x8f61777b0f951ed5df684da495d82171aa3645ea Litecoin LTC LKM1eTU8BmvCECJr54Tz1pHDr4e2AS41Ai ================= ====== ==========================================

.. _PyPI: https://pypi.python.org/pypi/poloniex .. _Poloniex API: https://poloniex.com/support/api/ .. _crypto_trader: https://github.com/timucin/cyripto_trader

Keywords

poloniex cryptocurrency cryptocurrencies api client bitcoin

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.