File Exchange

image thumbnail

woulgar/tradesman

version 1.1.0.0 (27.3 KB) by Volkan Kirdar
Btc-e, Bitfinex, Cex.io, Huobi, Bitstamp, GDAX, Bittrex exchange api for Matlab.

21 Downloads

Updated 01 Apr 2018

GitHub view license on GitHub

This is a tool for my finance project in Engineering Management. Matlab api for exchange in Btc-e, Bitfinex, Cex.io and does public requests for Huobi and Bitstamp. Authenticated functions will be added to Huobi and Bitstamp and may include some other servers in the future updates. Inspired by "wout" and "Jim Hokanson". Enjoy and feel free to donate bitcoin: 1PkY2H2LbBMqjqYeDkAB5vT4JSiNvoREyU

Comments and Ratings (18)

Math Ya

will i still get 0.015BTC if i solve binance api athen problem here?

BITMEX? PLEASE?

hi,
can any one help with api_binance please,
Here is the code, I dont know wy it is not working!
thanks

% code to get for example the acount info

queryString=['timestamp=' binanceServerTime(1000)];
[key,secret,username]=key_secret('binance');
Signature = crypto(queryString, secret, 'HmacSHA256');

url='https://api.binance.com/api/v3/account?';

% post-parameters
postparams=['X-MBX-APIKEY=' key '&signature=' char(Signature)];
header=http_createHeader('Content-Type','application/x-www-form-urlencoded');

[response,status] = urlread2(url,'POST',postparams,header)

Result:
value: 404
msg: 'Not Found'

Can you please show an example of how to get real time ticker data for say LTC-USD pair from GDAX?

Xerxes

The current GDAX authentication sends an "invalid signature". I have had this same issue using the method in your code. Any fix yet? I have been unable to get past this issue in my own code.

Do you also have this for Binance?

Lingxin Lan

0.015 BTC for complete Kraken, Binance or GDAX. 0.027 for two, 0.04 for three. Frantz008@outlook.com

Anyongnan

Shaik Ahmad

Can someone please tell me about this function in simple words.

Thank you.

JUNGIK

Thanks a lot!
Anyone who manage to access Kraken API with matlab?

Marco Wu

Any one knows where I can find code to talk to GDAX?

Code looks pretty sweet and works great! Only at the beginnning I got an "invalid signature" message when I try to use my API keys for the private part of bitstamp...

After a couple of hours I found the problem, the generated signature is created with lower case letters while it needs upper case. So by adding upper(char(signature)) the whole thing worked.

thx

For some reason I always get {"error": "Invalid nonce"} when I use the buy, sell and cancel order functions via Bitstamp. All the other functions on Bitstamp work

Anyone else have this problem?

Tod

Works just as it should be. Also fast and promt answers from the author during the further development. Thanks for sharing a powerful tool!

Updates

1.1.0.0

GDAX, Bittrex are added, not yet finished.

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Acknowledgements

Inspired by: urlread2, BTC-e trade api