Pages:
Author

Topic: Bitcoin Windows gadget which displays BTC and currency amounts - page 9. (Read 69295 times)

sr. member
Activity: 529
Merit: 271
btw, yesterday and today, it seemed the gadget was unable to get the balance of my wallet, it's ok now but couldn't for a number of hours.

Yeah, Blockchain.info is having problems (and is still not fully online yet): https://blog.blockchain.com/
newbie
Activity: 16
Merit: 0
i wasn't aware of the api there, thanks for that

as for the multiple instances, yeah, that's pretty much what i'm doing.

btw, yesterday and today, it seemed the gadget was unable to get the balance of my wallet, it's ok now but couldn't for a number of hours.
sr. member
Activity: 529
Merit: 271
Thanks for that, it sort of works in the way you explained it, but the conversion via Yahoo finance is different, for example my current wallet balance is 0.03 BTC which off the BitPay ticker price/rate is about £12 run it through the yahoo conversion and it comes out at £7 and some change, so basically i have a £5 discrepancy Sad

Of course, that's because you're looking at two different exchange rates - Bitpay BTC-USD and then Yahoo! USD-GBP compared to BitPay BTC-GBP. Or if you're looking at Bitstamp and Bitpay, of course the two will have different rate - rate differences between BTC exchanges have been in the hundreds of dollars. As soon as you're not looking at a single currency pair on a single exchange, you're going to have differences.

Also the labels are tied to the currency selected, so i can't display BAL for wallet balance/Value without screwing up the secondary's conversion code, because they are not 100% seperate, but thanks for trying Smiley

Don't try to put too many things in one gadget instance, the idea behind it is to really display only a single number after all. Smiley Use more than one instance to look at several things at once.

Also, i've found that now via LocalBitcoins site i can trade in GBP Smiley

BTW do you know that LocalBitcoins has API as well? For example, you can use https://localbitcoins.com/bitcoinaverage/ticker-all-currencies/ as exchange URL and then perhaps json.GBP.rates.last as JSON key.
hero member
Activity: 714
Merit: 500
NEED CRYPTO CODER? COIN DEVELOPER? PM US FOR HELP!
Just downloaded it and its clean, safe and bloody brilliant Smiley excellent effort and contribution in the community  Kiss
newbie
Activity: 16
Merit: 0
whilst all trading is USD based, as you pointed out, however in realities for me, the value in GBP is more understandable/comparable, and as such i use your bitcoin gadget to display my wallet content, and it's value in GBP and then i use your other gadget to display the current GBP exchange rate.

I use the BitPay exchange api because one of the PC accessory sites i use accept bitcoin, and use that site for their conversion rates.

THe high / low rates being in GBP would just have been a nicety

oddly enough nobody does this, even the BitPay widget for your phone, that they make only ever works in USD yet their site is a global concern that supplies exchange rates in multiple currencies.

i guess it just boils down to the fact i'm used to working in GBP, what i pay for with bitcoin is likely to have a comparable GBP value

Well, not a scenario I would have thought of, and officially not supported, but I think it can be done. Use this settings. I might add conversion option in the next version to make this simpler.

Primary exchange: https://bitpay.com/api/rates/GBP
Primary exchange JSON key: json.rate / conversionRate
Ticker currency: USD
Target currency: GBP

Secondary exchange: https://www.bitstamp.net/api/ticker/
Field 1 JSON label: high
Field 1 JSON key: json.high * conversionRate
Field 2 JSON label: last
Field 2 JSON key: json.last * conversionRate
Field 3 JSON label: low
Field 3 JSON key: json.low * conversionRate

which by chance also shows a second issue, the secondary info does not populate unless the gadget is expanded and left for the update period to complete (i also noticed a similar failure to load automatically on the primary info if you used 2 wallets in gadget)

leaving for the time it took to screenshot and upload resulted in it updating....

I'll look into it - I did notice similar problems with Google Docs. It fires out several requests and waits for responses, and updates as response is received. I think it might not update if response received is not valid. One thing you can do is simply open settings and click OK - this forces an update.


Thanks for that, it sort of works in the way you explained it, but the conversion via Yahoo finance is different, for example my current wallet balance is 0.03 BTC which off the BitPay ticker price/rate is about £12 run it through the yahoo conversion and it comes out at £7 and some change, so basically i have a £5 discrepancy Sad
Also the labels are tied to the currency selected, so i can't display BAL for wallet balance/Value without screwing up the secondary's conversion code, because they are not 100% seperate, but thanks for trying Smiley

Also, i've found that now via LocalBitcoins site i can trade in GBP Smiley
member
Activity: 66
Merit: 10
No way man but thanks for trying,
enjoy the pasta.

Sorry guys, my copypasta mistake.

Exchange rate JSON key for Bitstamp is not "lowest_ask" - but just "ask", same as the field 1 key. So:

Bitstamp
exchange URL: https://www.bitstamp.net/api/ticker/
exhange rate JSON key: ask
field 1 JSON key: ask
field 2 JSON key: last
field 3 JSON key: bid

