EMT API ver: 2.23.1
|
查询股票持仓情况 更多...
#include <eoms_api_struct.h>
成员变量 | |
char | ticker [EMT_TICKER_LEN] |
证券代码 | |
char | ticker_name [EMT_TICKER_NAME_LEN] |
证券名称 | |
EMT_MARKET_TYPE | market |
交易市场 | |
int64_t | total_qty |
总持仓 | |
int64_t | sellable_qty |
可卖持仓 | |
double | avg_price |
持仓成本 | |
double | unrealized_pnl |
浮动盈亏(保留字段) | |
int64_t | yesterday_position |
昨日持仓 | |
int64_t | purchase_redeemable_qty |
今日申购赎回数量(申购和赎回数量不可能同时存在,因此可以共用一个字段) | |
EMT_POSITION_DIRECTION_TYPE | position_direction |
持仓方向 | |
uint32_t | reserved1 |
保留字段1 | |
int64_t | executable_option |
可行权合约 | |
int64_t | lockable_position |
可锁定标的 | |
int64_t | executable_underlying |
可行权标的 | |
int64_t | locked_position |
已锁定标的 | |
int64_t | usable_locked_position |
可用已锁定标的 | |
uint64_t | unknown [50 - 6] |
(保留字段) | |
查询股票持仓情况
double avg_price |
持仓成本
int64_t executable_option |
可行权合约
int64_t executable_underlying |
可行权标的
int64_t lockable_position |
可锁定标的
int64_t locked_position |
已锁定标的
EMT_MARKET_TYPE market |
交易市场
EMT_POSITION_DIRECTION_TYPE position_direction |
持仓方向
int64_t purchase_redeemable_qty |
今日申购赎回数量(申购和赎回数量不可能同时存在,因此可以共用一个字段)
uint32_t reserved1 |
保留字段1
int64_t sellable_qty |
可卖持仓
char ticker[EMT_TICKER_LEN] |
证券代码
char ticker_name[EMT_TICKER_NAME_LEN] |
证券名称
int64_t total_qty |
总持仓
uint64_t unknown[50 - 6] |
(保留字段)
double unrealized_pnl |
浮动盈亏(保留字段)
int64_t usable_locked_position |
可用已锁定标的
int64_t yesterday_position |
昨日持仓