Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Analyzes and screens A-share convertible bonds by valuation, premium, YTM, stock linkage and redemption risk.
Use this skill ↓50% 50%0 ptsof test cases passed
Passed 11 of 22 test cases with the skill, and 11 of 22 without it.
3 of 3 safety checks passed
SCRIPTS="$SKILLS_ROOT/cn-stock-data/scripts"
# 可转债实时行情(通过 akshare,cn-stock-data 不支持此命令)
# 方式1: akshare 集思录可转债数据(推荐,含溢价率/YTM/双低值等完整指标)
python -c "import akshare as ak; df=ak.bond_cb_jsl(); print(df.to_json(orient='records', force_ascii=False))"
# 方式2: efinance 可转债行情(备选,数据源可能不稳定)
python -c "import efinance as ef; df=ef.bond.get_realtime_quotes(); print(df.to_json(orient='records', force_ascii=False))"
# 正股行情(通过 cn-stock-data)
python "$SCRIPTS/cn_stock_data.py" quote --code [正股代码]
# 正股K线
python "$SCRIPTS/cn_stock_data.py" kline --code [正股代码] --freq daily --start [日期]
# 正股财务
python "$SCRIPTS/cn_stock_data.py" finance --code [正股代码]
补充:通过 web 搜索获取转股价调整公告、强赎公告等最新信息。
根据用户意图选择模式:
convertible_bond 获取全市场转债行情(价格/溢价率/转股价值/到期收益率等)quote / kline / finance 获取正股数据Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.