Skip to main content

Get Margin Quota

marginQuota

Input Parameters​

ParameterTypeMeaning
accountAccountAccount
stockNostringSymbol

Result​

ParameterTypeMeaning
isSuccessboolWhether successful
dataObjectMarginShortQuota list is returned
messagestring ? (optional)Error message returned when isSuccess = false

MarginShortQuota Parameter​

Return type : Object

ParameterTypeMeaning
stockNostringSymbol
datestringQuery Date (today)
shortsellOrigQuotanumber ?The Original Shortsell Quota
shortsellTradableQuotanumber ?Available Shortsell Quota
marginOrigQuotanumber ?The Original Margin Quota
marginTradableQuotanumber ?Available Margin Quota
marginRationumber ?Margin Ration
shortRationumber ?Short Sell Ration
info

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

Request Example​

sdk.stock.marginQuota(account, "2330")

Response Example​

{
isSuccess: true,
data: {
stockNo: '2330',
date: '2024/01/24',
shortsellOrigQuota: 894,
shortsellTradableQuota: 894,
marginRatio: 60,
shortRatio: 90
}
}