I've wanted to release a new version for weeks now but as I'm in crunch mode with a big project somehow just can't find the time to actually do it. Sad
sr. member
Activity: 529
Merit: 271
Sorry guys, my copypasta mistake.

Exchange rate JSON key for Bitstamp is not "lowest_ask" - but just "ask", same as the field 1 key. So:

Bitstamp
exchange URL: https://www.bitstamp.net/api/ticker/
exhange rate JSON key: ask
field 1 JSON key: ask
field 2 JSON key: last
field 3 JSON key: bid

I've wanted to release a new version for weeks now but as I'm in crunch mode with a big project somehow just can't find the time to actually do it. Sad
sr. member
Activity: 448
Merit: 250
exchange URL: https://www.bitstamp.net/api/ticker/
is not sending data to me, I GET GOX OLD DATA ask 136.3901,
last 135, bid 135, USD N/A
Anyone have the same problem.

It would be nice if Domci could make a downloadable basic gadget version with bitstamp anyway gox is defunct. 

Thanks in advance.

ChiangYay


My gadget still shows MtGox price of BTC which is not the real value on the markjet as we all know Smiley
Could someone let me know how to set coinbase or bitstamp price in the gadget settings ?
Im lost and not familiar with API and Json at all Sad

Bitstamp
exchange URL: https://www.bitstamp.net/api/ticker/
exhange rate JSON key: lowest_ask
field 1 JSON key: ask
field 2 JSON key: last
field 3 JSON key: bid

BTC-E
exchange URL: https://btc-e.com/api/2/btc_usd/ticker
exhange rate JSON key: sell
field 1 JSON key: sell
field 2 JSON key: last
field 3 JSON key: buy



Same for me, here Sad
-Downloaded 4.0
-Copy pasted the lines above (by Domici) but with them, there is no value (N/A) showing.
In case i close gadget and add it again from gadghet gallery, it shows MtGox price (136.3901)

Downloadable version with Coinbase or Bitstamp data would be more than welcome.... !!!
member
Activity: 66
Merit: 10
exchange URL: https://www.bitstamp.net/api/ticker/
is not sending data to me, I GET GOX OLD DATA ask 136.3901,
last 135, bid 135, USD N/A
Anyone have the same problem.

It would be nice if Domci could make a downloadable basic gadget version with bitstamp anyway gox is defunct. 

Thanks in advance.

ChiangYay


My gadget still shows MtGox price of BTC which is not the real value on the markjet as we all know Smiley
Could someone let me know how to set coinbase or bitstamp price in the gadget settings ?
Im lost and not familiar with API and Json at all Sad

Bitstamp
exchange URL: https://www.bitstamp.net/api/ticker/
exhange rate JSON key: lowest_ask
field 1 JSON key: ask
field 2 JSON key: last
field 3 JSON key: bid

BTC-E
exchange URL: https://btc-e.com/api/2/btc_usd/ticker
exhange rate JSON key: sell
field 1 JSON key: sell
field 2 JSON key: last
field 3 JSON key: buy

sr. member
Activity: 529
Merit: 271
My gadget still shows MtGox price of BTC which is not the real value on the markjet as we all know Smiley
Could someone let me know how to set coinbase or bitstamp price in the gadget settings ?
Im lost and not familiar with API and Json at all Sad

Bitstamp
exchange URL: https://www.bitstamp.net/api/ticker/
exhange rate JSON key: lowest_ask
field 1 JSON key: ask
field 2 JSON key: last
field 3 JSON key: bid

BTC-E
exchange URL: https://btc-e.com/api/2/btc_usd/ticker
exhange rate JSON key: sell
field 1 JSON key: sell
field 2 JSON key: last
field 3 JSON key: buy
sr. member
Activity: 448
Merit: 250
Hi.

My gadget still shows MtGox price of BTC which is not the real value on the markjet as we all know Smiley

Could someone let me know how to set coinbase or bitstamp price in the gadget settings ?
Im lost and not familiar with API and Json at all Sad


Thanks in advance...

Cheers Smiley
sr. member
Activity: 529
Merit: 271
How can i get the BTC/USD from BTC-E ? I have the url but can't figure out the json.Huh

https://btc-e.com/api/2/btc_usd/ticker

/EDIT

Ok i figured out now, mybitcoins gadget can't get btc_usd from BTCE but my litecoins gadget can get it. Very weird problem Smiley

This is indeed strange. What are your JSON values, are they either "last" or "json.ticker.last"? Do you have the latest version of MyBitcoins gadget (4.0) - you can check this out when you go to desktop gadget gallery and click on "show details"?
newbie
Activity: 23
Merit: 0
How can i get the BTC/USD from BTC-E ? I have the url but can't figure out the json.Huh

https://btc-e.com/api/2/btc_usd/ticker

/EDIT

