/QuadrigaCX-Python

Python Wrapper for QuadrigaCX API

Primary LanguagePythonApache License 2.0Apache-2.0

QuadrigaCX-Python

Python Wrapper for QuadrigaCX API

Most of these functions haven't been tested, use at your own risk

Dependencies: requests

Usage

from quadrigacx import Quadriga

quad = Quadriga(apiKey = "example", secretKey = "example", clientID = INTEGER) #optionalArguments
quad.get_account_balance()
quad.get_user_transactions(offset=0, limit=100, sort='desc', book='btc_cad')
quad.get_open_orders(book='btc_cad')
quad.lookup_order(id="")
quad.cancel_order(id="")
quad.buy_order_limit(amount, price, book='btc_cad')
quad.buy_order_market(amount, book='btc_cad')
quad.sell_order_limit(amount, price, book='btc_cad')
quad.sell_order_market(amount, book='btc_cad')
quad.bitcoin_deposit()
quad.bitcoin_withdrawal(amount, address)
quad.ether_deposit()
quad.ether_withdrawal(amount, address)

###Donate 1NCEiwtzTwAM2jsiWtCeqspE1yvNbgtyAC

3ESmioDztyFf4bU1izbvGN1SAiaPYteX6n