Skip to content

Japan Margin Trading Positions ​

GET /api/v1.0/quote/{symbol}/short/jp-credit

Get Japanese stock margin trading (short-selling / margin-buying / net difference) weekly position history (JP market only). Returns: timestamp and date, close / previous close, financing-to-short ratio, short and margin-buy position ratios (% of total shares), plus short_position, margin_buy_position, and diff_position details (total, general/negotiable credit, standardized credit, and week-over-week change). For daily JSF (Japan Securities Finance) data use quote.jp_short_deposit.

Request ​

ParameterTypeInRequiredDescription
symbolstringpathyesJapanese stock symbol (JP.* only), e.g. JP.7203 / JP.6758
countintquerynoNumber 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-credit?count=1' \
  -H 'Authorization: Bearer <AccessToken>' | jq

Response ​

FieldTypeDescription
data.itemsobject[]
data.items[].timestampintegerData timestamp in milliseconds
data.items[].dateintegerData date YYYY-MM-DD (Tokyo timezone)
data.items[].close_pricenumberClose price
data.items[].last_close_pricenumberPrevious close price
data.items[].financing_short_rationumberMargin-buy to short-sell ratio
data.items[].short_position_rationumberShort position ratio against total shares (percent)
data.items[].margin_buy_position_rationumberMargin-buy position ratio against total shares (percent)
data.items[].short_positionobjectShort-selling position breakdown (shares)
data.items[].short_position[].totalstringTotal short position (shares)
data.items[].short_position[].negotiablestringGeneral/negotiable credit short position (shares)
data.items[].short_position[].standardizedstringStandardized credit short position (shares)
data.items[].short_position[].weekly_changestringWeek-over-week change in short position (shares)
data.items[].margin_buy_positionobjectMargin-buying position breakdown (shares)
data.items[].margin_buy_position[].totalstringTotal margin-buy position (shares)
data.items[].margin_buy_position[].negotiablestringGeneral/negotiable credit margin-buy position (shares)
data.items[].margin_buy_position[].standardizedstringStandardized credit margin-buy position (shares)
data.items[].margin_buy_position[].weekly_changestringWeek-over-week change in margin-buy position (shares)
data.items[].diff_positionobjectNet difference (margin-buy minus short-sell) breakdown (shares)
data.items[].diff_position[].totalstringTotal net difference (shares)
data.items[].diff_position[].weekly_changestringWeek-over-week change in net difference (shares)

Errors ​

ret_codeerror.codeDescription
0—Success
-3invalid_parameterMissing or invalid parameter
-7invalid_symbolUnknown symbol
-8unsupportedMarket or product is not supported
-9permission_deniedMissing permission
-10no_dataNo data
-11rate_limitedToo many requests

Sample ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "items": [
      {
        "timestamp": 0,
        "date": 0,
        "close_price": "example",
        "last_close_price": "example",
        "financing_short_ratio": "example",
        "short_position_ratio": "example"
      }
    ]
  }
}