BTC-e trade api

This BTC-e trade api can be used to automatically trade on btc-e using their api.
1.4K Downloads
Updated 3 Apr 2014

View License

These matlab files will allow you to use all methods of the btc-e api. These include:
response = GetInfo()
response = TransHistory()
response = TradeHistory('count',2)
response = ActiveOrders()
response = Trade('pair','btc_usd','type','buy','rate',200,'amount',1)
response = CancelOrder('order_id',651389)
ticker_output = realtime_ticker('btc_usd');
The api makes use of a Key and a Secret, please insert your own key and secret
in the btce_call function to make the matlab files work.

The script makes use of the SHA512 algorithm to encode the api calls.

If you like the code, please consider to donate bitcoins to:
16FezyuqQonxc4sp9ft8nYLa9ST2HVM542

Questions or remarks? Post a comment.

Cite As

Wout Oude Elferink (2024). BTC-e trade api (https://www.mathworks.com/matlabcentral/fileexchange/44890-btc-e-trade-api), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Flickr API with OAuth-based user authentication

Inspired: woulgar/tradesman

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

See update below.

1.1.0.0

BTC-e changed their api url, this caused the script to stop working. This update will solve the issue.

1.0.0.0