Bitcoin Forum

Bitcoin => Project Development => Topic started by: Tritonio on February 28, 2012, 06:06:29 AM



Title: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Tritonio on February 28, 2012, 06:06:29 AM
I've made a Chrome extension that combines a price ticker for any currency combination (BTC/USD, BTC/EUR, LTC/BTC, EUR/USD etc), a price graph, desktop notifications (with option sound effects) for when the price exceeds user specified limits and most importantly a currency converter for the following currencies:

BTC Bitcoin average
BTC Bitcoin average
GOX Bitcoin Mt.Gox
BTS Bitcoin Bitstamp
BCE Bitcoin BTC-E
CBS Bitcoin Coinbase      
LTC Litecoin      
NMC Namecoin   
PPC PPCoin   
IXC Ixcoin   
TRC Terracoin
DVC Devcoin
XRP Ripples   
MNC MinCoin   
SLL Linden dollar (Second Life)

USD USA dollar      
EUR Euro      
RUB Russian ruble      
CAD Canadian dollar      
GBP Pound sterling      
AUD Australian dollar      
PLN Polish zloty      
UAH Ukrainian hryvnia      
CNY Chinese Renminbi      
SEK Swedish krona      
CZK Czech koruna      
BRL Brazilian real      
CHF Swiss franc      
NOK Norwegian krone      
ARS Argentine peso      
DKK Danish krone      
RON Romanian leu      
ILS Israeli new shekel      
BGN Bulgarian lev      
NZD New Zealand dollar      
JPY Japanese yen      
MXN Mexican peso      
INR Indian rupee      
HKD Hong Kong dollar   
HUF Hungarian Forint   
XAG Silver troy ounce      
XAU Gold troy ounce      
XPT Platinum troy ounce      
XPD Paladium troy ounce      
GAG Silver gram      
GAU Gold gram (also Pecunix)      
GPT Platinum gram      
GPD Paladium gram


Don't forget to go to the options page, either click the "tools" icon on the top left corner of the converter, or tight click on Biticker's icon and then click Options.

Download from Chrome Web Store (https://chrome.google.com/webstore/detail/fblekdojabihjdhndhmloalbcnnejddl)

reddit post (http://www.reddit.com/r/Bitcoin/comments/qa6uv/currency_converter_btc_ticker_and_graph_for_chrome/)

I hope you people like it. :-) And if you want me to add more currencies post here or contact me.

https://lh5.googleusercontent.com/oFnKsfAyUFBe5_e9FuA8Q0DaAnvI6FAAQUTjDOketfHAQly0nHO0cH8XnstJ0nvMm_leKPhg=s640-h400-e365-rw

https://lh6.googleusercontent.com/VECyNYArx7ppxsWD9slRA75Gx3ceZ3H6VjBgGG9bmmrIjiAo5CvSeOeu6NJ1EhOZlw29ZKbG3w=s640-h400-e365-rw


Title: Re: Biticker
Post by: GoWest on February 29, 2012, 03:38:40 AM
Well done.  Been waiting a long time for a good Bitcoin extension for Chrome.


Title: Re: Biticker
Post by: Tritonio on February 29, 2012, 04:31:43 AM
Thanks GoWest!

I also did just remove the Mt Gox permissions because a redditor was scared away from it and I now mirror the Mt Gox ticker myself on bittit.


Title: Re: Biticker
Post by: Garr255 on February 29, 2012, 07:20:51 AM
Sweet. Works well, thanks :D


Title: Re: Biticker
Post by: Clipse on February 29, 2012, 07:28:51 AM
Would be nice to be able to customze the graph options ie. manage it with similar options available on bitcoincharts but with easier access right from the button in chrome extensions.


Title: Re: Biticker
Post by: Tritonio on February 29, 2012, 04:15:32 PM
I'll put an option page. It will allow you to change the graph as you said as well as deactivate currencies you don't need.


Title: Re: Biticker
Post by: Tritonio on February 29, 2012, 07:41:50 PM
Done. I added more currencies and there is an option page which lets you deselect unneeded currencies, pick the currency that will be displayed in the ticker and also customize the URL of the graph. :-D I've also refactored the code and it's trivial to add more currencies. I'll probably let users pick their own currencies by code in a later version. We'll see...


Title: Re: Biticker
Post by: Tritonio on October 28, 2012, 01:06:01 PM
Added INR (Indian rupee). Please suggest more currencies to add if I am missing yours.

Openexchangerates is unfortunatelly no longer "open", it became a paid service. I switched to another source (that I host on my own).

Oh I also enbled a new feature in Chrome Market and you can leave feedback or ask questions from the extension's page directly. (there is "give feedback" link or something like that)


Title: Re: Biticker
Post by: Tritonio on December 17, 2012, 03:13:11 AM
Added:

XAU: Gold ounce      
XAG: Silver ounce      
XPT: Platinum ounce      
XPD: Palladium ounce

Now it must be the only converter that supports bitcoins, second life dollars and precious metals. ;-)


