OpenAPI新增股票賣空及期權功能,內容請參考更新日誌。
OpenAPI新增股票賣空及期權功能,內容請參考更新日誌。
OpenAPI新增股票賣空及期權功能,內容請參考更新日誌。
OpenAPI新增股票賣空及期權功能,內容請參考更新日誌。
OpenAPI新增股票賣空及期權功能,內容請參考更新日誌。
OpenAPI新增股票賣空及期權功能,內容請參考更新日誌。
跳至主要内容

查詢交易標的

接口說明

  • 功能說明:查詢交易標的信息。

  • 適用對象:通過OpenApi開發平台對接webull的客戶。

  • 請求URL:/trade/instrument

  • 請求方式:GET

  • 頻次限制:每個AppId調用頻次限制為30秒10次。

請求參數

參數類型是否必填描述示例值
instrument_idString標的id13467788

響應參數

參數類型描述示例值
instrument_idString標的id913257048
symbolString標的代碼00831
instrument_typeString標的類型:STOCK 股票STOCK
short_nameString標的縮寫
buy_unitString下單購買最小單位2000
trade_policyString交易策略, TradePolicy數據字典ALL
margin_ratioString融資比例0

請求示例

from webullsdktrade.api import API
from webullsdkcore.client import ApiClient
from webullsdkcore.common.region import Region

api_client = ApiClient(your_app_key, your_app_secret, Region.HK.value)
api = API(api_client)
response = api.trade_instrument.get_trade_instrument_detail(instrument_id)
if response.status_code == 200:
trade_instrument_detail = response.json()

響應示例

{
"instrument_id":
"913256409"
"symbol":
"00700"
"instrument_type":
"STOCK"
"short_name":
"腾讯控股"
"buy_unit":
"100"
"trade_policy":
"ALL"
"margin_ratio":
"0.7500000000"
}

異常示例

{
"error_code":
"SYSTEM_ERROR"
"message":
"Required Integer parameter `instrument_id` is not present"
}