Japan Securities Finance Data
GET/api/v1.0/quote/{symbol}/short/jp-depositGet daily Japan Securities Finance (JSF) stock loan and margin position data (JP market only). Returns: report_type (QUICK_REPORT / CONFIRM_REPORT), date, close_price, cover_days, lend_rate, financing_short_ratio, plus open / flat / balance / daily change for short_position, margin_buy_position, and diff_position. For weekly margin credit data use quote.jp_short_credit.
Request
| Parameter | Type | In | Required | Description |
|---|---|---|---|---|
symbol | string | path | yes | Japanese stock symbol (JP.* only), e.g. JP.7203 / JP.6758 |
count | int | query | no | Number of records to return, default 30, range 1~90 |
Example
bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/US.AAPL/short/jp-deposit?count=1' \
-H 'Authorization: Bearer <AccessToken>' | jqResponse
| Field | Type | Description |
|---|---|---|
data.items | object[] | |
data.items[].report_type | integer | Report type: QUICK_REPORT / CONFIRM_REPORT |
data.items[].timestamp | integer | Data timestamp in milliseconds |
data.items[].date | integer | Data date YYYY-MM-DD (Tokyo timezone) |
data.items[].close_price | number | Close price |
data.items[].short_ratio | number | Short position ratio against total shares (percent) |
data.items[].margin_buy_ratio | number | Margin-buy position ratio against total shares (percent) |
data.items[].cover_days | number | Days to cover |
data.items[].lend_rate | number | Lending rate |
data.items[].financing_short_ratio | number | JSF margin-buy to short-sell ratio |
data.items[].short_position | object | JSF short position details (shares) |
data.items[].short_position[].open_position | string | New short open position (shares) |
data.items[].short_position[].flat_position | string | Short closed/repaid position (shares) |
data.items[].short_position[].share_position | string | Short position balance (shares) |
data.items[].short_position[].daily_change | string | Day-over-day change (shares) |
data.items[].margin_buy_position | object | JSF margin-buy position details (shares) |
data.items[].margin_buy_position[].open_position | string | New margin-buy open position (shares) |
data.items[].margin_buy_position[].flat_position | string | Margin-buy closed/repaid position (shares) |
data.items[].margin_buy_position[].share_position | string | Margin-buy position balance (shares) |
data.items[].margin_buy_position[].daily_change | string | Day-over-day change (shares) |
Errors
| ret_code | error.code | Description |
|---|---|---|
| 0 | — | Success |
| -3 | invalid_parameter | Missing or invalid parameter |
| -7 | invalid_symbol | Unknown symbol |
| -8 | unsupported | Market or product is not supported |
| -9 | permission_denied | Missing permission |
| -10 | no_data | No data |
| -11 | rate_limited | Too many requests |
Sample
json
{
"ret_code": 0,
"ret_msg": "success",
"data": {
"items": [
{
"report_type": 0,
"timestamp": 0,
"date": 0,
"close_price": "example",
"short_ratio": "example",
"margin_buy_ratio": "example"
}
]
}
}