Refactor trading logic and client initialization; remove unused clob_client_and_order module
This commit is contained in:
@@ -2,6 +2,7 @@ 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
|
||||
@@ -9,3 +10,4 @@ TRADING_BPS_THRESHOLD = 50
|
||||
MARKET_SESSION_SECONDS = 900
|
||||
TIMEZONE = "US/Eastern"
|
||||
MAX_TRADES = 1
|
||||
PLACE_OPPOSITE_ORDER = True # Hedge orders
|
||||
|
||||
Reference in New Issue
Block a user