Domchi (OP)
|
|
June 22, 2015, 08:45:36 AM |
|
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.
|
|
|
|
japerry
|
|
July 16, 2015, 11:04:15 AM |
|
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: Bitfinexexchange URL: https://api.bitfinex.com/v1/pubticker/BTCUSDexhange 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)
|
|
July 16, 2015, 02:03:15 PM |
|
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
|
|
July 17, 2015, 08:03:45 AM |
|
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)
|
|
July 17, 2015, 05:50:15 PM |
|
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
|
|
July 17, 2015, 06:21:30 PM |
|
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
|
|
|
|
Domchi (OP)
|
|
July 19, 2015, 05:06:29 PM |
|
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.
|
|
|
|
Domchi (OP)
|
|
August 05, 2015, 09:00:32 PM |
|
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
|
|
August 06, 2015, 11:19:31 AM |
|
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
|
|
July 29, 2016, 11:55:07 AM |
|
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
|
|
|
|
Shiroslullaby
|
|
July 29, 2016, 12:07:32 PM |
|
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)
|
|
July 29, 2016, 10:28:10 PM |
|
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
|
|
July 30, 2016, 08:54:50 AM |
|
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
Activity: 1231
Merit: 1018
|
|
January 18, 2017, 08:32:42 AM |
|
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)
|
|
January 18, 2017, 12:22:24 PM |
|
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
Activity: 1231
Merit: 1018
|
|
January 18, 2017, 12:50:35 PM |
|
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)
|
|
January 18, 2017, 01:04:14 PM |
|
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
Activity: 1231
Merit: 1018
|
|
January 18, 2017, 02:06:14 PM |
|
Great, if I clean all secondary fields also primary exchange is working. Thank you for your short and great help!
|
|
|
|
budjang_l
Newbie
Offline
Activity: 2
Merit: 0
|
|
July 06, 2017, 08:43:59 PM Last edit: July 06, 2017, 09:31:46 PM by budjang_l |
|
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.
|
|
|
|
|