API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/banking/fc-position-other
| |
Output Fields (JSON) | Swagger Format |
Name | Type | Unit Of Measure | Description |
---|---|---|---|
end_of_month | Date | As at end of Year and Month in ISO format yyyy-mm, For example, 1997-01 | |
spot_assets | Number | HK$ million | Other foreign currencies2 Spot assets |
forward_purchases | Number | HK$ million | Other foreign currencies2 Forward purchases |
spot_liabilities | Number | HK$ million | Other foreign currencies2 Spot liabilities |
forward_sales | Number | HK$ million | Other foreign currencies2 Forward sales |
net_spot_position | Number | HK$ million | Other foreign currencies2 Net spot position |
net_forward_position | Number | HK$ million | Other foreign currencies2 Net forward position |
open_position | Number | HK$ million | Other foreign currencies2 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). |
2. As from January 1999, all national currencies of Euro-participating countries are reported under Euro. As such, figures are not strictly comparable with those of the previous months. |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/banking/fc-position-other?offset=0',dataType:'json',success:function(data){alert('results found:'+ data.result.datasize)}});
Python Example
import urllib.requesturl = 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/banking/fc-position-other?offset=0'with urllib.request.urlopen (url) as req:print (req.read())