期权行权

这五项既是 TradeApiService 操作常量,也是 TradeClient 上的便捷异步方法。

行权检查

操作名

TradeApiService.OPTION_EXERCISE_CHECK = option_exercise_check; convenience method: CheckOptionExerciseAsync.

请求

TigerRequest<OptionExerciseCheckResponse>

ModelValue: OptionExerciseCheckModel.

参数

SDK propertyC# typeAPI fieldSDK defaultRequiredConstraints
LangLanguagelangCLR 默认值;序列化时省略no SDK validationsee operation constraints
Accountstring (nullable)accountnullAuto-filled if empty为空时 TradeClient 从 TigerConfig.DefaultAccount 注入;若仍为空则验证失败
SecretKeystringsecret_keynullno SDK validationsee operation constraints
ContractIdlongcontract_idCLR 默认值;序列化时省略no SDK validationsee operation constraints
Typestringtypenullno SDK validationsee operation constraints
QuantitydoublequantityCLR 默认值;序列化时省略no SDK validationsee operation constraints
ExecutingDatestringexecuting_datenullno SDK validationsee operation constraints
IsForcebool (nullable)is_forcenullno SDK validationsee operation constraints
ItmRateint (nullable)itm_ratenullno SDK validationsee operation constraints

返回

OptionExerciseCheckResponse inherits TigerResponse; its data property is OptionExerciseCheckItem.

示例

OptionExerciseCheckResponse response = await tradeClient.CheckOptionExerciseAsync(1234567890L, "Exercise", 1, "2026-08-21", false);
if (!response.IsSuccess()) throw new InvalidOperationException(response.Message);

响应类型

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

Data 字段(OptionExerciseCheckItem)

字段API 字段C# 类型说明
AvailableQuantityavailableQuantitydouble?可行权数量
Positionpositiondouble?期权持仓数量
StkPositionstkPositiondouble?标的证券持仓数量
StkPositionChangestkPositionChangedouble?标的证券持仓变动数量
StkPositionBeforestkPositionBeforedouble?行权前标的证券持仓数量
StkPositionAfterstkPositionAfterdouble?行权后标的证券持仓数量
Symbolsymbolstring期权代码

频率限制

基础额度:每分钟 60 次。

行权持仓

操作名

TradeApiService.OPTION_EXERCISE_POSITION = option_exercise_position; convenience method: GetOptionExercisePositionsAsync.

请求

TigerRequest<OptionExercisePositionResponse>

ModelValue: OptionExercisePositionModel.

参数

SDK propertyC# typeAPI fieldSDK defaultRequiredConstraints
LangLanguagelangCLR 默认值;序列化时省略no SDK validationsee operation constraints
Accountstring (nullable)accountnullAuto-filled if empty为空时 TradeClient 从 TigerConfig.DefaultAccount 注入;若仍为空则验证失败
SecretKeystringsecret_keynullno SDK validationsee operation constraints
Typestringtypenullno SDK validationsee operation constraints

返回

OptionExercisePositionResponse inherits TigerResponse; its data property is OptionExercisePositionPage.

示例

OptionExercisePositionResponse response = await tradeClient.GetOptionExercisePositionsAsync("Exercise");
if (!response.IsSuccess()) throw new InvalidOperationException(response.Message);

响应类型

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

Data 字段(OptionExercisePositionPage)

字段API 字段C# 类型说明
ItemsitemsList<OptionExercisePosition>行权持仓列表
PageNumpageNumint?当前页码
PageSizepageSizeint?每页数量
ItemCountitemCountint?总记录数
PageCountpageCountint?总页数

Items 中每个 OptionExercisePosition:

字段API 字段C# 类型说明
ContractIdcontractIdlong?合约标识
Symbolsymbolstring期权代码
StkSymbolstkSymbolstring标的证券代码
ExpireDateexpireDatestring到期日
Strikestrikestring行权价
CallPutcallPutstring看涨或看跌方向
Marketmarketstring所属市场
AccountIdaccountIdlong?账户标识
Positionpositiondouble?持仓数量
AvailableQuantityavailableQuantitydouble?可行权数量

频率限制

基础额度:每分钟 60 次。

提交行权

操作名

TradeApiService.OPTION_EXERCISE_SUBMIT = option_exercise_submit; convenience method: SubmitOptionExerciseAsync.

请求

TigerRequest<OptionExerciseSubmitResponse>

ModelValue: OptionExerciseSubmitModel.

参数

