1
Services & Third Party Plugins / Re: [Free] Tracking Spreadsheet for BITTREX
« on: September 16, 2017, 12:35:32 AM »TypeError: Cannot read property "Last" from null. (line 19, file "Code")If you go to Tools - Script Editor
.... ?
change line 19 toCode: [Select]var results = bittrexPublicRequest("getticker",payload);
It should work
I can't get mine to work as I converted BTC-USDT but there isnt a market for it in the api.
thx for feedback ...
still the same
So ... debugging the sript found some solution/patch for those having the same error as me:
change this piece of code
function bittrexGetlastprice(market) {
var payload = { "market" : market };
var results = bittrexPublicRequest("getticker",payload);
if (results != null) {
return results.Last;
}
else{
return 0;
}
};
for some reason Trex returns null for me here on random coins (like GUP) so patched it a little bit,
and it started working for me ....
UPD: but returning wrong balance .....
UPD UPD: because this balance is on orders and does not go into total BTC balance ...
need fix for that ^^^^
upd upd upd: cancelling open orders didn't help ... =(