TqSdk2 业务对象 - 持仓对象

tqsdk2.tqsdk2.Position.close_profit

平仓盈亏.

tqsdk2.tqsdk2.Position.exchange_id

交易所.

tqsdk2.tqsdk2.Position.float_profit

浮动盈亏.

tqsdk2.tqsdk2.Position.float_profit_long

多头浮动盈亏.

tqsdk2.tqsdk2.Position.float_profit_short

空头浮动盈亏.

tqsdk2.tqsdk2.Position.instrument_id

合约代码.

tqsdk2.tqsdk2.Position.investor_id

投资者帐号.

tqsdk2.tqsdk2.Position.margin

占用保证金.

tqsdk2.tqsdk2.Position.margin_long

多头占用保证金.

tqsdk2.tqsdk2.Position.margin_short

空头占用保证金.

tqsdk2.tqsdk2.Position.market_value_long

期权权利方市值.

tqsdk2.tqsdk2.Position.market_value_short

期权义务方市值.

tqsdk2.tqsdk2.Position.open_cost_long

多头开仓成本.

tqsdk2.tqsdk2.Position.open_cost_short

空头开仓成本.

tqsdk2.tqsdk2.Position.open_price_long

多头开仓均价.

tqsdk2.tqsdk2.Position.open_price_short

空头开仓均价.

tqsdk2.tqsdk2.Position.pos

净持仓手数.

tqsdk2.tqsdk2.Position.pos_long

多头手数.

tqsdk2.tqsdk2.Position.pos_long_his

多头老仓手数.

tqsdk2.tqsdk2.Position.pos_long_today

多头今仓手数.

tqsdk2.tqsdk2.Position.pos_short

空头手数.

tqsdk2.tqsdk2.Position.pos_short_his

空头老仓手数.

tqsdk2.tqsdk2.Position.pos_short_today

空头今仓手数.

tqsdk2.tqsdk2.Position.position_cost_long

多头持仓成本.

tqsdk2.tqsdk2.Position.position_cost_short

空头持仓成本.

tqsdk2.tqsdk2.Position.position_price_long

多头持仓均价.

tqsdk2.tqsdk2.Position.position_price_short

空头持仓均价.

tqsdk2.tqsdk2.Position.position_profit

持仓盈亏 (持仓盈亏: 相对于上一交易日结算价的盈亏),期权持仓盈亏为 0.

tqsdk2.tqsdk2.Position.position_profit_long

多头持仓盈亏.

tqsdk2.tqsdk2.Position.position_profit_short

空头持仓盈亏.

tqsdk2.tqsdk2.Position.volume_long

多头手数.

tqsdk2.tqsdk2.Position.volume_long_frozen_his

多头老仓冻结.

tqsdk2.tqsdk2.Position.volume_long_frozen_today

多头今仓冻结.

tqsdk2.tqsdk2.Position.volume_long_his

多头老仓手数.

tqsdk2.tqsdk2.Position.volume_long_today

多头今仓手数.

tqsdk2.tqsdk2.Position.volume_long_yd

昨多仓手数.

tqsdk2.tqsdk2.Position.volume_short

空头手数.

tqsdk2.tqsdk2.Position.volume_short_frozen_his

空头老仓冻结.

tqsdk2.tqsdk2.Position.volume_short_frozen_today

空头今仓冻结.

tqsdk2.tqsdk2.Position.volume_short_his

空头今仓手数.

tqsdk2.tqsdk2.Position.volume_short_today

空头今仓手数.

tqsdk2.tqsdk2.Position.volume_short_yd

昨多仓手数.