SDK propertyC# typeAPI fieldSDK defaultRequiredConstraints
LangLanguagelangCLR 默认值;序列化时省略no SDK validationsee operation constraints
Accountstring (nullable)accountnullAuto-filled if empty为空时 TradeClient 从 TigerConfig.DefaultAccount 注入;若仍为空则验证失败
SecretKeystringsecret_keynullno SDK validationsee operation constraints
ContractIdlongcontract_idCLR 默认值;序列化时省略no SDK validationsee operation constraints
Typestringtypenullno SDK validationsee operation constraints
QuantitydoublequantityCLR 默认值;序列化时省略no SDK validationsee operation constraints
ExecutingDatestringexecuting_datenullno SDK validationsee operation constraints
IsForcebool (nullable)is_forcenullno SDK validationsee operation constraints
ItmRateint (nullable)itm_ratenullno SDK validationsee operation constraints

返回

OptionExerciseSubmitResponse inherits TigerResponse; its data property is object.

示例

OptionExerciseSubmitResponse response = await tradeClient.SubmitOptionExerciseAsync(1234567890L, "Exercise", 1, "2026-08-21", false);
if (!response.IsSuccess()) throw new InvalidOperationException(response.Message);

响应类型

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

Data 字段

类型SDK 约定
objectSDK 未定义成员或键。

频率限制

基础额度:每分钟 60 次。

行权记录

操作名

TradeApiService.OPTION_EXERCISE_RECORD = option_exercise_record; convenience method: GetOptionExerciseRecordsAsync.

请求

TigerRequest<OptionExerciseRecordResponse>

ModelValue: OptionExerciseRecordModel.

参数

SDK propertyC# typeAPI fieldSDK defaultRequiredConstraints
LangLanguagelangCLR 默认值;序列化时省略no SDK validationsee operation constraints
Accountstring (nullable)accountnullAuto-filled if empty为空时 TradeClient 从 TigerConfig.DefaultAccount 注入;若仍为空则验证失败
SecretKeystringsecret_keynullno SDK validationsee operation constraints
Typestringtypenullno SDK validationsee operation constraints
Statusstringstatusnullno SDK validationsee operation constraints
Symbolstringsymbolnullno SDK validationsee operation constraints
OrderBystringorder_bynullno SDK validationsee operation constraints
Pageintpage1no SDK validationsee operation constraints
Sizeintsize20no SDK validationsee operation constraints

返回

OptionExerciseRecordResponse inherits TigerResponse; its data property is OptionExerciseRecordPage.

示例

OptionExerciseRecordResponse response = await tradeClient.GetOptionExerciseRecordsAsync(page: 1, size: 20);
if (!response.IsSuccess()) throw new InvalidOperationException(response.Message);

响应类型

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

Data 字段(OptionExerciseRecordPage)

字段API 字段C# 类型说明
ItemsitemsList<OptionExerciseRecord>行权记录列表
PageNumpageNumint?当前页码
PageSizepageSizeint?每页数量
ItemCountitemCountint?总记录数
PageCountpageCountint?总页数

Items 中每个 OptionExerciseRecord:

字段API 字段C# 类型说明
Ididlong?行权记录标识
AccountIdaccountIdlong?账户标识
ContractIdcontractIdlong?合约标识
Symbolsymbolstring期权代码
StkSymbolstkSymbolstring标的证券代码
ExpireDateexpireDatestring到期日
Strikestrikestring行权价
CallPutcallPutstring看涨或看跌方向
Typetypestring行权或到期类型
RequestQuantityrequestQuantitydouble?请求数量
Quantityquantitydouble?行权数量
Statusstatusstring行权状态
ExecutingDateexecutingDatestring执行日期
ItmRateitmRateint?实值比例
IsForceisForcebool?是否强制行权
Reasonreasonstring状态原因

频率限制

基础额度:每分钟 60 次。

取消行权

操作名

TradeApiService.OPTION_EXERCISE_CANCEL = option_exercise_cancel; convenience method: CancelOptionExerciseAsync.

请求

TigerRequest<OptionExerciseCancelResponse>

ModelValue: OptionExerciseCancelModel.

参数

SDK propertyC# typeAPI fieldSDK defaultRequiredConstraints
LangLanguagelangCLR 默认值;序列化时省略no SDK validationsee operation constraints
Accountstring (nullable)accountnullAuto-filled if empty为空时 TradeClient 从 TigerConfig.DefaultAccount 注入;若仍为空则验证失败
SecretKeystringsecret_keynullno SDK validationsee operation constraints
IdlongidCLR 默认值;序列化时省略no SDK validationsee operation constraints

返回

OptionExerciseCancelResponse inherits TigerResponse; its data property is object.

示例

OptionExerciseCancelResponse response = await tradeClient.CancelOptionExerciseAsync(1234567890L);
if (!response.IsSuccess()) throw new InvalidOperationException(response.Message);

响应类型

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

Data 字段

类型SDK 约定
objectSDK 未定义成员或键。

频率限制

基础额度:每分钟 60 次。


Did this page help you?