remove_stock_from_sector - 移除板块成分股

remove_stock_from_sector 是 QMT 内置 Python 中用于移除板块成分股的接口。

原型

remove_stock_from_sector(sector,stock_code)

释义

remove_stock_from_sector 是 QMT 内置 Python 中用于移除板块成分股的接口。

研究:官方目录未明确;回测:官方目录未明确;模拟:官方目录未明确;实盘:官方目录未明确。

参数

参数 是否必填 官方原始定义
sector sector
stock_code stock_code

返回值

以实际接口返回和下方详细说明为准。

示例

pythonresult

remove_stock_from_sector('我的自选','000001.SZ')

详细说明

用法: remove_stock_from_sector(sector,stock_code)

释义: 移除板块成分股

参数详细说明

sector:板块名

stock_code:品种代码,例如'000001.SZ'

返回: result:bool,操作成功为True,失败为False