We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
您好,目前主力连续合约历史价格接口如下, futures.get_dominant_price( underlying_symbols= ‘IC’, start_date='2023-07-20', end_date='2023-07-29', adjust_type="pre", adjust_method="prev_close_ratio", fields=["close", "settlement"], ) 这里用时间控制长度很不方便(因为中间可能有休息等,数据长度不固定),能不能像history_bars一样,利用bar_count参数来控制提取几个历史数据点?
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
或者提供类似 IC888这样连续合约,但是IC888是加减法复权的,我们需要比例法复权的连续合约。
No branches or pull requests
您好,目前主力连续合约历史价格接口如下,
futures.get_dominant_price(
underlying_symbols= ‘IC’,
start_date='2023-07-20',
end_date='2023-07-29',
adjust_type="pre",
adjust_method="prev_close_ratio",
fields=["close", "settlement"],
)
这里用时间控制长度很不方便(因为中间可能有休息等,数据长度不固定),能不能像history_bars一样,利用bar_count参数来控制提取几个历史数据点?
The text was updated successfully, but these errors were encountered: