All Projects → mondeja → bittrex_v2

mondeja / bittrex_v2

Licence: other
Python3 wrapper for the Bittrex API v2, currently in beta version.

Programming Languages

python
139335 projects - #7 most used programming language

bittrex_v2

Bittrex API v2 wrapper for Python3. Inspired in platelminto's java wrapper. The API version is currently in beta (some endpoints may be fallen, see Testing section below).

Currently the place_order() method is not stable! Use a wrapper for Bittrex V1.1 API instead for place orders.

Installation

Install bittrex_v2 by running:

git clone https://github.com/mondeja/bittrex_v2.git
cd bittrex_v2
python setup.py install

Example usage

- Public commands:
>>> from bittrex_v2 import Bittrex
>>> b = Bittrex()
>>> b.get_open_orders()
- Private commands:
>>> b = Bittrex(api_key="<your api key>",
...             api_secret="<your api secret>")
>>> b.get_open_orders('BTC-ETH')

Testing

Bittrex API v2 is currently in beta version, so that certain endpoints may be fallen. Execute tests.py for check all.

For test private commands methods you must provide key and secret in secrets.json file. For test get_order(<uuid>) method, you must provide a close order uuid in CONFIGURATION SECTION (tests.py).

Contribute

Development progress:

Method Developed Documented Tested
PUBLIC COMMANDS
get_market_summary
get_market_summaries
get_currencies
get_wallet_health
get_market_orderbook
get_ticks
PRIVATE COMMANDS
get_order
get_open_orders
get_order_history
get_balance
cancel
withdraw
place_order
get_withdrawal_history
get_deposit_history
get_pending_deposits
get_deposit_address
generate_deposit_address

Support

If you are having issues, please let me know ([email protected]).

License

Copyright (c) 2017 Álvaro Mondéjar Rubio [email protected]. All rights reserved.

Redistribution and use in source and binary forms are permitted provided that the above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising materials, and other materials related to such distribution and use acknowledge that the software was developed by Álvaro Mondéjar Rubio. The name of the Álvaro Mondéjar Rubio may not be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED “AS IS” AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Buy me a coffee? :)

If you feel like buying me a coffee (or a beer?), donations are welcome:

BTC : 1LfUF4AcvH7Wd1wTc7Mmqobj4AypUbpvN5
ETH : 0x7428fE875226880DaD222c726F6340eec42Db567
STEEM: @mondeja
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].