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:
Questions or remarks? Post a comment.
Wout Oude Elferink (2021). BTC-e trade api (https://www.mathworks.com/matlabcentral/fileexchange/44890-btc-e-trade-api), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Flickr API with OAuth-based user authentication
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!