Bitcoin Forum
November 11, 2024, 04:29:11 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: [ANNOUNCE] MyCoins - Windows gadget for any currency  (Read 5403 times)
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 529
Merit: 271


View Profile
January 10, 2015, 12:15:00 AM
 #21

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 is not available).

Back again together with Bitstamp, as they apparently pull data from Bitstamp.
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 529
Merit: 271


View Profile
August 16, 2015, 04:32:11 AM
Last edit: August 18, 2015, 08:56:36 AM by Domchi
 #22

Just for the fun of it, here are MyCoins settings for ether for two major ether exchanges:

Poloniex

Customize top field: choose "hide top field"
Main currency label: ETH
Correction: 1
Primary exchange URL: https://poloniex.com/public?command=returnTicker
Exchange rate JSON key: json.BTC_ETH.last
Ticker currency: BTC
Field 1 JSON label: ask
Field 1 JSON key: json.BTC_ETH.lowestAsk
Field 2 JSON label: last
Field 2 JSON key: json.BTC_ETH.last
Field 3 JSON label: bid
Field 3 JSON key: json.BTC_ETH.highestBid

Kraken

Customize top field: choose "hide top field"
Main currency label: ETH
Correction: 1
Primary exchange URL: https://api.kraken.com/0/public/Ticker?pair=ETHXBT
Exchange rate JSON key: json.result.XETHXXBT.c[0]
Ticker currency: BTC
Field 1 JSON label: ask
Field 1 JSON key: json.result.XETHXXBT.a[0]
Field 2 JSON label: last
Field 2 JSON key: json.result.XETHXXBT.c[0]
Field 3 JSON label: bid
Field 3 JSON key: json.result.XETHXXBT.b[0]

Bonus tip: Want it to update faster than once every 10 minutes? Change exchange data update interval to 60 for 1 minute, or 30 for 30 sec. (Mind the exchange API limits though if you set even faster updates!)

EDIT: corrected Kraken URL and keys; copypasta error. Smiley
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 529
Merit: 271


View Profile
November 03, 2017, 12:23:16 PM
 #23

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.
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 529
Merit: 271


View Profile
November 03, 2017, 06:01:49 PM
 #24

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/mycoins/
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 529
Merit: 271


View Profile
February 14, 2019, 07:11:28 PM
 #25

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. Smiley

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.
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 529
Merit: 271


View Profile
February 17, 2019, 04:47:03 PM
 #26

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.
CyranodeB.
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
September 20, 2019, 06:48:43 AM
 #27

hi

could you please make an example for binance or/and bitfinex?

would be greatly helpful and appreciated.

thank you for your time and effort.

Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 529
Merit: 271


View Profile
September 20, 2019, 10:38:14 PM
 #28

could you please make an example for binance or/and bitfinex?

Sure. I'll do LTC, but you can substitute LTC with anything that's supported on the exchange.

Bitfinex

exchange URL: https://api.bitfinex.com/v1/pubticker/LTCBTC
exhange rate JSON key: last_price
ticker currency: BTC
field 1 JSON label: ask
field 1 JSON key: ask
field 2 JSON label: last
field 2 JSON key: last_price
field 3 JSON label: bid
field 3 JSON key: bid

Binance
exchange URL: https://api.binance.com/api/v3/ticker/24hr?symbol=LTCBTC
exhange rate JSON key: lastPrice
ticker currency: BTC
field 1 JSON label: ask
field 1 JSON key: askPrice
field 2 JSON label: last
field 2 JSON key: lastPrice
field 3 JSON label: bid
field 3 JSON key: bidPrice
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 529
Merit: 271


View Profile
October 08, 2019, 05:33:45 PM
 #29

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/mycoins/
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!