Title: Re: Biticker
Post by: videos4btc on December 17, 2012, 03:38:30 AM
Added:

XAU: Gold ounce      
XAG: Silver ounce      
XPT: Platinum ounce      
XPD: Palladium ounce

Now it must be the only converter that supports bitcoins, second life dollars and precious metals. ;-)

Thanks for the service I use it all the time!


Title: Re: Biticker
Post by: Tritonio on December 30, 2012, 02:55:09 AM
Added Namecoin and Litecoin. Also centralized and mirrored all the currency data on my servers so that permissions asked are even fewer and all exchange rates can now be fetched in a single request. I also mirror the two default graphs on my server to avoid straining bitcoincharts since the Biticker's userbase is growing.

Next version will properly utilize the new Chrome API so that the whole thing might use less RAM and CPU (although neither has ever been in issue IMO). In other words I will remove the background page of the extension and replace it with alarms or what you have (I don't remember how Chrome calls them).

Are there any other weird/virtual/crypto currencies that you would like to be added? Or normal currencies of course.

EDIT: 1.6.0 is out which adds color codes to currencies and a few more currencies.


Title: Re: Biticker - Currency converter for Chrome
Post by: Tritonio on January 08, 2013, 03:24:18 PM
It now remembers the last value your wrote and whenever you reopen the converter window it will be loaded at the proper place and all conversions will be updated. So for example you might want to input "1" into XAU (Gold ounces) to see the current gold price immediatelly whenever you open the window.

Also as I said in my previous edit, currencies are color coded. Yellow for precious metals, green for fiat, blue for cryptocurrencies and light green for linden dollars which is fiat but maybe even worse. ;-)


Title: Re: Biticker - Currency converter for Chrome
Post by: Tritonio on February 20, 2013, 01:21:39 AM
1.8.1 is out.

Changes:

Desktop notifications for when the BTC prices exceeds some user defined limits.
Now the current Bitcoin price is used instead of the average because the average looks like it is lagging (it is not). You can still select to use the average from the options page.
Revamped the options page a bit.
Server messages will pop up announcing new features, problems or whatever. You can turn those off from the options page.
Changed the tooltip of the Biticker button to show BOTH average and current rate.
Put a big icon that opens the option page on the top left corner of the currency converter in case someone doesn't know how to open option pages in Chrome.
Fixed SLL rate.

Thanks to everyone for the feedback!


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Vernon715 on February 20, 2013, 11:23:58 AM
You should use the average price from multiple exchanges, not just mt. Gox.


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Tritonio on February 20, 2013, 02:35:24 PM
You should use the average price from multiple exchanges, not just mt. Gox.

I'll make it so that the average price takes Bitstamp into account too. The current price will still be coming from Mt Gox though since that's the one that changes the fastest.


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Vernon715 on February 22, 2013, 12:54:08 AM
You should use the average price from multiple exchanges, not just mt. Gox.

I'll make it so that the average price takes Bitstamp into account too. The current price will still be coming from Mt Gox though since that's the one that changes the fastest.

Sounds great.


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: bbit on February 22, 2013, 01:19:52 AM
Thank you for making this!  ;D


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Tritonio on February 25, 2013, 06:20:33 PM
You should use the average price from multiple exchanges, not just mt. Gox.

I'll make it so that the average price takes Bitstamp into account too. The current price will still be coming from Mt Gox though since that's the one that changes the fastest.

Sounds great.

It's done, in cased you missed the server notification.

