Skip to main content

Get Margin Quota

MarginQuota

Request Parameter

ParameterTypeMeaning
accountAccountAccount
stockNostringsymbol

Result Reponse

ParameterTypeMeaning
isSuccessboolInterface result
dataMarginShortQuotaMarginShortQuota is returned
messagestringisSuccess = False error description is returned

MarginShortQuota Parameter

Return type : Object

ParameterTypeMeaning
stockNostringSymbol
datestringQuery date (today)
shortsellOrigQuotaintThe original shortsell quota
shortsellTradableQuotaintAvailable shortsell quota
marginOrigQuotaintThe original margin quota
marginTradableQuotaintAvailable margin quota
marginRatiointMargin Ration
shortRatiointShort Sell Ration
info

Explanation of Quota: If the marginRatio return empty, it means margin is halted. If the shorRatio return empty, it means short selling is halted. Explanation of Returned Quota: 0 - No quota / Greater than 0 - Quota available / Empty - No restrictions / Both of ratio of and quota return 0 - margin or short selling halted.

Request Example

Console.WriteLine(sdk.Stock.MarginQuota(account, "2330"));

Response Example

{
isSuccess = True,
message = ,
data = MarginShortQuota{
stockNo = 2330, // Stock symbol (string)
date = 2024/01/24, // Query date (string)
shortsellOrigQuota = 894, // The original short sell quota (int)
shortsellTradableQuota = 894, // Available short sell quota (int)
marginOrigQuota = , // The original margin quota (int)
marginTradableQuota = , // Available margin quota (int)
marginRatio = 60, // Margin Ratio (int)
shortRatio = 90 // Short Sell Ratio (int)
}
}