INNER CODE UNIT · Python

config

ibaihuo/chanvis · api/chanapi.py:42

def config():
    """
    配置信息
    """

    ret = {
        "supports_search": True,
        "supports_group_request": False,
        "supported_resolutions": ["1", "5",
                                  "30", "240", "1D",
                                  "1W", "1M"],
        "supports_marks": False,
        "supports_time": True,
        "sentsupports_timescale_marks": True,  # 使用自定义的时间范围
    }

    return jsonify(ret)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…