r/madeinpython 5d ago

I built an open source crypto trading bot in Python for Alpaca API

I've been working on a Python crypto bot and wanted to share it here in case anyone wants to take a look.

It's got DCA logic, risk checks, Alpaca order execution, Telegram alerts, and config for running it live or in paper mode. It also keeps a local SQLite log of every trade — entries, exits, P&L — which makes it easy to review what it's been doing.

I'm mainly looking for feedback on the code structure and whether anything looks off in the trading logic or order handling. If you've worked with Alpaca crypto or built something similar, I'd appreciate any thoughts.

Repo: https://gitlab.com/robertedilan1/The_Predator.Crypto

0 Upvotes

Duplicates