Bitcoin Forum
June 23, 2024, 11:32:23 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitstamp API & Incapsula  (Read 811 times)
Malte (OP)
Member
**
Offline Offline

Activity: 63
Merit: 10



View Profile
April 14, 2014, 04:11:15 AM
 #1

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?

Malte (OP)
Member
**
Offline Offline

Activity: 63
Merit: 10



View Profile
April 14, 2014, 12:55:35 PM
 #2

Reddit (by someone else) 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).
general lee
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
April 18, 2014, 02:44:40 PM
 #3

I really like bitstamp API Smiley
cozytrade
Sr. Member
****
Offline Offline

Activity: 1144
Merit: 310


Next Generation Web3 Casino


View Profile
April 18, 2014, 09:24:27 PM
 #4

I really like bitstamp API Smiley

HTTP or Websocket?

█████████████▄▄▄▄▄▄▄█████▄
█████████████▄▀███████▄▄
███████▄▄████▀▄██▀▀█▀██▄▄▄██▄▄
█████▄████████████████▄▀█▄██████▄▄
████▀▄█▄█████████████████▄▀█████████▄
░▄█████████████████████▄▄▄██████████
█████████████████████████████████
▀████████████████████▀██████▌████
░▀████████████████████▀▄█▀███▀████
░░▀███████████▀████████▀▄███████
███▀█████████████▀██████████████
████▀████████████████▀██████████
█████▀██▀▀██████████████▀█████▀

██████    ██
██
██
██
██
██
██
██
██
██
██████████
       ▄▄▄██▄▄▄
    ▄███████████▄
    █████████████▄
   ███████████████
▄█████████████████▄
▀▀▀▀█████████████▀██
    ▀█████████████▄
    ▄▀█████████████▄
   █▀ ▀▀▀██████████▌
▐███    ▄█████████▀▀
 ▀▀     ▄█████▀▀
       ███▀▀
      ██▀

██████
██
██
██
██
██
██
██
██
██
██████
Pages: [1]
  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!