.. _tqsdk2_apis_position: TqSdk2 业务对象 - 持仓对象 ==================================================================== .. currentmodule:: tqsdk2 .. autoclass:: Position .. autoattribute:: exchange_id .. autoattribute:: instrument_id .. autoattribute:: pos_long_his .. autoattribute:: pos_long_today .. autoattribute:: pos_short_his .. autoattribute:: pos_short_today .. autoattribute:: volume_long_today .. autoattribute:: volume_long_his .. autoattribute:: volume_long .. autoattribute:: volume_long_frozen_today .. autoattribute:: volume_long_frozen_his .. autoattribute:: volume_short_today .. autoattribute:: volume_short_his .. autoattribute:: volume_short .. autoattribute:: volume_short_frozen_today .. autoattribute:: volume_short_frozen_his .. autoattribute:: open_price_long .. autoattribute:: open_price_short .. autoattribute:: open_cost_long .. autoattribute:: open_cost_short .. autoattribute:: position_price_long .. autoattribute:: position_price_short .. autoattribute:: position_cost_long .. autoattribute:: position_cost_short .. autoattribute:: float_profit_long .. autoattribute:: float_profit_short .. autoattribute:: float_profit .. autoattribute:: position_profit_long .. autoattribute:: position_profit_short .. autoattribute:: position_profit .. autoattribute:: margin_long .. autoattribute:: margin_short .. autoattribute:: margin .. autoattribute:: market_value_long .. autoattribute:: market_value_short .. autoattribute:: pos .. autoattribute:: pos_long .. autoattribute:: pos_short .. autoattribute:: investor_id .. autoattribute:: close_profit .. autoattribute:: volume_long_yd .. autoattribute:: volume_short_yd .. autoattribute:: unit_id .. autoattribute:: symbol