Spent today dealing with two boring but real problems: API limits and DB locks.
Switching contract quoting to Kalshi’s websocket fixed most of the rate limiting.
Still tracing the source of the database lock contention.
Have been running into rate limiting errors. Using crontab to periodically run refreshes on my data and staggering api calls so i don't get limited. Lots to unpack.
Hit some errors overnight that locked my db. My time horizon to calculate vol was also too short, so I fixed those this morning. Now running the data collection from scratch and hopefully I will begin to see whether my model works.
Building out a trading bot on Kalshi that finds +EV opportunities by running my own probability model and comparing against Kalshi prices
If anyone has experience with this would love to connect!
The weirdest part of building solo?
You’re the product team.
The marketing team.
The support team.
And the one who has to believe it’s all going to work.