Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: Domchi on March 11, 2012, 11:11:43 PM



Title: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on March 11, 2012, 11:11:43 PM
Based on my BTC Windows gadget (https://bitcointalk.org/index.php?topic=38450.msg471136), and inspired by StewartJ, I created the new gadget for Litecoin - now with expanded view for traders.

It can be configured to connect to up to 3 mining pools, fetch confirmed or unconfirmed rewards, payouts or whatever data is available. It can also connect to preferred exchange and get USD rate, and optionally connect to Yahoo Finance! and convert USD to any world currency.

Additionally, you can "correct" the shown amounts by adding or subtracting any amount of LTC; for example, to include LTC amount you exchanged or spent.

If you like it, you can let me know in this thread, or by sending some litecoins to this Litecoin address: LcJ5GinEXzyHzvYB3NfycARqhAYN8Jh8mo

Download link: http://www.domchi.cc/mylitecoins/ (http://www.domchi.cc/mylitecoins/)



Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Cosbycoin on March 12, 2012, 08:41:04 PM
Nice GUI  ;D


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: LiteBit on March 14, 2012, 04:42:40 PM
This is cool!

We created a Project Page for this to help drum up interest...
https://litebit.co/project-item/litecoin-gadget/


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: StewartJ on March 14, 2012, 10:21:58 PM
Thanks Domchi,

Excellent job on this very handy and functional LTC price ticker.

Will be sending LTC donation your way, and encourage anyone who finds this tool useful
to do the same.

Stewart


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on August 08, 2012, 10:34:13 PM
If anybody is wondering why the gadget stopped showing exchange rates...

As of August 9th 2012 BTC-E API URLs that are used by default have changed; please either download the new version of the gadget with the new defaults, or change your exchange URL to https://btc-e.com/api/2/ltc_btc/ticker or https://btc-e.com/api/2/ltc_usd/ticker


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: armodar on August 24, 2012, 04:00:01 PM
domchi cool app but please make the gadget truly international:

my OS is in german and did not recognise the gadget until i changed the en-US script folder in de-DE

so please create identical folders like en-US for all major distributions for windows7, those are:

en-US
de-DE
et
fr-FR
it-IT
ro
pt-PT
sk
pl
sv-SE
es-ES


Cheers,
Armodar

EDIT: seems to be an update issue, for some reason on my pc it just does not update the stats


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: tatsuchan on August 25, 2012, 02:40:27 PM
There is a market for the MAC with this kind of easy programmer stuff.  Wish I could knew how to do it.


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: BobbyJo on August 25, 2012, 09:43:42 PM
Loving your work.  Both the LTC and BTC gadgets are very useful!


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Greedi on August 25, 2012, 09:59:01 PM
how do i get the to show the info from the API's?


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on August 28, 2012, 12:13:26 AM
domchi cool app but please make the gadget truly international:
my OS is in german and did not recognise the gadget until i changed the en-US script folder in de-DE

Hi Armodar, thanks for suggestion - the next version (coming soon) will have globalization support and work on German and all other versions of Windows. No localization though since I don't speak German. :)

EDIT: seems to be an update issue, for some reason on my pc it just does not update the stats

There are two reasons stats might not get updated - first is update interval (check exchange data update interval in configuration), and the second is if anything goes wrong with fetching the new data from the feed. Old data is displayed until there's an successful update. You can force refresh by opening and closing settings. Also, be warned - some exchanges will block your IP if you request updates too often.


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on August 28, 2012, 12:18:10 AM
how do i get the to show the info from the API's?

Hi Greedi,

the gadget should show some info as soon as it's started. Instructions on how to set it up with a custom exchange are on the gadget page (http://domchi.cc/mylitecoins/ (http://domchi.cc/mylitecoins/)) under "Configuring exchanges and pools" section. If you specify what exactly you want to show, I might be able to help some more.


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Greedi on August 28, 2012, 01:47:54 PM
how do i get the to show the info from the API's?

Hi Greedi,

the gadget should show some info as soon as it's started. Instructions on how to set it up with a custom exchange are on the gadget page (http://domchi.cc/mylitecoins/ (http://domchi.cc/mylitecoins/)) under "Configuring exchanges and pools" section. If you specify what exactly you want to show, I might be able to help some more.

sorry, i forgot to include pool :)