Ok i figured out now, mybitcoins gadget can't get btc_usd from BTCE but my litecoins gadget can get it. Very weird problem Smiley
sr. member
Activity: 529
Merit: 271
whilst all trading is USD based, as you pointed out, however in realities for me, the value in GBP is more understandable/comparable, and as such i use your bitcoin gadget to display my wallet content, and it's value in GBP and then i use your other gadget to display the current GBP exchange rate.

I use the BitPay exchange api because one of the PC accessory sites i use accept bitcoin, and use that site for their conversion rates.

THe high / low rates being in GBP would just have been a nicety

oddly enough nobody does this, even the BitPay widget for your phone, that they make only ever works in USD yet their site is a global concern that supplies exchange rates in multiple currencies.

i guess it just boils down to the fact i'm used to working in GBP, what i pay for with bitcoin is likely to have a comparable GBP value

Well, not a scenario I would have thought of, and officially not supported, but I think it can be done. Use this settings. I might add conversion option in the next version to make this simpler.

Primary exchange: https://bitpay.com/api/rates/GBP
Primary exchange JSON key: json.rate / conversionRate
Ticker currency: USD
Target currency: GBP

Secondary exchange: https://www.bitstamp.net/api/ticker/
Field 1 JSON label: high
Field 1 JSON key: json.high * conversionRate
Field 2 JSON label: last
Field 2 JSON key: json.last * conversionRate
Field 3 JSON label: low
Field 3 JSON key: json.low * conversionRate

which by chance also shows a second issue, the secondary info does not populate unless the gadget is expanded and left for the update period to complete (i also noticed a similar failure to load automatically on the primary info if you used 2 wallets in gadget)

leaving for the time it took to screenshot and upload resulted in it updating....

I'll look into it - I did notice similar problems with Google Docs. It fires out several requests and waits for responses, and updates as response is received. I think it might not update if response received is not valid. One thing you can do is simply open settings and click OK - this forces an update.
newbie
Activity: 16
Merit: 0
whilst all trading is USD based, as you pointed out, however in realities for me, the value in GBP is more understandable/comparable, and as such i use your bitcoin gadget to display my wallet content, and it's value in GBP and then i use your other gadget to display the current GBP exchange rate.

I use the BitPay exchange api because one of the PC accessory sites i use accept bitcoin, and use that site for their conversion rates.

THe high / low rates being in GBP would just have been a nicety

oddly enough nobody does this, even the BitPay widget for your phone, that they make only ever works in USD yet their site is a global concern that supplies exchange rates in multiple currencies.


this is basically what i have on the screen....

http://s27.postimg.org/rtv36ktn7/Picture0017.png


which by chance also shows a second issue, the secondary info does not populate unless the gadget is expanded and left for the update period to complete (i also noticed a similar failure to load automatically on the primary info if you used 2 wallets in gadget)

leaving for the time it took to screenshot and upload resulted in it updating....

http://s14.postimg.org/4jqyhdw8h/Picture0018.png



i guess it just boils down to the fact i'm used to working in GBP, what i pay for with bitcoin is likely to have a comparable GBP value
sr. member
Activity: 529
Merit: 271
I use GBP as my primary currency, and was going to use BitPay API/Ticker (https://bitpay.com/api/rates/GBP) but as you can see it's a little short on secondary information. So my plan was to use the BitPay as primary, and then BitStamp as the secondary to get low/high rates.

Now that i can do, however it won't give me the option to convert using yahoo financial in the secondary exchange Sad so i tried setting it up as BitStamp primary, and also set the currency conversion to GBP, and then in the secondary i left the api address blank, that worked as far as converting went, but only for the current rate, not the low/high

any chance you could include the conversion option for each field please ?

Hey wayne,

I'm not quite sure that I understood what you want to display - why do you need spread info in a currency you're not trading in? Could you please explain a bit more?

Secondary fields are intentionally not convertible through Yahoo! finance, but you can always spin up several instances of the gadget if you want to convert several amounts.
legendary
Activity: 1098
Merit: 1000
MTGox ticker does not seem to work, what gives?

MTGox is dead forever, use one of the other exchanges, I use bitstamp

Primary Exchange: https://www.bitstamp.net/api/ticker/
JSON Key: last

Secondary Exchange
JSON Keys: ask, last & bid
full member
Activity: 181
Merit: 100
MTGox ticker does not seem to work, what gives?
newbie
Activity: 16
Merit: 0
Just wanted to say thanks, handy looking gadget.

Just one little request if i may....

I use GBP as my primary currency, and was going to use BitPay API/Ticker (https://bitpay.com/api/rates/GBP) but as you can see it's a little short on secondary information. So my plan was to use the BitPay as primary, and then BitStamp as the secondary to get low/high rates.

Now that i can do, however it won't give me the option to convert using yahoo financial in the secondary exchange Sad so i tried setting it up as BitStamp primary, and also set the currency conversion to GBP, and then in the secondary i left the api address blank, that worked as far as converting went, but only for the current rate, not the low/high

any chance you could include the conversion option for each field please ?
newbie
Activity: 14
Merit: 0
Great gadget! awesome  Smiley
Pages:
Jump to: