Inventories
Inventories
Request Parameter
| Parameter | Type | Meaning |
|---|---|---|
| account | Account | Account |
Result Reponse
| Parameter | Type | Meaning |
|---|---|---|
| isSuccess | bool | Interface result |
| data | List | Inventory list is returned |
| message | string | isSuccess = False error description is returned |
Inventory Parameter
Return type : Object
| Parameter | Type | Meaning |
|---|---|---|
| > date | string | Query date(Today) |
| > account | string | Account |
| > branchNo | string | Branch Number |
| > stockNo | string | Symbol |
| > orderType | OrderType | Order Type : Stock 、 Margin 、 Short Short sale 、 DayTrade 、 SBL |
| > lastdayQty | int | Yesterday Share balacne |
| > buyQty | int | Total volume purchased today |
| > buyFilledQty | int | Total purchased filled today |
| > buyValue | int | Total amount purchased today |
| > todayQty | int | Today Share balacne |
| > tradableQty | int | Available quantity |
| > sellQty | int | Total volume sell today |
| > sellFilledQty | int | Total sell filled today |
| > sellValue | int | Total amount sell today |
| > odd | list | Object |
| >> lastdayQty | int | Yesterday odd lot balacne |
| >> buyQty | int | Total volume purchased today |
| >> buyFilledQty | int | Total purchased filled today |
| >> buyValue | int | Total amount purchased today |
| >> todayQty | int | Today odd lot balacne |
| >> tradableQty | int | Available quantity |
| >> sellQty | int | Total volume sell today |
| >> sellFilledQty | int | Total sell filled today |
| >> sellValue | int | Total amount sell today |
Request Example
Console.WriteLine(sdk.Accounting.Inventories(account));
Response Example
{
isSuccess = True,
message = ,
data = [
Inventory{
date = 2023/10/13, // Query date (string)
account = 26, // Account (string)
branchNo = 6460, // Branch Number (string)
stockNo = 1101, // Symbol (string)
orderType = Stock, // Order Type (OrderType)
lastdayQty = 2000, // Yesterday Share Balance (int)
buyQty = 0, // Total volume purchased today (int)
buyFilledQty = 0, // Total purchased filled today (int)
buyValue = 0, // Total amount purchased today (int)
todayQty = 2000, // Today Share Balance (int)
tradableQty = 2000, // Available quantity (int)
sellQty = 0, // Total volume sell today (int)
sellFilledQty = 0, // Total sell filled today (int)
sellValue = 0, // Total amount sell today (int)
odd = { // Object
lastdayQty = 0, // Yesterday odd lot balance (int)
buyQty = 0, // Total volume purchased today (int)
buyFilledQty = 0, // Total purchased filled today (int)
buyValue = 0, // Total amount purchased today (int)
todayQty = 0, // Today odd lot balance (int)
tradableQty = 0, // Available quantity (int)
sellQty = 0, // Total volume sell today (int)
sellFilledQty = 0, // Total sell filled today (int)
sellValue = 0 // Total amount sell today (int)
}
},
...
]
}