BTC-e trade api
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
Platform Compatibility
Windows macOS LinuxCategories
- Computational Finance > Datafeed Toolbox > Financial Data > Trading Technologies >
- Computational Finance > Datafeed Toolbox > Financial Data > Transaction Cost Analysis >
Tags
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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.