Audrow
Websocket client with headers
I'm making a bot to run on Kalshi. At this point, there's not much to show. I have something that uses requests and makes trades, but they just recently introduced their websocket, and having an event-driven bot seems much better than a polling one.
At the moment, I'm just trying to get the websocket to work on its own.
Here's the code I'm working from
37 replies