Pages:
Author

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

sr. member
Activity: 529
Merit: 271
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

In the end I didn't do this, as I figured that maximum of 8 digits is still not too big to be unreadable. But then I started thinking about Winklewii and how 8 digits might not be enough for them as they own 1% of all Bitcoin and so on; poor Winklewii would not be able to use this gadget!

So I made sure that if the number is too big (or too small) this gets handled in satisfactory way by appending the correct symbol of the order of magnitude (see http://en.wikipedia.org/wiki/Order_of_magnitude#Uses). Yes, all of them are now supported.

Now, in the end it turns out that for Winklewii 8 digits is still more than enough. But if you take all Bitcoin currently in existence, you can see how much they're worth in USD, and previously you weren't, so I'd say it was worth it:

sr. member
Activity: 529
Merit: 271
Hi guys!

I hear you about Bitstamp, and the new update is out which fixes that. And not just that. This update brings a bunch of new features and a few bugfixes - actually, this is the version with the most new stuff since version 1.

First and foremost, this version introduces support for Bitstamp. I'm not sure if the way Bitstamp API behaves when it's sent an extra parameter changed recently, or if it didn't work for some time now, buy anyway, it's fixed now.

Big new feature are trailing stop alerts. We had alerts in a sense that you could have the value in the bottom field turn green or red when the price crosses it. However, now you can trigger it when the trend changes. Say that the price is slowly rising, and you set your trailing stop to 20. When the trend reverses and the price falls to less then 20 from the highest recorded price, it turns red. This is a good way to see trend change at a glance and not have to move your stop loss manually every now and then. Note that MyBitcoins will not buy and sell for you; it will simply change color to alert you. You have to do your own trading. Smiley

Another significant feature is the ability to retrieve Bitcoin balance for one or more addresses. This was possible before by using blockchain.info API as one or more of the pools, but now it's as simple as pasting as many Bitcoin addresses as you want. Some people were manually updating correction field and none of that is needed anymore.

This is far from all that is new, but to keep it brief, these bugs were squashed:
  • although originally correction could be a negative number, at some point this stopped working due to incorrect regex which is now corrected
    default exchange rate key for trading was corrected as the MtGox API changed in the meantime
  • if only paid or only unpaid JSON key for pools was used, value was not calculated; a bit impractical workaround to use both fields is no longer needed

There are also a few other features:
  • support for very large or very small values (more than 9 digits or less than 8 decimals) using for example 1G for 1,000,000,000
  • two additional pools added as some a bit megalomanic people were complaining that three pools are not enough
  • now using MtGox API 2 ticker_fast method instead of "slower" ticker

You can download the new version on the gadget page: http://domchi.cc/mybitcoins/
legendary
Activity: 1137
Merit: 1035
Bitcoin accepted here
I'm going mad! I'm constantly getting the same error as Roccker!

My settings:
trading
https://www.bitstamp.net/api/ticker/
sell (also tried json.ticker.sell)

it says 'BTC: N/A' and 'USD: N/A'
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: 266
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: 529
Merit: 271
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: 529
Merit: 271
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: 529
Merit: 271
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: 529
Merit: 271
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: 529
Merit: 271
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.
Pages:
Jump to: