What is a stock trading bot called, and is there a way I can make/get my own? - eviltoast

I was playing around on cash app and spent a few dollars on the stocks there. I got bored of it eventually, but it got me thinking that there has to bots for this already.

I want a bot that I can give a dollars worth of stock. If that dollar’s worth rises by two cents, I want it sell a cent, and put the other cent into a pool for the next dollars worth of stock.

This has to have been done before, I just never learned anything about it.