Luke Hill lukehill2019@unm.edu  


Updated June 17, 2021

CryptoBot

*Please note that this page is unfinished. Please check back soon for more detail

My cryptocurrency trading bot is a Python program that runs through the Robinhood API to buy and sell cryptocurrencies. It currently is very simple and hardly even uses a trading stradegy. I have deemed it the name "CryptoBot1" as it is the first of, hopefully, many versions of this bot.


How it works:

It's actually pretty simple. Since Robinhood has an API publicly avaliable, it made the rest really easy. I have the code set to log the bot into my account where it can access my wallet, make trades, etc. I have it set up to only monitor Dogecoin (yes, the meme coin. I like it because it's price is constantly fluctuating), however with the change of one variable, it could monitor any crypto on Robinhood. From there, it incorporates this very, very simple trading technique:

- Check the price of the coin
- Determine if last coin was bought, sold, or held on the last move
- If bought or sold, monitor price at trade and compare to price now
- Buy or sell if price has changed within a certain margin
- If coin was held (no play last move): do nothing.
- Repeat every 60 seconds

My goal for this first Bot is to have it make as many trades as possible, hopefully resulting in a profit of just a few cents an hour. Even this is pretty optimistic, but I am well on my way to achieving this goal. As I briefly mentioned above, I believe this is possible because of how much this coin in paticular fluctuates in price. In a single day, it can jump up several cents, fall back down, and then repeat again. For a long term investment, this is not good, of course. But for a bot that can make trades instantly at any time of the day? This is very good.