32 lines
1.0 KiB
Python
32 lines
1.0 KiB
Python
import os
|
|
|
|
PM_DEFAULT_CONFIG = {
|
|
"project_dir": os.path.abspath(os.path.join(os.path.dirname(__file__), ".")),
|
|
"results_dir": os.getenv("TRADINGAGENTS_RESULTS_DIR", "./results"),
|
|
"data_cache_dir": os.path.join(
|
|
os.path.abspath(os.path.join(os.path.dirname(__file__), ".")),
|
|
"dataflows/data_cache",
|
|
),
|
|
# LLM settings
|
|
"llm_provider": "openai",
|
|
"deep_think_llm": "gpt-5.2",
|
|
"quick_think_llm": "gpt-5-mini",
|
|
"backend_url": "https://api.openai.com/v1",
|
|
# Provider-specific thinking configuration
|
|
"google_thinking_level": None,
|
|
"openai_reasoning_effort": None,
|
|
# Polymarket API
|
|
"polymarket_gamma_url": "https://gamma-api.polymarket.com",
|
|
"polymarket_clob_url": "https://clob.polymarket.com",
|
|
# Trading parameters
|
|
"kelly_fraction": 0.25,
|
|
"min_edge_threshold": 0.05,
|
|
"max_position_pct": 0.05,
|
|
"max_cluster_exposure_pct": 0.15,
|
|
"bankroll": 10000,
|
|
# Debate and discussion settings
|
|
"max_debate_rounds": 1,
|
|
"max_risk_discuss_rounds": 1,
|
|
"max_recur_limit": 100,
|
|
}
|