This API will be discontinued by 31 October 2023, please update your APIs and bookmark to "https://eservices.mas.gov.sg/apimg-portal/".

For more information, please subscribe to the new API resources and accelerate your app roadmap. "Browse the new API Catalogue"

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


How to use the APIs


The Resource ID for this resource is 29a891f3-2ac7-442a-9b86-d517a4904f09. For more details on how to use the API, see the API documentation.


Return the first five results




Fields


NoNameTitleTypeUnit Of MeasureDescription
1end_of_monthEnd of monthDatetime (Month) "YYYY-MM"  
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:'29a891f3-2ac7-442a-9b86-d517a4904f09',//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?resource_id=29a891f3-2ac7-442a-9b86-d517a4904f09&limit=5'
with urllib.request.url.open (url) as req:   print req.read()


© 2023, Government of Singapore. Last updated on 01 Aug 2023