krijnsent / crypto_vba

An Excel/VBA project to communicate with various cryptocurrency exchanges APIs
MIT License
157 stars 54 forks source link

All account balances not being pulled in from Bittrex #41

Closed xspeedy300zx closed 6 years ago

xspeedy300zx commented 6 years ago

How do I pull all the wallet data from Bittrex including the empty wallets....I believe there are 210 of them. Currently the code is only pulling 83 of them. ADA to XVG only. How Do I fix this?

krijnsent commented 6 years ago

Hi @xspeedy300zx , thanks for your feedback. I've tried it with my account, I get only 8 different currencies back. So it seems that the Bittrex API won't give back more (not all empty ones). So what you could do is first get all currencies, a public method (getcurrencies). And afterwards loop though the Private function getting the balance of every coin one at a time (getbalance)... See their API documentation: https://support.bittrex.com/hc/en-us/articles/115003723911-Developer-s-Guide-API

xspeedy300zx commented 6 years ago

Apparently Bittrex only lets you get currency balances of currencies you have purchased in the past. I am using your vba excel sample with some modifications. I have kept your code but I do have a tab with all the currencies on a macro. I am not very familiar with VBA so how would I go about looping the get balances through the public get market summaries using your code?

On Wed, Sep 26, 2018 at 11:38 AM Koen Rijnsent notifications@github.com wrote:

Hi @xspeedy300zx https://github.com/xspeedy300zx , thanks for your feedback. I've tried it with my account, I get only 8 different currencies back. So it seems that the Bittrex API won't give back more (not all empty ones). So what you could do is first get all currencies, a public method (getcurrencies). And afterwards loop though the Private function getting the balance of every coin one at a time (getbalance)... See their API documentation: https://support.bittrex.com/hc/en-us/articles/115003723911-Developer-s-Guide-API

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/krijnsent/crypto_vba/issues/41#issuecomment-424760203, or mute the thread https://github.com/notifications/unsubscribe-auth/ApkjwMWH5R33kszyuEZ6IuMRo9xZe2I_ks5ue59ugaJpZM4W5pj_ .