OvfutAccount.PositionSum 最新部位彙總

查詢庫存彙總。

Example

input
api.OvfutAccount.PositionSum()
output
BrokerId Account Group Trader Exchange ComType ComID ComYM StrikePrice CP BS DeliveryDate Currency OTQty TrdPrice MPrice PRTLOS DealPrice
0 F004000 9802353 CBOT F TY 202609 0.000000 B 00000000 USD 24 109.255000 109.295000 6125.06 109.213332
1 F004000 9802353 CBOT F TY 202612 0.000000 B 00000000 USD 1 109.230000 109.245000 1281.25 108.155000

Attribute

此方法不需要輸入參數,只需調用實例本身。

Return Attribute

返回dataframe,含以下欄位

如果沒有資料僅返回帶有column的空dataframe:

參數 資料型態 說明
BrokerIdobject分公司代碼
Accountobject帳戶號碼
Groupobject組別
Traderobject交易員代碼
Exchangeobject交易所代碼
ComTypeobject商品類型(F=期貨 O=期權)
ComIDobject商品代碼
ComYMobject商品年月
StrikePriceobject履約價(六位小數)
CPobject買賣權
BSobject買賣別(B=買 S=賣)
DeliveryDateobject交割日期(國外)
Currencyobject幣別
OTQtyobject未平倉數量
TrdPriceobject結算價
MPriceobject即時價
PRTLOSobject未平倉損益
DealPriceobject成交均價