14 lines
475 B
Python
14 lines
475 B
Python
LOG_FOLDER = "logs/"
|
|
GAMMA_API_URL = "https://gamma-api.polymarket.com"
|
|
POLYMARKET_HOST = "https://clob.polymarket.com"
|
|
POLYMARKET_WS_MARKET_URL = "wss://ws-subscriptions-clob.polymarket.com/ws/market"
|
|
POLYMARKET_WS_USER_URL = "wss://ws-subscriptions-clob.polymarket.com/ws/user"
|
|
CHAIN_ID = 137
|
|
REQUEST_TIMEOUT = 5
|
|
PROFIT_MARGIN = 0.02
|
|
TRADING_BPS_THRESHOLD = 50
|
|
MARKET_SESSION_SECONDS = 900
|
|
TIMEZONE = "US/Eastern"
|
|
MAX_TRADES = 2
|
|
PLACE_OPPOSITE_ORDER = True # Hedge orders
|