Pages:
Author

Topic: [ANNOUNCE] MyCoins - Windows gadget for any currency (Read 5391 times)

sr. member
Activity: 520
Merit: 269
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/
sr. member
Activity: 520
Merit: 269
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
newbie
Activity: 9
Merit: 0
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.

sr. member
Activity: 520
Merit: 269
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.
sr. member
Activity: 520
Merit: 269
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.
sr. member
Activity: 520
Merit: 269
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/
sr. member
Activity: 520
Merit: 269
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.
sr. member
Activity: 520
Merit: 269
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
sr. member
Activity: 520
Merit: 269
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.
sr. member
Activity: 520
Merit: 269
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 BTC ticker which has more liquidity instead of USD (if it even exists) 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 is not available).
sr. member
Activity: 520
Merit: 269
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 BTC ticker which has more liquidity instead of USD (if it even exists) and have gadget display it in USD.
sr. member
Activity: 520
Merit: 269
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. Smiley
  • 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
sr. member
Activity: 520
Merit: 269
If others would like to use BitStamp for the BTC current price etc. I just found out:

Enter https://www.bitstamp.net/api/ticker/ as primary
As the exchange rate key just write: last
in the Fields any of the 5 keys (from the BitStamp API info page) will go. E.g:
Field 1 label: high
Field 1 json key: high
Field 2 label: low
Field 2 json key: low
and so forth..

I'm sorry, Bitstamp will not work for MyCoins until I release the next version (soon, I promise) with Bitstamp fix from MyBitcoins. In the meantime, you can use MyBitcoins for Bitstamp.
full member
Activity: 588
Merit: 100
The textured background is a bit cheesy.
A plain dark grey background with some orange, pink or light blue text would look great.
sr. member
Activity: 420
Merit: 250
"to endure to achieve"
If others would like to use BitStamp for the BTC current price etc. I just found out:

Enter https://www.bitstamp.net/api/ticker/ as primary
As the exchange rate key just write: last
in the Fields any of the 5 keys (from the BitStamp API info page) will go. E.g:
Field 1 label: high
Field 1 json key: high
Field 2 label: low
Field 2 json key: low
and so forth..
sr. member
Activity: 420
Merit: 250
"to endure to achieve"
what/how do I enter to get e.g. DOGE or EAC into MyCoin?
sr. member
Activity: 520
Merit: 269
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/mycoins

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
sr. member
Activity: 520
Merit: 269
We should ask Vircurex to give an exposed Ticker API so we can use TRC with it.

Great job!

It turns out that since we talked about this both Vircurex and BTC-E added TRC (and PPC and more). So, here are the instructions how to set gadget for TRC and PPC for both exchanges. Just go into settings and change the following values:

For PPC (BTC-E):
Main currency label: PPC
Correction: 1 (or any other amount you wish)
Primary exchange URL: https://btc-e.com/api/2/ppc_btc/ticker
Exchange rate JSON key: sell
Ticker currency: BTC
Field 1 JSON key: sell
Field 2 JSON key: last
Field 3 JSON key: buy

For PPC (Vircurex):
Main currency label: PPC
Correction: 1 (or any other amount you wish)
Primary exchange URL: https://vircurex.com/api/get_info_for_1_currency.json?base=PPC&alt=BTC
Exchange rate JSON key: last_trade
Ticker currency: BTC
Field 1 JSON key: lowest_ask
Field 2 JSON key: last_trade
Field 3 JSON key: highest_bid

For TRC (BTC-E):
Main currency label: TRC
Correction: 1 (or any other amount you wish)
Primary exchange URL: https://btc-e.com/api/2/trc_btc/ticker
Exchange rate JSON key: sell
Ticker currency: BTC
Field 1 JSON key: sell
Field 2 JSON key: last
Field 3 JSON key: buy

For TRC (Vircurex):
Main currency label: TRC
Correction: 1 (or any other amount you wish)
Primary exchange URL: https://vircurex.com/api/get_info_for_1_currency.json?base=TRC&alt=BTC
Exchange rate JSON key: last_trade
Ticker currency: BTC
Field 1 JSON key: lowest_ask
Field 2 JSON key: last_trade
Field 3 JSON key: highest_bid
legendary
Activity: 1204
Merit: 1002
RUM AND CARROTS: A PIRATE LIFE FOR ME
We should ask Vircurex to give an exposed Ticker API so we can use TRC with it.

Great job!
sr. member
Activity: 520
Merit: 269
Please update - new version is available now.
Pages:
Jump to: