Bitcoin Forum
May 05, 2024, 01:33:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 »  All
  Print  
Author Topic: Bitcoin Windows gadget which displays BTC and currency amounts  (Read 69154 times)
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 516
Merit: 268


View Profile
June 22, 2015, 08:45:36 AM
 #141

Easy, I do not mean to denigrate your site, as far as i see guys here looks like they haven't any problem. Oke i will check carefully, but make sure to check the site always clean.
~iki

Oh, sorry if it seemed that way - don't take me wrong, I'm glad (and thankful) you've reported this. If you didn't, I wouldn't know about it, and people would be afraid to use (hopefully) useful gadget.

Site is clean, that's the first thing I checked, files haven't been modified since my last update. There's always a possibility that someone has hacked it and embedded some sort of malware on it.
1714872784
Hero Member
*
Offline Offline

Posts: 1714872784

View Profile Personal Message (Offline)

Ignore
1714872784
Reply with quote  #2

1714872784
Report to moderator
1714872784
Hero Member
*
Offline Offline

Posts: 1714872784

View Profile Personal Message (Offline)

Ignore
1714872784
Reply with quote  #2

1714872784
Report to moderator
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714872784
Hero Member
*
Offline Offline

Posts: 1714872784

View Profile Personal Message (Offline)

Ignore
1714872784
Reply with quote  #2

1714872784
Report to moderator
japerry
Sr. Member
****
Offline Offline

Activity: 306
Merit: 250



View Profile WWW
July 16, 2015, 11:04:15 AM
 #142

I was wondering if anyone has gotten this gadget to work with Bitfinex? I'm not a programmer by any means but I'd like to be able to use btcusd on Bitfinex? Can anyone help?


Hi japerry,

it's simple, go to gadget settings (wrench icon) and set change the following options:

Bitfinex
exchange URL: https://api.bitfinex.com/v1/pubticker/BTCUSD
exhange rate JSON key: last_price
field 1 JSON key: ask
field 2 JSON key: last_price
field 3 JSON key: bid


Works like a dream! Thanks!!


Hmm... Looks like it stopped working about a week ago. All I get is N/A now. Would it be possible for someone to help guide me to see if Bitfinex has changed their API or something? I've unloaded and reloaded/reconfigured the gadget per the instructions in the previous message. Any help would be greatly appreciated!

UPDATE: Nevermind! It's working now!!



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

Activity: 516
Merit: 268


View Profile
July 16, 2015, 02:03:15 PM
 #143

Hmm... Looks like it stopped working about a week ago. All I get is N/A now. Would it be possible for someone to help guide me to see if Bitfinex has changed their API or something? I've unloaded and reloaded/reconfigured the gadget per the instructions in the previous message. Any help would be greatly appreciated!

UPDATE: Nevermind! It's working now!!

I've noticed this a few days ago and went investigating. It seems that Bitfinex is using some sort of new anti-DDoS system - when the gadget doesn't update it is actually getting message that it's blocked. I haven't been able to find out what triggers it, but it's not just IP block, it's based on type of browser as well. It seems they blocked Internet Explorer (which is used by gadget) specifically. After a while this went away for me as well.

Perhaps choosing larger update interval in gadget would help, but there is no way of telling. I think that it's not about frequency of requests. Some sort of heuristics figured out that IE should be blocked for a while. Maybe they had DDoS attack that used or emulated IE.
japerry
Sr. Member
****
Offline Offline

Activity: 306
Merit: 250



View Profile WWW
July 17, 2015, 08:03:45 AM
 #144


I've noticed this a few days ago and went investigating. It seems that Bitfinex is using some sort of new anti-DDoS system - when the gadget doesn't update it is actually getting message that it's blocked. I haven't been able to find out what triggers it, but it's not just IP block, it's based on type of browser as well. It seems they blocked Internet Explorer (which is used by gadget) specifically. After a while this went away for me as well.

Perhaps choosing larger update interval in gadget would help, but there is no way of telling. I think that it's not about frequency of requests. Some sort of heuristics figured out that IE should be blocked for a while. Maybe they had DDoS attack that used or emulated IE.

Thanks! Let us know if you find anything? BTW I've decreased the polling rate to 120 seconds and it seems to work much better now.


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

Activity: 516
Merit: 268


View Profile
July 17, 2015, 05:50:15 PM
 #145

Thanks! Let us know if you find anything? BTW I've decreased the polling rate to 120 seconds and it seems to work much better now.

Well, Bitfinex is using Incapsula (https://www.incapsula.com/) which uses who-knows-what voodoo to detect suspicious connections. In this case it presents captcha and MyBitcoins gadget (obviously) fails the captcha test.

It's not due to number of requests - I've had it happen when gadget is set to poll Bitfinex once in 10 minutes, and their official API limit is 60 times per minute.

It makes no sense to have captcha protecting API endpoint, but that's how it goes with those CDNs that are optimized to work with websites instead of APIs... I've contacted Bitfinex support and reported this, I'll update here if it goes anywhere.
japerry
Sr. Member
****
Offline Offline

Activity: 306
Merit: 250



View Profile WWW
July 17, 2015, 06:21:30 PM
 #146

Thanks! Let us know if you find anything? BTW I've decreased the polling rate to 120 seconds and it seems to work much better now.

Well, Bitfinex is using Incapsula (https://www.incapsula.com/) which uses who-knows-what voodoo to detect suspicious connections. In this case it presents captcha and MyBitcoins gadget (obviously) fails the captcha test.

It's not due to number of requests - I've had it happen when gadget is set to poll Bitfinex once in 10 minutes, and their official API limit is 60 times per minute.

It makes no sense to have captcha protecting API endpoint, but that's how it goes with those CDNs that are optimized to work with websites instead of APIs... I've contacted Bitfinex support and reported this, I'll update here if it goes anywhere.

Thanks! I noticed the gadget is not displaying N/A but it's not updating either. It just shows the last price it was able to get whenever that was Sad


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

Activity: 516
Merit: 268


View Profile
July 19, 2015, 05:06:29 PM
 #147

It makes no sense to have captcha protecting API endpoint, but that's how it goes with those CDNs that are optimized to work with websites instead of APIs... I've contacted Bitfinex support and reported this, I'll update here if it goes anywhere.

I've talked Bitfinex and they basically say that they've had a large-scale DDoS attack for the last week or so, and that captcha will go away once the DDoS ceases.

Unfortunately nothing can be done in the meantime except perhaps switching to Bitstamp or some other ticker.  Sad
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 516
Merit: 268


View Profile
August 05, 2015, 09:00:32 PM
 #148

To anyone having problems with MyBitcoins gadget and Bitfinex prices - after a few weeks of back and forth with them, I'm happy to say that Bitfinex has removed the rule blocking IE and thus the gadget from fetching prices. Please let me know either here or in PM if anyone is still experiencing issues with Bitfinex.
japerry
Sr. Member
****
Offline Offline

Activity: 306
Merit: 250



View Profile WWW
August 06, 2015, 11:19:31 AM
 #149

To anyone having problems with MyBitcoins gadget and Bitfinex prices - after a few weeks of back and forth with them, I'm happy to say that Bitfinex has removed the rule blocking IE and thus the gadget from fetching prices. Please let me know either here or in PM if anyone is still experiencing issues with Bitfinex.

Excellent Domchi! Thanks for the update!


japerry
Sr. Member
****
Offline Offline

Activity: 306
Merit: 250



View Profile WWW
July 29, 2016, 11:55:07 AM
 #150

Does anyone have an example of how to get the gadget to work with BTC-USD on bitcoinaverage.com? I don't understand their API  Cry

Shiroslullaby
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250



View Profile
July 29, 2016, 12:07:32 PM
 #151

Very cool project!
I'll have a look at it later today, but have a quick question-

is this just connecting to the sites like a normal web browser- port 80 http connection?
(wondering from a security perspective as I might try to connect at work behind a strict firewall that may not allow all traffic out.)

Also I think having it update once every one to five minutes is probably fine.
Unless you are doing real-time trading the price of BTC moving over five minutes is probably not that much to cause any issues.

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

Activity: 516
Merit: 268


View Profile
July 29, 2016, 10:18:20 PM
 #152

Does anyone have an example of how to get the gadget to work with BTC-USD on bitcoinaverage.com? I don't understand their API  Cry

This should do it, using their BETA API. (For v1 API that is to be depreciated, the link is https://api.bitcoinaverage.com/ticker/USD/ and other values the same, but they recommend using BETA.)

BitcoinAverage
exchange URL: https://apiv2.bitcoinaverage.com/indices/global/ticker/BTCUSD
exhange rate JSON key: last
field 1 JSON key: ask
field 2 JSON key: last
field 3 JSON key: bid
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 516
Merit: 268


View Profile
July 29, 2016, 10:28:10 PM
 #153

is this just connecting to the sites like a normal web browser- port 80 http connection?
(wondering from a security perspective as I might try to connect at work behind a strict firewall that may not allow all traffic out.)

Also I think having it update once every one to five minutes is probably fine.
Unless you are doing real-time trading the price of BTC moving over five minutes is probably not that much to cause any issues.

The gadget is using Internet Explorer in the background, with all your current IE proxy and other settings, so it should work for any URL that is not blocked by your company firewall. Depending on exchange, this is usually either http (port 80) or https (port 443) GET connection, which are usually enabled by default unless specifically blocked by your network administrator. If you can access URL in browser, gadget will also be able to access it.

And you're correct, by default gadget updates every 10 minutes (mining defaults) which is enough for non-traders, and if you choose trading setup it will update once every minute, which can be changed to less. Exchanges usually have minimum period between requests that you should respect while setting up update frequency.
japerry
Sr. Member
****
Offline Offline

Activity: 306
Merit: 250



View Profile WWW
July 30, 2016, 08:54:50 AM
 #154

is this just connecting to the sites like a normal web browser- port 80 http connection?
(wondering from a security perspective as I might try to connect at work behind a strict firewall that may not allow all traffic out.)

Also I think having it update once every one to five minutes is probably fine.
Unless you are doing real-time trading the price of BTC moving over five minutes is probably not that much to cause any issues.

The gadget is using Internet Explorer in the background, with all your current IE proxy and other settings, so it should work for any URL that is not blocked by your company firewall. Depending on exchange, this is usually either http (port 80) or https (port 443) GET connection, which are usually enabled by default unless specifically blocked by your network administrator. If you can access URL in browser, gadget will also be able to access it.

And you're correct, by default gadget updates every 10 minutes (mining defaults) which is enough for non-traders, and if you choose trading setup it will update once every minute, which can be changed to less. Exchanges usually have minimum period between requests that you should respect while setting up update frequency.

Thanks again! I LOVE this widget!

Wed
Legendary
*
Offline Offline

Activity: 1231
Merit: 1018



View Profile
January 18, 2017, 08:32:42 AM
 #155

Hey,
is this still in development or maintenance?
I'm trying to get my own json API to work but I isn't working.

"rate_weighted" from https://api.wedtec.net/cryptocoins/index.php?bitcoin

Any idea why it isn't working?
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 516
Merit: 268


View Profile
January 18, 2017, 12:22:24 PM
 #156

Hey,
is this still in development or maintenance?
I'm trying to get my own json API to work but I isn't working.

"rate_weighted" from https://api.wedtec.net/cryptocoins/index.php?bitcoin

Any idea why it isn't working?

Yes it is.

If you're using https://api.wedtec.net/cryptocoins/index.php?bitcoin as secondary exchange, and rate_weighted as Field 1 JSON key, make sure that you clear Field 2 JSON key and Field 3 JSON key. Or, to put it another way, all JSON keys must exist in response (exchange rate JSON key on primary exchange as well).

If this doesn't help, please share your settings and I'll take a look.
Wed
Legendary
*
Offline Offline

Activity: 1231
Merit: 1018



View Profile
January 18, 2017, 12:50:35 PM
 #157

I tried it for the primary exchange.
With secondary exchange it works like a charm.
Thank you for your help.

Is it possible to hide top and bottom line? In other words primary exchange?
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 516
Merit: 268


View Profile
January 18, 2017, 01:04:14 PM
 #158

I tried it for the primary exchange.
With secondary exchange it works like a charm.
Thank you for your help.

Is it possible to hide top and bottom line? In other words primary exchange?

It should also work for the primary exchange, but make sure that JSON fields for the secondary exchange are empty (or have something that parses in them).

It's not possible to hide top field, but it's possible to choose what is displayed in top field and/or hide the bottom field. Play with the first two (or three) options in settings under General section.
Wed
Legendary
*
Offline Offline

Activity: 1231
Merit: 1018



View Profile
January 18, 2017, 02:06:14 PM
 #159

Great,
if I clean all secondary fields also primary exchange is working.
Thank you for your short and great help!
budjang_l
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
July 06, 2017, 08:43:59 PM
Last edit: July 06, 2017, 09:31:46 PM by budjang_l
 #160

Hi Domchi,

I'm start using your gadget this couple days to check Bitgrail market. But recently it didn't show any info from https://bitgrail.com/api/v1/BTC-XRB/ticker, just zero. Is there anything wrong?

Update:
It seems the problem wasn't in your gadget. It's because of Bitgrail recent DDOS protection. Grin
Pages: « 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 »  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!