paramsobject可选
业务参数,契约按 endpoint 选择;请勿再次嵌套 params。
get_hk_ipo_calendar: {"type":"object","properties":{"market":{"enum":["HK"],"default":"HK","type":"string","description":"市场代码,固定为 HK(港股);可省略,默认 HK。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"ipoType":{"enum":["calendar","calendar_detail"],"type":"string","description":"IPO 数据类型:calendar=IPO日历,calendar_detail。"},"startDate":{"type":"string","description":"开始日期,格式 YYYY-MM-DD,例如 2026-07-01。 用于历史区间、财报周期、基金净值、资金流等查询。"},"endDate":{"type":"string","description":"结束日期,格式 YYYY-MM-DD,例如 2026-07-28。 通常和 startDate 搭配使用。"},"date":{"type":"string","description":"查询日期/时间。 默认日期格式为 YYYY-MM-DD;K线分钟级、逐笔、分时等需要精确时刻的场景使用 YYYY-MM-DD HH:mm:ss。"}},"required":["ipoType"],"allOf":[{"if":{"properties":{"market":{"const":"HK"},"ipoType":{"const":"calendar"}},"required":["market","ipoType"]},"then":{"required":["startDate"]}},{"if":{"properties":{"market":{"const":"HK"},"ipoType":{"const":"calendar"}},"required":["market","ipoType"]},"then":{"required":["endDate"]}},{"if":{"properties":{"market":{"const":"HK"},"ipoType":{"const":"calendar_detail"}},"required":["market","ipoType"]},"then":{"required":["date"]}}]}
get_hk_ipo_company_profile: {"type":"object","properties":{"market":{"enum":["HK"],"default":"HK","type":"string","description":"市场代码,固定为 HK(港股);可省略,默认 HK。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"ipoType":{"enum":["company_profile","company_profile_new"],"type":"string","description":"IPO 数据类型:company_profile、company_profile_new。"},"code":{"type":"string","description":"港股 IPO 股票 ID 或新股代码;公司概况接口请传 code,不使用 symbol。"}},"required":["ipoType","code"]}
get_hk_ipo_detail: {"type":"object","properties":{"market":{"enum":["HK"],"default":"HK","type":"string","description":"市场代码,固定为 HK(港股);可省略,默认 HK。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"ipoType":{"enum":["offering","public_offering","company_info","allocation_top","allocation_bottom"],"type":"string","description":"IPO 数据类型:offering=招股详情,public_offering,company_info,allocation_top,allocation_bottom。"},"code":{"type":"string","description":"港股 IPO 股票 ID 或新股代码;详情类接口请传 code,不使用 symbol。"}},"required":["ipoType","code"]}
get_hk_ipo_list: {"type":"object","properties":{"market":{"enum":["HK"],"default":"HK","type":"string","description":"市场代码,固定为 HK(港股);可省略,默认 HK。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"ipoType":{"enum":["make_new","today","to_be_listed","listed","table","table_detail"],"type":"string","description":"IPO 数据类型:listed=已上市,make_new,today,to_be_listed,table,table_detail。"},"name":{"type":"string","description":"递表公司名称;ipoType=table_detail 时必填。"},"status":{"enum":[0,1,2,3,4,5,6,7,8],"type":"integer","description":"递表市场状态;ipoType=table 时必填。 0=未开盘,1=盘前竞价,2=等待开盘,3=交易中,4=午间休市,5=收盘竞价,6=已收盘,7=休市中,8=盘后交易。"}},"required":["ipoType"],"allOf":[{"if":{"properties":{"ipoType":{"const":"table_detail"}},"required":["ipoType"]},"then":{"required":["name"]}},{"if":{"properties":{"ipoType":{"const":"table"}},"required":["ipoType"]},"then":{"required":["status"]}}]}
get_hk_ipo_margin_info: {"type":"object","properties":{"market":{"enum":["HK"],"default":"HK","type":"string","description":"市场代码,固定为 HK(港股);可省略,默认 HK。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"ipoType":{"enum":["margin","margin_step","broker_info","multiple"],"type":"string","description":"IPO 数据类型:margin=保证金,margin_step,broker_info,multiple。"},"code":{"type":"string","description":"港股 IPO 股票 ID 或新股代码;margin、margin_step、broker_info 必填,详情类接口请传 code,不使用 symbol。"}},"required":["ipoType"],"allOf":[{"if":{"properties":{"ipoType":{"const":"margin"}},"required":["ipoType"]},"then":{"required":["code"]}},{"if":{"properties":{"ipoType":{"const":"margin_step"}},"required":["ipoType"]},"then":{"required":["code"]}},{"if":{"properties":{"ipoType":{"const":"broker_info"}},"required":["ipoType"]},"then":{"required":["code"]}}]}
get_hk_ipo_market_data: {"type":"object","properties":{"market":{"enum":["HK"],"default":"HK","type":"string","description":"市场代码,固定为 HK(港股);可省略,默认 HK。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"ipoMarketType":{"enum":["market_info","industry_info","industry_performance","industry_name"],"type":"string","description":"IPO 市场数据类型:market_info=市场概况,industry_info=行业统计,industry_performance=行业表现,industry_name=按行业代码查询行业名称。"},"code":{"type":"string","description":"行业代码或行业 ID;ipoMarketType=industry_name 时必填。"},"date":{"type":"string","description":"查询日期,格式 YYYY-MM-DD;"}},"required":["ipoMarketType"],"allOf":[{"if":{"properties":{"ipoMarketType":{"const":"industry_name"}},"required":["ipoMarketType"]},"then":{"required":["code"]}}]}
get_hk_ipo_notice: {"type":"object","properties":{"market":{"enum":["HK"],"default":"HK","type":"string","description":"市场代码,固定为 HK(港股);可省略,默认 HK。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"ipoType":{"enum":["prospectus","table_notice"],"type":"string","description":"IPO 数据类型:prospectus=招股书公告,table_notice。"},"code":{"type":"string","description":"港股 IPO 股票 ID 或新股代码;公告详情类接口请传 code,不使用 symbol。"}},"required":["ipoType","code"]}
get_hk_ipo_rankings: {"type":"object","properties":{"market":{"enum":["HK"],"default":"HK","type":"string","description":"市场代码,固定为 HK(港股);可省略,默认 HK。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"rankType":{"enum":["popular","first_day_return","sponsor","underwriter","cornerstone"],"type":"string","description":"排行类型:popular=热门认购,first_day_return=首日回报,sponsor=保荐人排行,underwriter=承销商排行,cornerstone=基石投资者排行。"}},"required":["rankType"]}
get_hk_ipo_subscription_tools: {"type":"object","properties":{"market":{"enum":["HK"],"default":"HK","type":"string","description":"市场代码,固定为 HK(港股);可省略,默认 HK。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"ipoUtilityType":{"enum":["compute","h5_compute","amount_list","broker_list","lot","new_stock_list","subscription_list","subscription_dates"],"type":"string","description":"ipoUtilityType 取值:compute=打新计算,h5_compute=H5打新计算,amount_list=认购数量,broker_list=券商列表,lot=中签手数,new_stock_list=新股列表,subscription_list=认购方式,subscription_dates=认购开始结束日期。"},"code":{"type":"string","description":"新股代码,string 类型;compute、h5_compute、amount_list、broker_list、lot 必填。"},"brokerId":{"type":["integer","string"],"description":"券商 ID。 compute/new_stock_list 要求整数。"},"mode":{"enum":[1,2],"type":"integer","description":"认购方式;compute 必填:1=现金认购,2=银行融资认购。"},"quantity":{"type":"integer","description":"认购数量、申购手数,integer 类型;compute、h5_compute 必填。"},"lot":{"type":"integer","description":"中签手数,integer 类型,不能大于 quantity;compute、h5_compute 必填。"},"financingLeverage":{"type":"integer","description":"杠杆倍数,integer 类型,范围 1-50;h5_compute 必填。"},"financingRate":{"type":"number","description":"融资利率,number 类型,范围 0-10,支持两位小数;h5_compute 必填。"},"flag":{"type":"string","description":"日期范围标记;subscription_dates 必填,例如 before、this、after。"}},"required":["ipoUtilityType"],"allOf":[{"if":{"properties":{"ipoUtilityType":{"const":"compute"}},"required":["ipoUtilityType"]},"then":{"required":["code"]}},{"if":{"properties":{"ipoUtilityType":{"const":"h5_compute"}},"required":["ipoUtilityType"]},"then":{"required":["code"]}},{"if":{"properties":{"ipoUtilityType":{"const":"amount_list"}},"required":["ipoUtilityType"]},"then":{"required":["code"]}},{"if":{"properties":{"ipoUtilityType":{"const":"broker_list"}},"required":["ipoUtilityType"]},"then":{"required":["code"]}},{"if":{"properties":{"ipoUtilityType":{"const":"lot"}},"required":["ipoUtilityType"]},"then":{"required":["code"]}},{"if":{"properties":{"ipoUtilityType":{"const":"compute"}},"required":["ipoUtilityType"]},"then":{"required":["brokerId"]}},{"if":{"properties":{"ipoUtilityType":{"const":"new_stock_list"}},"required":["ipoUtilityType"]},"then":{"required":["brokerId"]}},{"if":{"properties":{"ipoUtilityType":{"const":"subscription_list"}},"required":["ipoUtilityType"]},"then":{"required":["brokerId"]}},{"if":{"properties":{"ipoUtilityType":{"const":"compute"}},"required":["ipoUtilityType"]},"then":{"required":["mode"]}},{"if":{"properties":{"ipoUtilityType":{"const":"compute"}},"required":["ipoUtilityType"]},"then":{"required":["quantity"]}},{"if":{"properties":{"ipoUtilityType":{"const":"h5_compute"}},"required":["ipoUtilityType"]},"then":{"required":["quantity"]}},{"if":{"properties":{"ipoUtilityType":{"const":"compute"}},"required":["ipoUtilityType"]},"then":{"required":["lot"]}},{"if":{"properties":{"ipoUtilityType":{"const":"h5_compute"}},"required":["ipoUtilityType"]},"then":{"required":["lot"]}},{"if":{"properties":{"ipoUtilityType":{"const":"h5_compute"}},"required":["ipoUtilityType"]},"then":{"required":["financingLeverage"]}},{"if":{"properties":{"ipoUtilityType":{"const":"h5_compute"}},"required":["ipoUtilityType"]},"then":{"required":["financingRate"]}},{"if":{"properties":{"ipoUtilityType":{"const":"subscription_dates"}},"required":["ipoUtilityType"]},"then":{"required":["flag"]}}]}
get_ipo_course: {"type":"object","properties":{"market":{"enum":["HK"],"default":"HK","type":"string","description":"市场代码,固定为 HK(港股);可省略,默认 HK。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"courseType":{"enum":["search","hot","month_rank","refer","relate","h5_relate","detail","total_rank"],"type":"string","description":"courseType 取值:search=课程列表,hot=热门课程,month_rank=月榜,refer=推荐课程,relate=PC相关课程,h5_relate=H5相关课程,detail=课程详情,total_rank=总榜。"},"keyword":{"type":"string","description":"课程搜索关键词。"},"id":{"type":"integer","description":"课程 ID,必须为整数;detail、relate、h5_relate 必填。"}},"required":["courseType"],"allOf":[{"if":{"properties":{"courseType":{"const":"detail"}},"required":["courseType"]},"then":{"required":["id"]}},{"if":{"properties":{"courseType":{"const":"relate"}},"required":["courseType"]},"then":{"required":["id"]}},{"if":{"properties":{"courseType":{"const":"h5_relate"}},"required":["courseType"]},"then":{"required":["id"]}}]}
get_ipo_news: {"type":"object","properties":{"market":{"enum":["HK"],"default":"HK","type":"string","description":"市场代码,固定为 HK(港股);可省略,默认 HK。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"contentType":{"enum":["new_stock_info","list","detail","hot","day_rank","week_rank","refer","relate","h5_relate"],"type":"string","description":"内容类型:new_stock_info=新股相关资讯,list=资讯列表,detail=资讯详情,hot=热门资讯,day_rank=日榜,week_rank=周榜,refer=推荐资讯,relate=PC相关资讯,h5_relate=H5相关资讯。"},"match":{"type":"string","description":"关键词匹配,搜索资讯标题包含 match 字段值的资讯,string 类型。 new_stock_info 组合必须传入关键词,否则会返回空列表。"},"id":{"type":"integer","description":"资讯 ID,必须为整数;detail、relate、h5_relate 必填。"}},"required":["contentType"],"allOf":[{"if":{"properties":{"contentType":{"const":"new_stock_info"}},"required":["contentType"]},"then":{"required":["match"]}},{"if":{"properties":{"contentType":{"const":"detail"}},"required":["contentType"]},"then":{"required":["id"]}},{"if":{"properties":{"contentType":{"const":"relate"}},"required":["contentType"]},"then":{"required":["id"]}},{"if":{"properties":{"contentType":{"const":"h5_relate"}},"required":["contentType"]},"then":{"required":["id"]}}]}
get_ipo_profile: {"type":"object","properties":{"market":{"enum":["HK"],"default":"HK","type":"string","description":"市场代码,固定为 HK(港股);可省略,默认 HK。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"ipoType":{"enum":["profile"],"default":"profile","type":"string","description":"IPO 数据类型:profile。"},"code":{"type":"string","description":"港股 IPO 股票 ID 或新股代码。"}},"required":["ipoType","code"]}
get_ipo_tags: {"type":"object","properties":{"market":{"enum":["HK"],"default":"HK","type":"string","description":"市场代码,固定为 HK(港股);可省略,默认 HK。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"tagType":{"enum":["exist_data","list"],"type":"string","description":"tagType 取值:exist_data=获取有数据的标签,list=获取标签列表。"},"tagCategory":{"enum":[10,11,20,21],"default":10,"type":"number","description":"标签分类维度:10=港股资讯分类,11=港股资讯来源,20=港股课程分类,21=港股课程来源。 省略时按 10 查询。"}},"required":["tagType"]}
get_ipo_topic: {"type":"object","properties":{"market":{"enum":["HK"],"default":"HK","type":"string","description":"市场代码,固定为 HK(港股);可省略,默认 HK。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"topicType":{"enum":["top","list","detail","info"],"type":"string","description":"topicType 取值:top=置顶专题,list=专题列表,detail=专题详情,info=专题关联资讯。"},"id":{"type":"integer","description":"专题 ID,必须为整数;topicType=detail 时必填。"}},"required":["topicType"],"allOf":[{"if":{"properties":{"topicType":{"const":"detail"}},"required":["topicType"]},"then":{"required":["id"]}}]}
get_us_ipo_list: {"type":"object","properties":{"market":{"enum":["US"],"default":"US","type":"string","description":"市场代码,固定为 US(美股);可省略,默认 US。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"ipoType":{"enum":["to_be_listed","listed","trend","pe_ttm"],"type":"string","description":"IPO 数据类型:listed=已上市,to_be_listed,trend,pe_ttm。"},"dateType":{"enum":["30","90","180","365"],"type":"string","description":"美股 IPO 时间范围,单位为天;取值必须是 30、90、180、365。"},"date":{"type":"string","description":"查询日期/时间。 默认日期格式为 YYYY-MM-DD;K线分钟级、逐笔、分时等需要精确时刻的场景使用 YYYY-MM-DD HH:mm:ss。"}},"required":["ipoType"],"allOf":[{"if":{"properties":{"ipoType":{"const":"trend"}},"required":["ipoType"]},"then":{"required":["dateType"]}},{"if":{"properties":{"ipoType":{"const":"pe_ttm"}},"required":["ipoType"]},"then":{"required":["dateType"]}},{"if":{"properties":{"market":{"const":"US"},"ipoType":{"const":"to_be_listed"}},"required":["market","ipoType"]},"then":{"required":["date"]}},{"if":{"properties":{"market":{"const":"US"},"ipoType":{"const":"listed"}},"required":["market","ipoType"]},"then":{"required":["date"]}}]}
get_us_ipo_market_data: {"type":"object","properties":{"market":{"enum":["US"],"default":"US","type":"string","description":"市场代码,固定为 US(美股);可省略,默认 US。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"ipoMarketType":{"enum":["us_market_info","us_industry_performance"],"type":"string","description":"IPO 市场数据类型:us_market_info=美股 IPO 市场概况,us_industry_performance=美股 IPO 行业表现。"},"code":{"type":"string","description":"行业代码或行业 ID;ipoMarketType=industry_name 时必填。"},"date":{"type":"string","description":"查询日期,格式 YYYY-MM-DD;"},"dateType":{"enum":["30","90","180","365"],"type":"string","description":"美股 IPO 时间范围,单位为天;取值必须是 30、90、180、365。"}},"required":["ipoMarketType"],"allOf":[{"if":{"properties":{"ipoMarketType":{"const":"industry_name"}},"required":["ipoMarketType"]},"then":{"required":["code"]}},{"if":{"properties":{"ipoMarketType":{"const":"us_market_info"}},"required":["ipoMarketType"]},"then":{"required":["dateType"]}}]}
search_ipo_content: {"type":"object","properties":{"market":{"enum":["HK"],"default":"HK","type":"string","description":"市场代码,固定为 HK(港股);可省略,默认 HK。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"contentType":{"enum":["async_search","search"],"type":"string","description":"内容类型:async_search=异步搜索,search=搜索资讯。"},"match":{"type":"string","description":"关键词匹配,搜索资讯标题包含 match 字段值的资讯,string 类型。 new_stock_info 组合必须传入关键词,否则会返回空列表。"},"id":{"type":"integer","description":"资讯 ID,必须为整数;detail、relate、h5_relate 必填。"}},"required":["contentType"],"allOf":[{"if":{"properties":{"contentType":{"const":"new_stock_info"}},"required":["contentType"]},"then":{"required":["match"]}},{"if":{"properties":{"contentType":{"const":"detail"}},"required":["contentType"]},"then":{"required":["id"]}},{"if":{"properties":{"contentType":{"const":"relate"}},"required":["contentType"]},"then":{"required":["id"]}},{"if":{"properties":{"contentType":{"const":"h5_relate"}},"required":["contentType"]},"then":{"required":["id"]}}]}