MCPcopy Create free account
hub / github.com/JoinQuant/jqfactor_analyzer / __init__

Method __init__

jqfactor_analyzer/data.py:16–142  ·  view source on GitHub ↗

数据接口, 用于因子分析获取数据 参数 ---------- price : 使用开盘价/收盘价计算收益 (请注意避免未来函数), 默认为 'close' - 'close': 使用当日收盘价和次日收盘价计算当日因子的远期收益 - 'open' : 使用当日开盘价和次日开盘价计算当日因子的远期收益 fq : 价格数据的复权方式, 默认为 'post' - 'post': 后复权 - 'pre': 前复权 - N

(self, price='close', fq='post',
                 industry='jq_l1', weight_method='avg', allow_cache=True, show_progress=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

ini_cache_cfgMethod · 0.95

Tested by

no test coverage detected