Let’s write a cryptocurrency bot. (part 1)