From 871020b3f30ed5729df2fa65042bb0b95d3b6b88 Mon Sep 17 00:00:00 2001 From: ZJZR Date: Tue, 20 Jan 2026 19:58:29 +0100 Subject: [PATCH] Add environment constants for client configuration Introduces shared constants for supported Kalshi environments to avoid hardcoded strings. --- kalshi_client/constants.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 kalshi_client/constants.py diff --git a/kalshi_client/constants.py b/kalshi_client/constants.py new file mode 100644 index 00000000..73c05ced --- /dev/null +++ b/kalshi_client/constants.py @@ -0,0 +1,11 @@ +""" +Shared constants used across the Kalshi client. +""" + +ENV_DEMO = "demo" +ENV_PROD = "prod" + +SUPPORTED_ENVIRONMENTS = { + ENV_DEMO, + ENV_PROD, +}