option_sse_codes_sina
Retrieve Shanghai Stock Exchange option contract codes for call or put options using underlying ETF code and expiration month.
Instructions
上海证券交易所-所有看涨和看跌合约的代码
:param symbol: choice of {"看涨期权", "看跌期权"} :type symbol: str :param trade_date: 期权到期月份 :type trade_date: "202002" :param underlying: 标的产品代码 华夏上证 50ETF: 510050 or 华泰柏瑞沪深 300ETF: 510300 :type underlying: str :return: 看涨看跌合约的代码 :rtype: Tuple[List, List]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | 看涨期权 | |
| trade_date | No | 202202 | |
| underlying | No | 510050 |