diff --git a/clients.py b/clients.py index ee0ba2da..09b4f5a2 100644 --- a/clients.py +++ b/clients.py @@ -14,6 +14,9 @@ import websockets +headers["User-Agent"] = "kalshi-python-starter-client" + + class Environment(Enum): DEMO = "demo" PROD = "prod" @@ -231,4 +234,4 @@ async def on_error(self, error): async def on_close(self, close_status_code, close_msg): """Callback when WebSocket connection is closed.""" - print("WebSocket connection closed with code:", close_status_code, "and message:", close_msg) \ No newline at end of file + print("WebSocket connection closed with code:", close_status_code, "and message:", close_msg)