And in case anyone is interested in the details here is how I calculate the average currently:

This runs every minute: (but doesn't necessarily query Bitstamp and MtGox every minute)

BitstampAverage=BitstampAverage*0.9872+CurrentBitstamp*(1-0.9872)
BitcoinAverage=0.6*MtGoxAverage+0.4*BitstampAverage

(MtGoxAverage is taken from https://mtgox.com/code/ticker.php which is API v0 so it's not the same as the one shown on their main page)
0.9872 is chosen so that BitstampAverage is 99% affected by the prices in the last ~6 hours, 90% affected by Bitstamp prices in the last ~3 hours and 50% by the last ~54 minutes.
I wish I knew what kind of average is the Mt Gox average in API v0 so that I could use the same for Bitstamp...


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Tritonio on February 26, 2013, 12:31:44 PM
Question: When price exceeds the limits and a desktop notification is shown should I change the limits? Specifically:

1. If you set a high limit at 31 and the current price climbs to 31.2, should I increase the high price to 31.2?
2. Should I leave the limits as they are but instead never show a new notification unless the price first falls back in the limits?
3. Maybe it would make sense to widen the limits to include the *average* ONLY if the average also goes off limits? (I think this would be confusing for the users that don't know this detail though so I'd rather avoid this solution)

Currently it will just keep poping up the notification every 5 minutes as long as you don't change the limits manually.


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Vernon715 on March 01, 2013, 04:34:18 PM
Question: When price exceeds the limits and a desktop notification is shown should I change the limits? Specifically:

1. If you set a high limit at 31 and the current price climbs to 31.2, should I increase the high price to 31.2?
2. Should I leave the limits as they are but instead never show a new notification unless the price first falls back in the limits?
3. Maybe it would make sense to widen the limits to include the *average* ONLY if the average also goes off limits? (I think this would be confusing for the users that don't know this detail though so I'd rather avoid this solution)

Currently it will just keep poping up the notification every 5 minutes as long as you don't change the limits manually.


I vote for 2. it is the most logical.


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Tritonio on March 26, 2013, 03:40:12 PM
Added IXcoin and PPcoin. We've almost reached 1000 users. :-)

I hope to make customizable graphs in the next version.


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Tritonio on April 09, 2013, 06:17:36 PM
Added Terracoin and Devcoin.


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Tritonio on May 22, 2013, 01:00:45 AM
Quite a few new features:

  • You can now select ANY combination of currencies for the ticker (like LTC/EUR, EUR/DVC, EUR/USD etc).
  • BTC ticker symbol is now the average BTC price, based on multiple exchanges.
  • New GOX ticker symbol is the current Mt Gox price.
  • Notifications for price of limits will not show a second time unless the price goes back within limits first.

There might also be new bugs, :D so if you see any don't forget to tell me about it!


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Tritonio on May 24, 2013, 01:46:56 PM
New version (2.2) coming up in a few minutes:

  • Option sound effects for notifications.
  • Bug fixes mostly around the background color of the ticker.

PS: easily customizable graphs will have to wait some more time before I figure out an efficient way to make them.


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Tritonio on July 07, 2013, 02:57:36 PM
Version 2.3 added support for Ripples (XRP).

EDIT:
Same day update: Version 2.4 adds MinCoin (MNC)


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Tritonio on July 15, 2013, 02:55:28 PM
Version 3.0.0 is out.

* The long promised graphs are here. They are far from perfect so give them a try and tell me what you think.
* New icon. The common bitcoin icon was... common, so I edited it a little.
* In the options page, you dont' have to click exactly on the checkbox of currencies and the option boxes, you can now also click around them in their cell and it will still work. Should make currency selection easier.


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: ptshamrock on July 26, 2013, 10:05:52 PM
very cool !!!


can you add the option to show graph as candlesticks? in 1/ 4h / 1day

then its perfect for me :)


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Tritonio on July 26, 2013, 10:14:11 PM
very cool !!!


can you add the option to show graph as candlesticks? in 1/ 4h / 1day

then its perfect for me :)

I've got the candlesticks in mind but I need to change some other things first in the graphs. For example if my server crashes for 24 hours, the graphs will PAUSE for 24 hours. And when it resumes generating graph points it will resume from the point it stopped! So the old parts will be "out of sync" sort  of. They will look like they were 30 hours ago (for example) but in reality those points will be 30+24=54 hours ago. I first need to fix this and then I'll probably do the candlesticks. Currently it's just to take a quick glance at what the price has been.

Do not forget that you can always use a custom graph URL!!! So you can go to bitcoincharts, generate your own custom chart and copy the url to biticker! (Just try to add a parameter to make the graph width 700px if possible, else it will be scaled.)


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: bbit on July 27, 2013, 05:03:27 PM
when the icon is red that means bitcoin is down right?


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Transisto on July 27, 2013, 10:49:17 PM
Like it ! ,,,

From the guy that brought you BitcoinPortable.au3 ;D

Nice to see you're still active.


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Tritonio on July 28, 2013, 09:40:30 AM
Like it ! ,,,

From the guy that brought you BitcoinPortable.au3 ;D

Nice to see you're still active.

Hello Transisto. Nice to see people sticking to my stuff. :-)

when the icon is red that means bitcoin is down right?

No the icon is always the same. I recently changed the icon to be reddish/lava-ish to distinguish it from the classic yellow/gold icon that many extensions use.
What actually shows the direction of the last price change is the background color of the ticker (the badge) itself. Red for falling, green for rising.

Also you can always switch back to the old yellow icon if you want. Go to the option's page, somewhere near the bottom.


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Tritonio on August 13, 2013, 12:01:57 AM
New features in v3.1.0: The custom graph gets tied to the conversion result when you click on some other currency in the converter! If you hover on Biticker's icon in your browser, you can now see the current difficulty too. Also some other minor changes.


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Tritonio on September 20, 2013, 03:16:53 PM
I added Coinbase Bitcoin (CBS) to the currency list. Updated version should be up in a few minutes.


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Tritonio on November 14, 2013, 09:24:54 PM
Added Hungarian forint.


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: BigLad on January 27, 2014, 01:11:17 PM
Any plans to add NXT to the list?

Great work BTW!!


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Felix_TeddMarketing on April 25, 2014, 09:51:47 AM
Tritonio, Hello! You've made an incredible extension!

My name is Felix Griffin and I represent TeddMarketing agency.
My client is a bitcoin exchange [urhttps://hitbtc.com/l]hitbtc[/url].

Hitbtc was built on top of modern technologies to provide fast, secure and reliable service.

Customers appreciate fast order execution, convenient ways to add deposit and withdraw and competitive client service. Newcomers like intuitive user-friendly interface and easy-to-start platform.

According to bitcoincharts statistics, hitbtc is on 2nd place in EUR and 6th in USD trading volume between all exchanges.

I would like hitbtc to be listed in your extension.

You can find api documentation to add hitbtc to your site here. If you'll have more questions please feel free to ask me personally or hitbtc support.


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Tritonio on August 22, 2015, 11:19:05 AM
Fixed a couple of failing altcoins today, removed mincoin cause I can't find a proper place to get its exchange rate from and added Singapore dollar after a user request. The new version should be up shortly. Please tell me if I'm missing some fancy new altcoin that you'd like to be added. :-)

(@Felix: not sure how you want me to add hitbtc. It's not a different currency so I don't know what's there to add. I could add it to the BTC average price that I'm calculating but it's not that high volume yet I think, is it?)


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: mekler22 on December 21, 2016, 06:12:40 AM
Hi! I love this extension, but I found out that bitstamp value does not update correctly.. for instance, it's at 808.4 now, but it shows as 767 on the ticker..


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: sabbathhawk on August 16, 2017, 01:05:28 PM
Very nice! Good work! Thank you for your efforts. it's very useful, will be using it.


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: Sampisa on November 06, 2017, 03:42:23 PM
Hi,
graph is not working any more. I tried to build it invoking directly the url that builds it, but without any success. Is it possible to fix it?
Thanks for the great tool :)
Sam


Title: Re: Biticker - Currency converter for Chrome with Desktop Notifications
Post by: alex04210 on November 23, 2017, 08:25:50 PM
Hi
I like your extension to Chrome, thank you! However, I have some issues. The size of digits is so big, that numbers (with 8 decimals long) are not fitting the size of their fields.