Get Daytrade Quota and Precollect Information
DaytradeAndStockInfo
Request Parameter
Parameter | Type | Meaning |
---|---|---|
account | Account | Account |
stockNo | string | Symbol |
Result Reponse
Parameter | Type | Meaning |
---|---|---|
isSuccess | bool | Interface result |
data | DayTradeStockInfo | DayTradeStockInfo is returned |
message | string | isSuccess = False error description is returned |
DayTradeStockInfo Parameter
Return type : Object
Parameter | Type | Meaning |
---|---|---|
stockNo | string | Symbol |
date | string | Query Date |
daytradeOrigQuota | int | Original short daytrade quota |
daytradeTradableQuota | int | Available short daytrade quota |
precollectSingle | int | Precollect for single order |
precollectAccumulate | int | Precollect for accumulate order |
status | int | Status (bitmask type ) 0 :All forbidden 、 1:Exempted from margin short selling price constraint、2: Exempted from SBL short selling price constraint、 4: Available sale after buy day trading 、 8: Available buy after sale day trading |
info
Status Example : if Status = 15 : It represnet there is no constraint for this symbol ,15 eqauls 1+2+4+8 break down; if Status = 12 ,it represnet 4 + 8 break down。
Request Example
var daytrade = sdk.DaytradeAndStockInfo(account, "2330");
Console.WriteLine(daytrade);
Response Example
{
isSuccess = True,
message = ,
data = [DayTradeStockInfo{
stockNo = 3264, // Stock symbol (string)
date = 2023/10/04, // Query date (string)
daytradeOrigQuota = 0, // Original short daytrade quota (int)
daytradeTradableQuota = 0, // Available short daytrade quota (int)
precollectSingle = , // Precollect for single order (int)
precollectAccumulate = , // Precollect for accumulate order (int)
status = 0 // Status (int)
}]
}