Skip to main content

Inventories

Inventories

Request Parameter

ParameterTypeMeaning
accountAccountAccount

Result Reponse

ParameterTypeMeaning
isSuccessboolInterface result
dataListInventory list is returned
messagestringisSuccess = False error description is returned

Inventory Parameter

Return type : Object

ParameterTypeMeaning
> datestringQuery date(Today)
> accountstringAccount
> branchNostringBranch Number
> stockNostringSymbol
> orderTypeOrderTypeOrder Type : StockMarginShort Short sale 、 DayTradeSBL
> lastdayQtyintYesterday Share balacne
> buyQtyintTotal volume purchased today
> buyFilledQtyintTotal purchased filled today
> buyValueintTotal amount purchased today
> todayQtyintToday Share balacne
> tradableQtyintAvailable quantity
> sellQtyintTotal volume sell today
> sellFilledQtyintTotal sell filled today
> sellValueintTotal amount sell today
> oddlistObject
>> lastdayQtyintYesterday odd lot balacne
>> buyQtyintTotal volume purchased today
>> buyFilledQtyintTotal purchased filled today
>> buyValueintTotal amount purchased today
>> todayQtyintToday odd lot balacne
>> tradableQtyintAvailable quantity
>> sellQtyintTotal volume sell today
>> sellFilledQtyintTotal sell filled today
>> sellValueintTotal 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)
}
},
...
]
}