Foreign currency position – Japanese yen

API Detailed Documentation

API URL:

https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/banking/fc-position-jpy

API Data Enquiry

Output Fields (JSON) Swagger Format
Name Type Unit Of Measure Description
end_of_monthDateAs at end of
Year and Month in ISO format yyyy-mm, For example, 1997-01
spot_assetsNumberHK$ millionJapanese yen
Spot assets
forward_purchasesNumberHK$ millionJapanese yen
Forward purchases
spot_liabilitiesNumberHK$ millionJapanese yen
Spot liabilities
forward_salesNumberHK$ millionJapanese yen
Forward sales
net_spot_positionNumberHK$ millionJapanese yen
Net spot position
net_forward_positionNumberHK$ millionJapanese yen
Net forward position
open_positionNumberHK$ millionJapanese yen
Open position

Footnotes:

1. As from July 1990, foreign currency positions are redefined to exclude structural assets and liabilities (including investment in fixed assets and premises, overseas branch capital, investments in overseas subsidiaries and related companies and loan capital).

API Examples

Javascript Example

$.ajax({
url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/banking/fc-position-jpy?offset=0',
dataType:'json',
success:function(data){
alert('results found:'+ data.result.datasize)
}
});

Python Example

import urllib.request
url = 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/banking/fc-position-jpy?offset=0'
with urllib.request.urlopen (url) as req:
print (req.read())

How to use the APIs

To learn more, please visit API documentation.