Realized Gains and Loses Summary
RealizedGainsAndLosesSummary
Request Parameter
Parameter | Type | Meaning |
---|---|---|
account | Account | Account |
Result Reponse
Parameter | Type | Meaning |
---|---|---|
isSuccess | bool | Interface result |
data | List | RealizedSummary list is returned |
message | string | isSuccess = False error description is returned |
RealizedSummary Parameter
Return type : Object
Parameter | Type | Meaning |
---|---|---|
startDate | string | Query start date |
endDate | string | Query end date |
branchNo | string | Branch number |
account | string | Account |
stockNo | string | Symbol |
buySell | BsAction | Buy/Sell Type : Buy 、 Sell |
orderType | OrderType | Order Type : Stock 、 Margin 、 Short Short sale 、 DayTrade 、SBL Security Landing |
filledQty | int | Filled quantity |
filledAvgPrice | double | Filled average price |
realizedProfitAndLoss | int | Realized profit and loss |
Request Example
Console.WriteLine(sdk.Accounting.RealizedGainsAndLosesSummary(account));
Request Example
{
isSuccess = True,
message = ,
data =[
RealizedSummary{
startDate = 20230801, // Query start date (string)
endDate = 20230901, // Query end date (string)
branchNo = 6460, // Branch number (string)
account = 26, // Account (string)
stockNo = 1101, // Symbol (string)
buySell = Sell, // Buy/Sell type (BsAction)
orderType = Stock, // Order Type (OrderType)
filledQty = 3000, // Filled quantity (int)
filledAvgPrice = 35.7, // Filled average price (double)
realizedProfitAndLoss = 34026 // Realized profit and loss (int)
},
...
]
}