Pages:
Author

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

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: 14
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: 516
Merit: 268
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: 516
Merit: 268
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: 516
Merit: 268
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: 516
Merit: 268
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: 14
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: 516
Merit: 268
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: 14
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
newbie
Activity: 12
Merit: 0
Thanks so much, it works great...
sr. member
Activity: 516
Merit: 268
For some reason I can never get the BTC one to work with coinbase.
url: http://coinbase.com/api/v1/prices/buy

I try:
json.total.amount
amount

but nothing comes up

It seems that http ends up with CloudFlare redirects so the gadget gets some redirect HTML instead of JSON. Use https - https://coinbase.com/api/v1/prices/buy which is where it ends up after redirects. Only "amount" is not conclusive as there are several amounts, but json.total.amount works fine. And make sure that you you clear your JSON keys for field 1, 2 and 3 (when they cannot be resolved final amount can't be calculated correctly as well).
newbie
Activity: 12
Merit: 0
For some reason I can never get the BTC one to work with coinbase.

url: http://coinbase.com/api/v1/prices/buy

sample json:
{
  "subtotal": {
    "amount": "577.40",
    "currency": "USD"
  },
  "fees": [
    {
      "coinbase": {
        "amount": "5.77",
        "currency": "USD"
      }
    },
    {
      "bank": {
        "amount": "0.15",
        "currency": "USD"
      }
    }
  ],
  "total": {
    "amount": "583.32",
    "currency": "USD"
  },
  "amount": "583.32",
  "currency": "USD"
}


I try:
json.total.amount
amount

but nothing comes up
Pages:
Jump to: