Skip to main content

權益數查詢

QueryMarginEquity

輸入參數

參數類別說明
accountAccount帳號

Result 回傳

參數類別說明
isSuccessbool是否成功
dataList回傳未實現資訊
messagestring當isSuccess = False 回傳錯誤訊息

權益數 Equity 欄位

Return type : Object

參數類別說明
datestring查詢日期
branchNostring分公司代號
accountstring帳號
currencystring幣別 : NTD 約當台幣 、TWD 新台幣、USD 美元、CNY 人民幣 、JPY 日圓
yesterdayBalancedouble昨日餘額
todayBalancedouble今日餘額
initialMargindouble原始保證金
maintenanceMargindouble維持保證金
clearingMargindouble結算保證金
todayEquitydouble本日權益
todayDepositdouble今日入金
todayWithdrawaldouble今日出金
todayTradingFeedouble今日交易手續費
todayTradingTaxdouble今日交易稅
receivablePremiumdouble收取權利金
payablePremiumdouble付出權利金
excessMargindouble超額保證金
availableMargindouble可動用保證金
disgorgementdouble追繳金額
optPnldouble未沖銷選擇權浮動損益
optValuedouble選擇權市值
optLongValuedouble未沖銷選擇權買方市值
optShortValuedouble未沖銷選擇權賣方市值
futRealizedPnldouble期貨平倉損益
futUnrealizedPnldouble期貨未平倉損益
buyLotint買進口數
sellLotint賣出口數

請求範例

Console.WriteLine(sdk.FutOptAccounting.QueryMarginEquity(account));

回傳範例

{
isSuccess = True,
message = ,
data = [
Equity{
date = 2024/04/08, // 查詢日期 (string)
branchNo = 15901, // 分公司代號 (string)
account = 1234567, // 帳號 (string)
currency = NTD, // 幣別 (string)
yesterdayBalance = 22435152.4, // 昨日餘額 (double)
todayBalance = 22434910.4, // 今日餘額 (double)
initialMargin = 1114946.0, // 原始保證金 (double)
maintenanceMargin = 939214.0, // 維持保證金 (double)
clearingMargin = 915760.0, // 結算保證金 (double)
todayEquity = 22694910.4, // 本日權益 (double)
todayDeposit= 0.0, // 本日入金 (double)
todayWithdrawal= 2102.0, // 本日出金 (double)
todayTradingFee= 16.0, // 本日交易手續費 (double)
todayTradingTax= 0.0, // 本日交易稅 (double)
receivablePremium= 0.0, // 收取權利金 (double)
payablePremium= 9250.0, // 付出權利金 (double)
excessMargin= 28744525.0, // 超額保證金 (double)
availableMargin = 21453562.4, // 可動用保證金 (double)
disgorgement = 0.0, // 追繳金額 (double)
optPnl = -248600.0, // 未沖銷選擇權浮動損益 (double)
optValue = -193100.0, // 選擇權市值 (double)
optLongValue = 311900.0, // 未沖銷選擇權買方市值 (double)
optShortValue = 505000.0, // 未沖銷選擇權賣方市值 (double)
futRealizedPnl = 0.0, // 期貨平倉損益 (double)
futUnrealizedPnl = 60700.0, // 期貨未平倉損益 (double)
buyLot = 22, // 買進口數 (int)
sellLot = 7, // 賣出口數 (int)
},
Equity {
date = 2024/04/08, // 查詢日期 (string)
branchNo = 15901, // 分公司代號 (string)
account = 1234567, // 帳號 (string)
currency = TWD, // 幣別 (string)
yesterdayBalance = 19880310.0, // 昨日餘額 (double)
todayBalance = 19880068.0, // 今日餘額 (double)
initialMargin = 1114946.0, // 原始保證金 (double)
maintenanceMargin = 939214.0, // 維持保證金 (double)
clearingMargin = 915760.0, // 結算保證金 (double)
todayEquity = 20140068.0, // 本日權益 (double)
todayDeposit= 0.0, // 本日入金 (double)
todayWithdrawal= 2102.0, // 本日出金 (double)
todayTradingFee= 16.0, // 本日交易手續費 (double)
todayTradingTax= 0.0, // 本日交易稅 (double)
receivablePremium= 0.0, // 收取權利金 (double)
payablePremium= 9250.0, // 付出權利金 (double)
excessMargin= 28744525.0, // 超額保證金 (double)
availableMargin = 18898720.0, // 可動用保證金 (double)
disgorgement = 0.0, // 追繳金額 (double)
optPnl = -248600.0, // 未沖銷選擇權浮動損益 (double)
optValue = -193100.0, // 選擇權市值 (double)
optLongValue = 311900.0, // 未沖銷選擇權買方市值 (double)
optShortValue = 505000.0, // 未沖銷選擇權賣方市值 (double)
futRealizedPnl = 0.0, // 期貨平倉損益 (double)
futUnrealizedPnl = 60700.0, // 期貨未平倉損益 (double)
buyLot = 22, // 買進口數 (int)
sellLot = 7 // 賣出口數 (int)
}
]
}