/Bittrex-API-Bash-Scripts

BASH script examples for authenticated API calls to the Bittrex exchange

Primary LanguageShell

Bittrex-API-Bash-Scripts

My bash adapation of some of the PHP examples for interacting with the bittrex API, spefically demonstrating how to use authenticated requests to interact with your own account data.

I've tested on Ubuntu 16.04 and MacOS 10.11-10.13

Note that jq is required to run these scripts: https://stedolan.github.io/jq/download/

Bittrex's API Documentation is here: https://support.bittrex.com/hc/en-us/articles/115003723911-Developer-s-Guide-API

Using the API documentation, you should be able to adapt these example scripts to do or automate just about anything the API is capable of. Try using jq's tsv output options if you need to pull Bittrex data into MySql, for example.

Let me know if this helped you out!

P.S - These are just basic scripts to show basic concepts. There are no built in checks and balances to make sure that you aren't sending your money somewhere daft. Store and use your API keys wisely and use these scripts at your own risk. If buying, selling, or withdrawing using the Bittrex API, check your work before you press enter!

Cheers,

Neil

Donations always welcome!! BTC: 322ejcxUuYe2K73vZyaa4Pk6EJignf7E9g LTC: LbfajQFYTj8fQxsgy2GZteDTfnZrkRZFan