I can't believe I'm offering advice to someone who wants to build a bot. It's a very bad idea and you could end up losing a lot. But, make sure you take into transaction fees and delayed market data. Also be sure not to DOS their API or they may blacklist you.