Title: Bitstamp API & Incapsula Post by: Malte on April 14, 2014, 04:11:15 AM Hi there,
I have a trading bot that was running like a charm for a couple of months... but recently I started getting trouble with the Bitstamp API. According to the docs you are allowed to do 600 requests in 10 minutes (so 1/sec). I request the orderbook every 2 seconds with occasional trading (< 20 trades a day). So I should be well inside that limit. (I know there is now an official documentation for their streaming API but I have not implemented that yet). From time to time I my bot was blocked by Incapsula (their DDOS protection provider). In that case I just waited a couple of minutes and restarted the script... but this doesn't work any longer. My IP seems to be blacklisted. Incapsula tries to show a captcha, but I cannot see it because I don't have a browser with JavaScript nor a way to display images there (just using a plain linux box over ssh). Has anyone encountered the same issues? How long do I have to wait until my IP gets unblocked? And what is a safe way to stay under the radar from Incapsula? Title: Re: Bitstamp API & Incapsula Post by: Malte on April 14, 2014, 12:55:35 PM Reddit (by someone else) (http://www.reddit.com/r/Bitcoin/comments/22zplb/bitstamp_api_incapsula_incidents/) shows me I am not alone.. even after suspending my bot for a good night's sleep, IP still seems to be blocked (failing on first attempt).
Title: Re: Bitstamp API & Incapsula Post by: general lee on April 18, 2014, 02:44:40 PM I really like bitstamp API :)
Title: Re: Bitstamp API & Incapsula Post by: cozytrade on April 18, 2014, 09:24:27 PM I really like bitstamp API :) HTTP or Websocket? |