Files
dekun 53863559f4 Initialize crypto_monitor_user (user edition) from monitor codebase.
Retarget git remote, install path, and deploy docs from crypto_monitor to crypto_monitor_user.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 16:18:13 +08:00

10 lines
265 B
Python

"""Gate.io ccxt 构造(ccxt 4.x 起类名由 gateio 改为 gate)."""
from __future__ import annotations
import ccxt
def gate_ccxt_class():
"""返回 ccxt Gate 交易所类(兼容旧版 gateio 名称)."""
return getattr(ccxt, "gate", None) or ccxt.gateio