Giter Site home page Giter Site logo

alimogh / cryptotik Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peerchemist/cryptotik

1.0 1.0 0.0 471 KB

deprecated

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%
exchange-api binance bittrex coinmarketcap poloniex altcoins bitstamp btc eth kraken

cryptotik's Introduction

This library has been deprecated, I have no intention of continuing it's development.

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

Exchange API Public Methods Private Methods Normalized Private Normalized Public Tests
www.binance.com Done Done Done TODO Done Done
bitkonan.com Done Done TODO TODO TODO TODO
www.bitstamp.net Done Done Done TODO Done Done
bittrex.com Done Done Done TODO Done Done
www.cryptopia.co.nz Done Done Done TODO Done Done
hitbtc.com Done Done Done TODO Done Done
www.kraken.com Done Done Done TODO Done Done
poloniex.com Done Done Done TODO Done Done
therocktrading.com Done Done Done TODO Done Done

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

cryptotik's People

Contributors

peerchemist avatar i-petko avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.