# Indonesian Stock Exchange (IDX) major stocks (Dipertahankan hanya untuk referensi/kompatibilitas awal) IDX_STOCKS = { "BBCA.JK": "Bank Central Asia", "BMRI.JK": "Bank Mandiri", "TLKM.JK": "Telkom Indonesia", } # Default settings DEFAULT_PERIOD = 90 # days DEFAULT_FORECAST_HORIZON = 7 # days MAX_FORECAST_HORIZON = 30 # days # Model settings MODEL_NAME = "amazon/chronos-bolt-base" MODEL_CACHE_DIR = "./model_cache" # Data settings MIN_DATA_POINTS = 30 # minimum historical data points required MAX_DATA_POINTS = 365 # maximum historical data points to use # Visualization settings PLOT_HEIGHT = 600 PLOT_WIDTH = 1000 CONFIDENCE_LEVEL = 0.95 # for confidence intervals # API settings YFINANCE_TIMEOUT = 30 # seconds MAX_RETRIES = 3 # Colors for plotting COLORS = { 'historical': '#1f77b4', # blue 'forecast': '#ff7f0e', # orange 'confidence': 'rgba(255, 127, 14, 0.2)', # orange with transparency 'volume': '#87CEEB' # sky blue } # IDX Market Configuration (Based on Bursa Efek Indonesia - WIB) IDX_MARKET_CONFIG = { 'IDX_STOCKS': { 'name': 'IDX Stock Market', 'symbol': '^JKSE', # Jakarta Composite Index 'type': 'stocks', 'timezone': 'Asia/Jakarta', # WIB 'open_time': '09:00', 'close_time': '16:00', 'days': [0, 1, 2, 3, 4], # Monday to Friday 'description': 'Bursa Efek Indonesia (IDX)' } }