Trading Bot Project
The other day, I decided to get into programming. I used to make simple (and honestly, kind of dumb) programs back in the day, mostly to help me get things done faster in games — because, at the time, that felt like the most important thing.
Now I realize that money might actually be a little more important. Life definitely gets a bit more stressful when you don't have it... but whatever. Right now, I’m working on a trading bot that can automatically trade on Binance using Python. I’m still pretty new to it, but on my first day of getting serious, I spent about 36 hours straight learning, coding, and even building GUI windows and everything.
In my opinion, one of the hardest parts about programming is having to sleep. When you wake up, you have to re-remember everything you were doing, get back into the flow, and try to understand where any problems might be coming from.
I feel like I might need to go on another long streak like that to really get this trading bot working the way I want. My idea is also to break down the steps I’m taking to build the bot and highlight all the interesting things it can do.
At first, I was trying to do everything at once, but I realized I need to focus on the engine of the project first — the actual bot itself — before trying to make it more mainstream, where more people can use it and understand how it works (maybe eventually turning it into an .exe file).
There are certain commands you can use to get basic info from Binance, and other commands to get more specific info about your account. For those, you need to connect using your account’s API keys. Once we have all that information, we can start doing some math and have the Python bot automatically trade when specific conditions are met — usually just buying low and selling high.
Even then, it’s still hard to know if it’s working exactly the way you want. Another cool thing that's possible, though, is setting up the Python bot to refresh every minute and send updates through Telegram. That way, you can keep track of what’s going on — whether the bot is actually buying or selling — without constantly checking manually.
This also reminds me: luckily, Binance has something called a testnet, which lets you play around and test with fake money and coin amounts, but using real, live market prices.
The idea is to make a couple of posts about this and showcase some things I went through to get to the finished project, here's a little taste of what a user would see in their telegram for example.
And you would get a message like that every 1 minute or 5 o whatever time you would like. anyways I will be posting updates on how far along I am in this project and more specifically what it does differently than other bots that I've seen out there so maybe you can download it or even tweak it to work the way you want it to.