Query Equity
QueryMarginEquity
Request Parameter
Parameter | Type | Meaning |
---|---|---|
account | Account | Account |
Result Reponse
Parameter | Type | Meaning |
---|---|---|
isSuccess | bool | Interface result |
data | Equity | Equity is returned |
message | string | isSuccess = False error description is returned |
Equity Parameter
Return type : Object
Parameter | Type | Meaning |
---|---|---|
date | string | Query Date |
branchNo | string | Branch double |
account | string | Account |
currency | string | Currency |
yesterdayBalance | double | Yesterday Balance |
todayBalance | double | Today's Balance |
initialMargin | double | Initial Margin |
maintenanceMargin | double | Maintenace Margin |
clearingMargin | double | Clearing Margin |
todayEquity | double | Today's Equity |
todayDeposit | double | Today's Deposit |
todayWithdrawal | double | Today's Withdrawal |
todayTradingFee | double | Today's Trading Fee |
todayTradingTax | double | Today's Trading Tax |
receivablePremium | double | Receivable Premium |
payablePremium | double | Payable Premium |
excessMargin | double | Excess Margin |
availableMargin | double | Available Margin |
disgorgement | double | Disgorgement |
optPnl | double | Option Profit or loss |
optValue | double | Option Market Value |
optLongValue | double | Long Option Market Value |
optShortValue | double | Short Option Market Value |
futRealizedPnl | double | Future Realized Profit or Loss |
futUnrealizedPnl | double | Future Unrealized Profit or Loss |
buyLot | int | Buying Lot |
sellLot | int | Selling Lot |
Request Example
Console.WriteLine(sdk.FutOptAccounting.QueryMarginEquity(target_user));
Response Example
{
isSuccess = True,
data = [
{
date = 2024/04/08, // Query Date (string)
branchNo = 15901, // Branch number (string)
account = 1234567, // Account (string)
currency = NTD, // Currency : `NTD` TWD equivalents 、`TWD` New Taiwan Dollars、`USD` US Dollars、`CNY` ChiNa Yuan 、`JPY` Japanese Yen (string)
yesterdayBalance = 22435152.4, // Yesterday Balance (double)
todayBalance = 22434910.4, // Today's Balance (double)
initialMargin = 1114946.0, // Initial Margin (double)
maintenanceMargin = 939214.0, // Maintenace Margin (double)
clearingMargin = 915760.0, // Clearing Margin (double)
todayEquity = 22694910.4, // Today's Equity (double)
todayDeposit= 0.0, // Today's Deposit (double)
todayWithdrawal= 2102.0, // Today's Withdrawal (double)
todayTradingFee= 16.0, // Today's Trading Fee (double)
todayTradingTax= 0.0, // Today's Trading Tax (double)
receivablePremium= 0.0, // Receivable Premium (double)
payablePremium= 9250.0, // Payable Premium (double)
excessMargin= 28744525.0, // Excess Margin (double)
availableMargin = 21453562.4, // Available Margin (double)
disgorgement = 0.0, // Disgorgement (double)
optPnl = -248600.0, // Option Profit or loss (double)
optValue = -193100.0, // Option Market Value (double)
optLongValue = 311900.0, // Long Option Market Value (double)
optShortValue = 505000.0, // Short Option Market Value (double)
futRealizedPnl = 0.0, // Future Realized Profit or Loss (double)
futUnrealizedPnl = 60700.0, // Future Unrealized Profit or Loss (double)
buyLot = 22, // Buying Lot (int)
sellLot = 7 // Selling Lot (int)
},
{
date = 2024/04/08, // Query Date (string)
branchNo = 15901, // Branch number (string)
account = 1234567, // Account (string)
currency = TWD, // Currency : `NTD` TWD equivalents 、`TWD` New Taiwan Dollars、`USD` US Dollars、`CNY` ChiNa Yuan 、`JPY` Japanese Yen (string)
yesterdayBalance = 19880310.0, // Yesterday Balance (double)
todayBalance = 19880068.0, // Today's Balance (double)
initialMargin = 1114946.0, // Initial Margin (double)
maintenanceMargin = 939214.0, // Maintenace Margin (double)
clearingMargin = 915760.0, // Clearing Margin (double)
todayEquity = 20140068.0, // Today's Equity (double)
todayDeposit= 0.0, // Today's Deposit (double)
todayWithdrawal= 2102.0, // Today's Withdrawal (double)
todayTradingFee= 16.0, // Today's Trading Fee (double)
todayTradingTax= 0.0, // Today's Trading Tax (double)
receivablePremium= 0.0, // Receivable Premium (double)
payablePremium= 9250.0, // Payable Premium (double)
excessMargin= 28744525.0, // Excess Margin (double)
availableMargin = 18898720.0, // Available Margin (double)
disgorgement = 0.0, // Disgorgement (double)
optPnl = -248600.0, // Option Profit or loss (double)
optValue = -193100.0, // Option Market Value (double)
optLongValue = 311900.0, // Long Option Market Value (double)
optShortValue = 505000.0, // Short Option Market Value (double)
futRealizedPnl = 0.0, // Future Realized Profit or Loss (double)
futUnrealizedPnl = 60700.0, // Future Unrealized Profit or Loss (double)
buyLot = 22, // Buying Lot (int)
sellLot = 7 // Selling Lot (int)
}
]
}