Pages:
Author

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

legendary
Activity: 1137
Merit: 1035
Bitcoin accepted here
Just installed this nice gadget! How can I have it display BTC price from Bitstamp?
newbie
Activity: 3
Merit: 0
Thanks for making these. This is EXACTLY what I was looking for and also thanks for providing coinbase instructions.
full member
Activity: 264
Merit: 111
Hi!
Thanks for this thing!

But right now it doesn't work for me..
I want to have bitstamp price every 10sec.
My settings:
trading
https://www.bitstamp.net/api/ticker/
sell (also tried json.ticker.sell)

it says 'BTC: N/A' and 'USD: N/A'


Regards!
legendary
Activity: 1098
Merit: 1000
It was more for the dollar amount, just thought it would be nice to have it as 123,456.78 rather than 123456.7 just an aesthetic thing really it's probably only me that's so anal Smiley

I didn't think about the width restriction, but one option could be to use symbols so BTC would be BTC and USD would be $ etc that would free up 2 more characters
sr. member
Activity: 516
Merit: 268
With the rising value of BTC could the next release be slightly bigger, ie take it up from 8 to 10 digits, that would allow USD amounts up to 999,999.99 (including a , for nicer formatting) and more decimals on the btc field.

Well, if you have more than thousand USD, gadget rounds it to one decimal place, and if you have more than million USD, it assumes that you're not interested in small change and allows you to display up to hundred million. I know there are many new Bitcoin millionaires, but hopefully this is enough even for them. Smiley

BTC field displays up to 8 digits, rounding decimal places for larger amounts to fit in allocated space. So, you can display up to 99999999 BTC which is pretty hefty sum by today's exchange rate, or up to 7 decimal places for small amounts of bitcoins.

Width is actually recommended width for Windows gadgets so that they can be stacked vertically, so the current design is kind of compromise between displaying the most information, in sufficiently large font, at a standard width, and I'm reluctant to change it unless more users find it constraining.
legendary
Activity: 1098
Merit: 1000
With the rising value of BTC could the next release be slightly bigger, ie take it up from 8 to 10 digits, that would allow USD amounts up to 999,999.99 (including a , for nicer formatting) and more decimals on the btc field.
sr. member
Activity: 516
Merit: 268
I tried setting bitstamp as primary exchange with the https://www.bitstamp.net/api/ticker/ address and "last" (without ") but I still get N/A in the price field..

Why is that?

thanks!

Hm, it seems that Bitstamp is not allowing extra parameter that MyBitcoins is sending to avoid ticker results being cached. I'll see what I can do in the next version, I'm not using Bitstamp so I wasn't aware that this doesn't work with their API.
newbie
Activity: 35
Merit: 0
I tried setting bitstamp as primary exchange with the https://www.bitstamp.net/api/ticker/ address and "last" (without ") but I still get N/A in the price field..

Why is that?

thanks!
newbie
Activity: 13
Merit: 0
Trying to figure out which settings to use for coinbase from their API page https://coinbase.com/api/doc not sure I am on the right track.

exchange URL: https://coinbase.com/api/v1/currencies/exchange_rates
exchange rate JSON key: btc_to_usd

Clear JSON keys for secondary exchange.

Thanks so much, works perfect. Your gadget is the best one out there!

On a side note I made some changes to its look to make it match the darker theme of my other gadgets. Bright gold can be distracting, thought I would show you a screenshot. You should think of adding some skins somewhere down the line Smiley
http://i.imgur.com/9zpYE4x.jpg
member
Activity: 70
Merit: 10
I won't be downloading this but I do appreciate the work you put into this tool.  Looks like something I'd think about using in the future.
sr. member
Activity: 516
Merit: 268
Trying to figure out which settings to use for coinbase from their API page https://coinbase.com/api/doc not sure I am on the right track.

exchange URL: https://coinbase.com/api/v1/currencies/exchange_rates
exchange rate JSON key: btc_to_usd

Clear JSON keys for secondary exchange.
newbie
Activity: 13
Merit: 0
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

Vircurex
exchange URL: https://vircurex.com/api/get_info_for_1_currency.json?base=BTC&alt=USD
exhange rate JSON key: lowest_ask
field 1 JSON key: lowest_ask
field 2 JSON key: last_trade
field 3 JSON key: highest_bid

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