so, it was, how does the Pool API works?, since i can get anything from my pools to be shown


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on August 28, 2012, 10:48:02 PM
so, it was, how does the Pool API works?, since i can get anything from my pools to be shown

Well, here goes - feel free to skip the parts you already know.

First you need to login to your pool account and figure out your pool API key, and the link to retrieve your pool data. Most pools display this link somewhere in the account settings. Then you can use your browser to visit this link and observe the structure. You'll probably be interested in two values:
1. unpaid amount (the amount you can cash out from the pool) - something like "confirmed_reward"
2. paid amount (the amount you cashed out already) - something like "payout_history"

Now, to configure the gadget.

Go to the gadget configuration. You'll probably want to choose the mining presets and click Apply. This uses default settings for more miner-friendly setup. Then, to configure the pool go to Pool #1 section. Here's where you should enter your pool API URL. You also need to enter at least one JSON key (the keys of the unpaid and paid amounts). The process is the same for the second and third pool.

There is also one other important setting under General section - correction amount. This is any amount that you wish to add (or subtract) to the amount being displayed.

Let me give a few examples.

1. You wish to know how much USD you have tied in the pool. You enter your pool API and unpaid JSON key. You leave correction amount at 0. The gadget now displays the amount you can cash out. Exchange is configured by default (BTC-E) but you can use another - check gadget page for instructions how to configure Vircurex (or any other exhange).
2. Maybe you want to display how much you've mined in total? Start with the settings in example 1 and add paid JSON key. Now the gadget will sum both paid and unpaid LTC from the pool, and convert it to USD.
3. Now, you've probably sold some of your LTC, or bought some LTC, and the example 2 is not really the exact sum of LTC you have in your wallet. That's what correction is for - sum all your payments except those related to the pool, and enter the amount you get in the correction field. That should give you the exact amount you have in your wallet, plus the amount that's still unpaid - that is, your LTC worth in USD.

As you can see, the gadget is very configurable and you can make it display almost anything you want - although it takes a bit to get to know different APIs.


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on September 02, 2012, 08:15:58 PM
New versions of both BTC and LTC gadgets are available. Two changes in this version:

1. Support for international Windows versions. Gadget wouldn't install on German windows (or any version other than en-US), and it would ignore decimals on correction values if Windows was setup to use comma instead of decimal point. If you encountered this problems, please download the newest version and give it a try.

2. Ability to use Javascript in JSON keys. The json object variable name is "json". That means that JSON key can be referenced from Javascript like this: json.ticker.last - which allows to retrieve data from more complicated JSON responses. The old way of referencing keys ("last") still works, but is not able to parse JSON responses where there are, say, two JSON keys with the requested name.


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on November 17, 2012, 03:42:36 AM
Hi everybody. Just to let you know that MyLitecoins gadget was updated today.

New feature is that now you can set alerts - when a certain amount is reached, value in gadget changes color to let you know that it's above or below threshold.

The Bitcoin gadget has received the same update, and there are two new gadgets available as of today: MyNamecoins gadget (http://www.domchi.cc/mynamecoins) and MyCoins gadget (http://www.domchi.cc/mycoins) which is a universal gadget that can display any currency. Check them out if you're interested.


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: BugSpirit on November 17, 2012, 04:03:02 AM
That's realy-realy nice! Send you some litecoins.  8)


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on November 17, 2012, 04:06:40 AM
That's realy-realy nice! Send you some litecoins.  8)

Thanks! :)


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: odolvlobo on November 19, 2012, 04:50:58 AM
I am using MyLitecoins and the values don't seem to be updating (or something). It has reported the same values for many hours now, even if I change the settings or reopen the gadget.

sell: 0.0618
last: 0.0618
buy: 0.0629
USD: 0.0618

Here is the json string from btc-e:

Code:
{"ticker":{"high":0.063,"low":0.05611,"avg":0.059555,"vol":1278.36,"vol_cur":20971.4,"last":0.063,"buy":0.06299,"sell":0.06156,"server_time":1353300441}}

Here is the configuration:

General
Correction: 1
Mining data: 10
update interval: 60

Primary
URL: https://btc-e.com/api/2/ltc_usd/ticker
key: last
currency: USD

Secondary:
URL:
label 1: sell
key 1: sell
label 2: last
key 2: last
label 3: buy
key 3: buy



Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: BugSpirit on November 19, 2012, 11:58:45 AM
Yeah, there are something strange with updates.


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Zedster on March 10, 2013, 04:00:09 PM
and this is where this died? too bad


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on March 24, 2013, 05:20:25 PM
Hi everyone,

the new version of the gadget is out which should fix any refresh problems. Please upgrade: http://www.domchi.cc/mylitecoins/ (http://www.domchi.cc/mylitecoins/)

Sorry for not updating earlier, it seems that notification that somebody replied didn't get to me... ???


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: wizzardTim on March 24, 2013, 05:47:58 PM
Omg, cant wait to try it  8) :)


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on July 08, 2013, 11:16:34 PM
Hi everybody,

the new versions of all gadgets are out. This is major and recomended update with bugfixes and quite a bit of new features.

As always, visit the gadget page to download it: http://domchi.cc/mylitecoins (http://domchi.cc/mylitecoins)

Please note that from now on you can subscribe to be notified about updates by e-mail.
And as a bonus, here's a tip how to use this gadget to retrieve data from Google Docs: http://domchi.cc/mybitcoins/tips.htm (http://domchi.cc/mybitcoins/tips.htm)


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: desii1 on January 29, 2014, 10:36:59 PM
Hi everyone,

the new version of the gadget is out which should fix any refresh problems. Please upgrade: http://www.domchi.cc/mylitecoins/ (http://www.domchi.cc/mylitecoins/)

Sorry for not updating earlier, it seems that notification that somebody replied didn't get to me... ???


Fantastic job on these gadgets.  One small request.  Can you add some sort of versioning?  It would be helpful.

Thanks again for your work.  Yes, I'll donate.. :)


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on January 31, 2014, 12:24:51 AM
Fantastic job on these gadgets.  One small request.  Can you add some sort of versioning?  It would be helpful.

Thanks again for your work.  Yes, I'll donate.. :)

Go to control panel, Desktop Gadgets (or Desktop Gadget Gallery), select gadget, and click on "Show Details" in the bottom left corner. You'll see gadget version there. And on the gadget page, in Changes section, you can see a changelog and the number of the most recent version.

New version of MyLitecoins is due in the next few days - lots of new changes in the recent MyBitcoins are due for MyLitecoins as well.

P.S. Donations much appreciated. :)


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Eddo22 on March 22, 2014, 12:44:41 AM
Hi, How can I change the lower space to Canadian dollars? I've tried numerous 3 letter acronym's to no luck. Thanks!


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on March 22, 2014, 10:38:23 AM
Hi, How can I change the lower space to Canadian dollars? I've tried numerous 3 letter acronym's to no luck. Thanks!

You just enter CAD as target currency. But there's a catch - by default you're looking at LTC-BTC exchange rate, and if you use CAD gadget will try to convert from BTC to CAD via Yahoo! Finance API, and Yahoo! doesn't know anything about BTC. So, you need to look at LTC-USD exchange rate instead - use https://btc-e.com/api/2/ltc_usd/ticker as exchange URL.


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on April 11, 2014, 01:07:32 AM
Hi guys,

new version is available for download. This gadget now has all changes that MyBitcons introduced in the previous, 4.0 version:

  • Trailing stop alerts as price passes set difference from the highest or lowest price to inform you about price reversals. Note that gadget will not buy and sell for you; it will simply change color to alert you. You have to do your own trading. :)
  • although originally correction could be a negative number, at some point this stopped working due to incorrect regex which is now corrected
  • 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
  • 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


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on June 16, 2014, 11:48:47 PM
Hi everybody. As the Yahoo! Finance added BTC symbol a few days ago, there is something this gadget can now do it wasn't able to do before. And it works without updating.

If you set target currency in settings, so far conversion was only working if your ticker currency was fiat currency such as USD, as Yahoo! didn't support digital currencies. But as of now, this Yahoo! Finance conversion works when your ticker currency is BTC as well.

This means that you can observe LTCBTC ticker which has more liquidity instead of LTCUSD and have gadget display it in USD.


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on January 09, 2015, 02:50:48 AM
Hi everybody. As the Yahoo! Finance added BTC symbol a few days ago, there is something this gadget can now do it wasn't able to do before. And it works without updating.

If you set target currency in settings, so far conversion was only working if your ticker currency was fiat currency such as USD, as Yahoo! didn't support digital currencies. But as of now, this Yahoo! Finance conversion works when your ticker currency is BTC as well.

This means that you can observe LTCBTC ticker which has more liquidity instead of LTCUSD and have gadget display it in USD.

It seems that Yahoo! Finance is broken for BTC at the moment (returns N/A and the chart at http://finance.yahoo.com/q?s=BTCUSD=X (http://finance.yahoo.com/q?s=BTCUSD=X) is not available).


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on January 10, 2015, 12:12:53 AM
It seems that Yahoo! Finance is broken for BTC at the moment (returns N/A and the chart at http://finance.yahoo.com/q?s=BTCUSD=X (http://finance.yahoo.com/q?s=BTCUSD=X) is not available).

Back again together with Bitstamp, as they apparently pull data from Bitstamp.


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on August 17, 2017, 09:24:54 PM
Version 3.1 is now available. The only difference in new version is the new default exchange. As BTC-e is likely not coming back, default exchange is now Poloniex. As always, you can use any exchange you want, so if you're using custom exchange, there is no need to download new version.


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on November 03, 2017, 12:21:56 PM
As of today, Yahoo! Finance has unexpectedly shut down the API this gadget was using for currency conversions. If you're using "Target currency" field you're affected. I'm working to switch to another API, please stand by.


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on November 03, 2017, 05:59:31 PM
Gadgets are now updated with a different conversion API. Please note that the new API has some built-in limits that you should probably be aware of. Exchange rates are refreshed every 30 minutes, so if you're converting from BTC your exchange rate might be slightly off, especially during major price swings. Also, please note that the new API limits usage to maximum of 100 requests per hour. In typical usage scenarios this should not be an issue, but if you use exchange update rate lower than 40 seconds, using "Target currency" field is probably not a good idea.

I apologize for any inconvenience this has caused. Yahoo! API has been a good and free service for the past 15 years and I'm sad to see it go.

You can download the new version on the gadget page: http://domchi.cc/mylitecoins/ (http://domchi.cc/mylitecoins/)


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on February 14, 2019, 07:10:12 PM
As of today (14th February 2019), third-party service that is used for fiat exchange rate (if you're using target currency field in settings) is no longer available due to change in licensing terms. I'm working on a fix and will update the gadget in the next few days.

I'd like this gadget to remain simple to use and free of any fees, even third-party ones. Of course, as always, donations are appreciated. :)

In the meantime, exchanges are slowly adding different stablecoins and fiat currencies, so whenever possible, use direct exchange rate from exchange if it's available.


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on February 17, 2019, 04:46:43 PM
The new version of the gadget is available. Please upgrade if your target currency field in settings is not blank.

Please note that gadget is using third party API for conversion to fiat. You'll have to register with third party API to continue using this feature (it's free and you don't have to leave any personal data apart from your e-mail). I'm not affiliated with this service in any way.


Title: Re: [ANNOUNCE] Litecoin Windows gadget which displays LTC and currency amounts
Post by: Domchi on October 08, 2019, 05:34:41 PM
New version of gadget is available. If you're using it, please download it as this fixes a bug where in certain conditions there are too many requests to the APIs.

You can download the new version on the gadget page: http://domchi.cc/mylitecoins/ (http://domchi.cc/mylitecoins/)