Authentification to Binance with Matlab, to get account info
Hi,
I wrote a code for authentification and get Binance account info, but something is wrong
the projetct is to make the code works on Matlab 2015a:
Matlab:
queryString=['timestamp=' binanceServerTime(1000)];
[key,secret,username]=key_secret('binance');
Signature = crypto(queryString, secret, 'HmacSHA256');
url='[login to view URL]';
url=[url queryString];
% 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)