Trying to figure out which settings to use for coinbase from their API page https://coinbase.com/api/doc not sure I am on the right track.
newbie
Activity: 7
Merit: 0

No, not the wrench icon. You need to click the larger size icon (arrow in a frame icon) which is above wrench icon. Or I'm completely misunderstanding you. Smiley

http://i.imgur.com/2AZCpBz.png

Re trading, this is actually an outdated preset, thanks for noticing. I'll fix it in the next version. In the meantime, after you choose "trading" and click apply button, go to Primary exchange section and change Exchange rate JSON key form 'json["return"].last.value' to 'json.data.last.value'.

Got it.  The size icon made it right.  The trading fix worked perfectly.


Many Thanks
sr. member
Activity: 516
Merit: 268
simply hover over the gadget, wait for the icons to appear, and click on the one between the "x" (close gadget) and options icon.

Thanks, I had found that, the wrench icon, but can't figure out what to do within it to make it work.  My interest is trading but If I check "trading" all I get for USD is N/A.  I have to check "mining" to get a value to appear in USD.  This puzzles me.

Also, the default setup within the wrench only gives me the rows labeled BTC and USD.  I'd like also to see sell, last and buy but can't tell how to effect that.  Any help appreciated, thanks.

No, not the wrench icon. You need to click the larger size icon (arrow in a frame icon) which is above wrench icon. Or I'm completely misunderstanding you. Smiley



Re trading, this is actually an outdated preset, thanks for noticing. I'll fix it in the next version. In the meantime, after you choose "trading" and click apply button, go to Primary exchange section and change Exchange rate JSON key form 'json["return"].last.value' to 'json.data.last.value'.
newbie
Activity: 7
Merit: 0
I am using the exchange URL https://data.mtgox.com/api/2/BTCUSD/money/ticker that was the default on installation of the widget.  I am only getting the BTC and USD rows displayed.  I would like to see the secondary rows sell (json.dat.sell.value), last (json.data.last.value), and buy (json.data.buy.value) but they are not showing up.  I can't figure out what to do to get those secondary rows to show up.  Any help greatly appreciated.

Hi Don,

simply hover over the gadget, wait for the icons to appear, and click on the one between the "x" (close gadget) and options icon.

Thanks, I had found that, the wrench icon, but can't figure out what to do within it to make it work.  My interest is trading but If I check "trading" all I get for USD is N/A.  I have to check "mining" to get a value to appear in USD.  This puzzles me.

Also, the default setup within the wrench only gives me the rows labeled BTC and USD.  I'd like also to see sell, last and buy but can't tell how to effect that.  Any help appreciated, thanks.
sr. member
Activity: 516
Merit: 268
I am using the exchange URL https://data.mtgox.com/api/2/BTCUSD/money/ticker that was the default on installation of the widget.  I am only getting the BTC and USD rows displayed.  I would like to see the secondary rows sell (json.dat.sell.value), last (json.data.last.value), and buy (json.data.buy.value) but they are not showing up.  I can't figure out what to do to get those secondary rows to show up.  Any help greatly appreciated.

Hi Don,

simply hover over the gadget, wait for the icons to appear, and click on the one between the "x" (close gadget) and options icon.
newbie
Activity: 7
Merit: 0
I am using the exchange URL https://data.mtgox.com/api/2/BTCUSD/money/ticker that was the default on installation of the widget.  I am only getting the BTC and USD rows displayed.  I would like to see the secondary rows sell (json.dat.sell.value), last (json.data.last.value), and buy (json.data.buy.value) but they are not showing up.  I can't figure out what to do to get those secondary rows to show up.  Any help greatly appreciated.
sr. member
Activity: 516
Merit: 268
Let us (CoinDesk) know when it is integrated  Grin

This is it, MyBitcoins gadget works with any JSON API. Anyone who wants to use it with CoinDesk just needs to enter the following in settings:
Exchange URL: http://api.coindesk.com/v1/bpi/currentprice/USD.json
JSON key name: rate

Do you perhaps plan to expose high/low/avg/volume values through API at one point?
member
Activity: 68
Merit: 10
CoinDesker
Let us (CoinDesk) know when it is integrated  Grin
sr. member
Activity: 516
Merit: 268
Memyself, thanks for the update!
Pages:
Jump to: