Files
MoFin/venv/lib/python3.12/site-packages/exchange_calendars/always_open.py
T
知微 fa45d8aa5f fix: 小果地址统一node122(兼容LAN+EasyTier)
- health_checklist.json: 192.168.1.122→node122
- ocr_client.py: docstring IP→node122
- docs/market-data-requirements.md: IP→node122
- 所有API调用通过ProxyHandler({})绕过系统代理
  Privoxy对node122:18003返回500,直连正常
2026-06-30 02:56:35 +08:00

16 lines
411 B
Python

from datetime import time
from .exchange_calendar import ExchangeCalendar
from exchange_calendars.calendar_helpers import UTC
class AlwaysOpenCalendar(ExchangeCalendar):
"""A ExchangeCalendar for an exchange that's open every minute of every day."""
name = "24/7"
tz = UTC
weekmask = "1111111"
open_times = ((None, time(0)),)
close_times = ((None, time(0, 0)),)
close_offset = 1