API for Table III.8 SGX-DT: Turnover and Open Interest (Futures and Options) , Yearly
Monthly Statistical Bulletin
 
See the data published through this API 


How to use the APIs


The Resource ID for this resource is 5266fdfb-e5c3-49b6-a974-8cf47b787a9d. For more details on how to use the API, see the API documentation.


Return the first five results




Fields


NoNameTitleTypeUnit Of MeasureDescription
1end_of_yearEnd of yearDatetime (Year) "YYYY"  
2total_turnover_totalTotal Turnover - Total (for the period)Numeric (General)Number of Contracts 
3total_turnover_futuresTotal Turnover - Futures (for the period)Numeric (General)Number of Contracts 
4total_turnover_optonsTotal Turnover - Options (for the period)Numeric (General)Number of Contracts 
5daily_turnover_totalAverage Daily Turnover - Total (for the period)Numeric (General)Number of Contracts 
6daily_turnover_futuresAverage Daily Turnover - Futures (for the period)Numeric (General)Number of Contracts 
7daily_turnover_optionsAverage Daily Turnover - Options (for the period)Numeric (General)Number of Contracts 
8open_int_totalOpen Interest - Total (end of period)Numeric (General)Number of Contracts 
9open_int_futuresOpen Interest - Futures (end of period)Numeric (General)Number of Contracts 
10open_int_optionsOpen Interest - Options (end of period)Numeric (General)Number of Contracts 



API Examples


Javascript example

Making an ajax request with jQuery:
                                
                var data = {

                       resource_id:'5266fdfb-e5c3-49b6-a974-8cf47b787a9d',//the resource id
                   
                       limit:5 //get 5 results                                                                   

                };

                $.ajax({

                     url: 'https://eservices.mas.gov.sg/api/action/datastore/search.json',

                     data:data,

                     dataType:'json',
                        
                     success:function(data){

                      alert('Total results found:'+ data.result.total)

                     }

                 });  

            


Python Example


               import urllib.request

                url = 'https://eservices.mas.gov.sg/api/action/datastore/search.json?resource_id=5266fdfb-e5c3-49b6-a974-8cf47b787a9d&limit=5'
with urllib.request.urlopen (url) as req:   print (req.read())


Last Modified on 08/06/2017