Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cryptotik

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cryptotik

Standardized common API for several cryptocurrency exchanges.

  • 0.36
  • PyPI
  • Socket score

Maintainers
1

cryptotik

Standardized common API for several cryptocurrency exchanges. Cryptotik is python3 compatible collection of cryptocurrency exchange wrappers. Main goal of cryptotik is to deliver unified common interface to some of the most popular cryptocurrency exchanges, cryptotik accomplishes that by standardizing names of the methods and expected inputs and outputs.

License PyPI PyPI

Install

pip install cryptotik

or latest development version:

pip install git+git://github.com/indiciumfund/cryptotik.git

Supported Exchanges

ExchangeAPIPublic MethodsPrivate MethodsNormalized PrivateNormalized PublicTests
www.binance.comDoneDoneDoneTODODoneDone
bitkonan.comDoneDoneTODOTODOTODOTODO
www.bitstamp.netDoneDoneDoneTODODoneDone
bittrex.comDoneDoneDoneTODODoneDone
www.cryptopia.co.nzDoneDoneDoneTODODoneDone
hitbtc.comDoneDoneDoneTODODoneDone
www.kraken.comDoneDoneDoneTODODoneDone
poloniex.comDoneDoneDoneTODODoneDone
therocktrading.comDoneDoneDoneTODODoneDone

Examples

Right now library supports: Poloniex.com, Bitstamp.com, Kraken.com Bittrex.com, Binance, TheRockTrading, HitBtc, Bitkonan with elementary support for Livecoin. Library supports other useful features like wrapper around Coinmarketcap.com's public API.

from cryptotik import Wex, Bittrex, Poloniex

You only need to learn commands once, for example get_markets will work anywhere:

Bittrex().get_markets()

Poloniex().get_markets()

Binance().get_markets()

and will yield similar results. However parsing and interpreting them is left to user.

More examples

Poloniex().get_market_order_book("btc-nxt")

Bittrex().get_market_depth("btc-maid")

Binance().get_market_ticker('etc-eth')

Private API methods (the ones that require authentication)

Library also supports private API methods for Poloniex, Binance, Bitstamp, Kraken, TheRockExchange, Bittrex, Wex and some others. To use them you need to make class instance though with your API credentials.

polo = Poloniex(yourkey, yoursecret)

polo.get_balances()

polo.withdraw(<coin>, <amount>, <address>)

Same goes for Bittrex:

btrx = Bittrex(yourkey, yoursecret)

btrx.get_balances()

btrx.withdraw(<coin>, <amount>, <address>)


Running tests

cd test

Bittrex

pytest bittrex_test.py --apikey=<APIKEY> --secret=<APISECRET>

Poloniex

pytest poloniex_test.py --apikey=<APIKEY> --secret=<APISECRET>


Contributing

  1. Fork it (https://github.com/indiciumfund/cryptotik/fork)
  2. Study how it's implemented
  3. Create your feature branch (git checkout -b my-new-feature)
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create a new Pull Request

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc