窝轮牛熊证

以下操作均通过 QuoteClient.ExecuteAsync 调用。

STOCK_DETAIL 与 QUOTE_OVERNIGHT 需额外行情权限,未开通时服务端返回权限错误码。

窝轮筛选

操作名

QuoteApiService.WARRANT_FILTER = warrant_filter。该常量用于设置 TigerRequest.ApiMethodName。

请求

TigerRequest<WarrantFilterResponse>

ModelValue: WarrantFilterModel.

参数

SDK propertyC# typeAPI fieldSDK defaultRequiredConstraints
LangLanguagelangCLR 默认值;序列化时省略no—
Accountstring (nullable)accountnullNot applicableAccount 是继承字段;QuoteClient 不会从 TigerConfig.DefaultAccount 注入,null 时序列化省略
SymbolstringsymbolnullRequired—
PageInt32pageCLR 默认值;序列化时省略OptionalPositive integer
PageSizeInt32page_sizeCLR 默认值;序列化时省略OptionalPositive integer
SortFieldNamestringsort_field_namenullOptional—
SortDirSortDirsort_dirCLR 默认值;序列化时省略Optional—
WarrantTypeISetwarrant_typeCLR 默认值;序列化时省略Optional—
IssuerNamestringissuer_namenullOptional—
ExpireYMstringexpire_ymnullOptional—
StateInt32stateCLR 默认值;序列化时省略Optional—
InOutPriceISetin_out_priceCLR 默认值;序列化时省略Optional—
LotSizeISetlot_sizeCLR 默认值;序列化时省略Optional—
EntitlementRatioISetentitlement_ratioCLR 默认值;序列化时省略Optional—
StrikeRangestrikeCLR 默认值;序列化时省略Optional—
EffectiveLeverageRangeeffective_leverageCLR 默认值;序列化时省略Optional—
LeverageRatioRangeleverage_ratioCLR 默认值;序列化时省略Optional—
CallPriceRangecall_priceCLR 默认值;序列化时省略Optional—
VolumeRangevolumeCLR 默认值;序列化时省略Optional—
PremiumRangepremiumCLR 默认值;序列化时省略Optional—
OutstandingRatioRangeoutstanding_ratioCLR 默认值;序列化时省略Optional—
ImpliedVolatilityRangeimplied_volatilityCLR 默认值;序列化时省略Optional—

返回

WarrantFilterResponse 继承 TigerResponse;其 Data 为 WarrantFilterItem。

响应数据结构:WarrantFilterItem。

字段C# 类型说明
Pageint当前页码
TotalPageint总页数
TotalCountint总记录数
ItemsList<WarrantItem>窝轮列表
BoundsFilterBounds可用筛选条件范围

Items 项:WarrantItem

字段C# 类型说明
Symbolstring合约代码
Namestring名称
SecTypestring证券类型
Marketstring市场
ExpireDatestring到期日
LastTradingDatestring最后交易日
Strikestring行权价
TypeWarrantType窝轮类型
StateWarrantState窝轮状态
EntitlementRatiodouble换股比率
EntitlementPricedouble行使价
Premiumdouble溢价
BreakevenPointdouble盈亏平衡点
CallPricedouble收回价
BeforeCallLeveldouble距收回价水平
changeRatedouble涨跌幅
Changedouble涨跌额
LatestPricedouble最新价
Amountdouble成交额
OutstandingRatiodouble街货比率
InOutPricedouble价内外程度
DeltadoubleDelta
LeverageRatiodouble杠杆比率
EffectiveLeveragedouble实际杠杆
ImpliedVolatilitydouble引伸波幅
Volumelong成交量
LotSizeint每手数量

Bounds:FilterBounds

字段C# 类型说明
IssuerNameList<string>可用发行商名称
ExpireDateList<string>可用到期日
LotSizeList<int>可用每手数量
EntitlementRatioList<double>可用换股比率
LeverageRatioRange<double>杠杆比率筛选范围
StrikeRange<double>行权价筛选范围
PremiumRange<double>溢价筛选范围
OutstandingRatioRange<double>街货比率筛选范围
ImpliedVolatilityRange<double>引伸波幅筛选范围
EffectiveLeverageRange<double>实际杠杆筛选范围
CallPriceRange<double>收回价筛选范围

范围:Range<T>

字段C# 类型说明
MinT?范围最小值
MaxT?范围最大值

WarrantItem.Delta 表示窝轮理论价值对标的价格变化的敏感度。

示例

TigerRequest<WarrantFilterResponse> request = new()
{
    ApiMethodName = QuoteApiService.WARRANT_FILTER,
    ModelValue = new WarrantFilterModel { Symbol = "AAPL", Page = 1, PageSize = 20 }
};
WarrantFilterResponse? response = await quoteClient.ExecuteAsync(request);

响应类型

WarrantFilterItem? data = response?.Data; // response 或 data 缺失时为 null

返回示例

{
  "code": 0,
  "message": "success",
  "timestamp": 1785528000000,
  "data": {
    "items": [
      {"symbol": "15678", "name": "AAPL CW A", "underlying": "AAPL.US", "strike": 300.0, "expiry": "2025-12-30", "type": "CALL", "latestPrice": 0.52},
      {"symbol": "15679", "name": "AAPL CW B", "underlying": "AAPL.US", "strike": 320.0, "expiry": "2026-03-30", "type": "CALL", "latestPrice": 0.35}
    ],
    "totalCount": 45
  }
}

频率限制

基础额度:每分钟 60 次。

获取窝轮行情

操作名

QuoteApiService.WARRANT_REAL_TIME_QUOTE = warrant_real_time_quote。该常量用于设置 TigerRequest.ApiMethodName。

请求

TigerRequest<WarrantQuoteResponse>

ModelValue: WarrantQuoteModel.

参数

SDK propertyC# typeAPI fieldSDK defaultRequiredConstraints
LangLanguagelangCLR 默认值;序列化时省略no—
Accountstring (nullable)accountnullNot applicableAccount 是继承字段;QuoteClient 不会从 TigerConfig.DefaultAccount 注入,null 时序列化省略
Symbols列表,元素为 stringsymbolsnullRequiredNon-empty list

返回

WarrantQuoteResponse 继承 TigerResponse;其 Data 为 WarrantQuoteItem。

响应数据结构:WarrantQuoteItem。

字段C# 类型说明
ItemsList<WarrantQuote>窝轮行情列表

Items 项:WarrantQuote

字段C# 类型说明
Symbolstring合约代码
Namestring名称
Exchangestring交易所
SecTypestring证券类型
Marketstring市场
Currencystring币种
Expirystring到期日
Strikestring行权价
Rightstring方向
UnderlyingSymbolstring标的代码
Multiplierdouble合约乘数
EntitlementRatiodouble换股比率
EntitlementPricedouble行使价
MinTickdouble最小变动价位
CallPricedouble收回价
LatestPricedouble最新价
PreClosedouble昨收价
Opendouble开盘价
Highdouble最高价
Lowdouble最低价
Amountdouble成交额
Premiumdouble溢价
OutstandingRatiodouble街货比率
ImpliedVolatilitydouble引伸波幅
InOutPricedouble价内外程度
DeltadoubleDelta
LeverageRatiodouble杠杆比率
BreakevenPointdouble盈亏平衡点
LastTradingDatelong最后交易日
ListingDatelong上市日期
Timestamplong行情时间戳
Volumelong成交量
HaltedHaltedStatus停牌状态

WarrantQuote.Delta 表示窝轮理论价值对标的价格变化的敏感度。

示例

TigerRequest<WarrantQuoteResponse> request = new()
{
    ApiMethodName = QuoteApiService.WARRANT_REAL_TIME_QUOTE,
    ModelValue = new WarrantQuoteModel { Symbols = new List<string> { "AAPL" } }
};
WarrantQuoteResponse? response = await quoteClient.ExecuteAsync(request);

响应类型

WarrantQuoteItem? data = response?.Data; // response 或 data 缺失时为 null

频率限制

基础额度:每分钟 60 次。


Did this page help you?