paramsobject可选
业务参数,契约按 endpoint 选择;请勿再次嵌套 params。
get_bond_orderbook: {"type":"object","properties":{"market":{"enum":["GLOBAL"],"type":"string","description":"市场代码,固定为 GLOBAL(债券);可省略,默认 GLOBAL。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"bondType":{"type":"string","description":"债券数据类型;本工具只有一种查询类型时可省略。"}},"required":["symbol"]}
get_bond_profile: {"type":"object","properties":{"market":{"enum":["GLOBAL"],"type":"string","description":"市场代码,固定为 GLOBAL(债券);可省略,默认 GLOBAL。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"bondType":{"enum":["info","codes","agent_pool"],"type":"string","description":"bondType 取值:info、codes、agent_pool。"}},"required":["bondType"],"allOf":[{"if":{"properties":{"bondType":{"const":"info"}},"required":["bondType"]},"then":{"required":["symbols"]}}]}
get_bond_quote: {"type":"object","properties":{"market":{"enum":["GLOBAL"],"type":"string","description":"市场代码,固定为 GLOBAL(债券);可省略,默认 GLOBAL。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"bondType":{"enum":["snapshot","extend","yield_snapshot"],"type":"string","description":"bondType 取值:snapshot、extend、yield_snapshot。"}},"required":["bondType"]}
search_bond: {"type":"object","properties":{"market":{"enum":["GLOBAL"],"type":"string","description":"市场代码,固定为 GLOBAL(债券);可省略,默认 GLOBAL。"},"symbol":{"type":"string","description":"单个证券、基金、债券、期权或 IPO 代码。"},"symbols":{"type":"array","items":{"type":"string"},"description":"批量代码列表,例如 [\"00700.hk\", \"AAPL.us\"];"},"bondType":{"type":"string","description":"债券数据类型;本工具只有一种查询类型时可省略。"},"keyword":{"type":"string","description":"债券名称、ISIN 或关键词。"}},"required":["keyword"]}