Main Content

getData

Intercontinental Exchange (ICE) Climate Transition Analytics (CTA) data request

Since R2024a

    Description

    [data,response] = getData(c,request) retrieves data for a specified ICE® data request, where c is an icecta connection object. You can specify the ICE data request as either a structure or as a comma-separated field list. For more information about the ICE API, see the API documentation on the ICE website.

    example

    Examples

    collapse all

    Create an ICE connection by using the icecta function with a valid authentication token. In this example, replace 7eAVoodVJjHXydBrb_OkYJd3tQyv6qviuDw with your authentication token.

    token = "7eAVoodVJjHXydBrb_OkYJd3tQyv6qviuDw";
    c = icecta(token)
    c = 
        
          icecta with properties:
        
                 TimeOut: 200.00

    Create a request structure that contains your data request information and use the getData function to retrieve the data.

    request.identifier = "US29134WAB37";
    request.id_type = "ID_ISIN";
    request.year = 2022;
    request.quarter = "Q1";
    request.field = "all";
    [data,response] = getData(c,request)
    data =
     
          1x120 table
    
           ISIN             identifier         id_type         Company_Short_Name           Region         EmissionsYear    DisclosureCategory    NumberOfScope3CategoriesDisclosed    PrimaryDataSource    IntensityAverageInferenceScope1_2Total_tCO2e__mRevenue_    IntensityAverageInferenceScope3Total_tCO2e__mRevenue_    IntensityAverageInferenceScope1_2_3Total_tCO2e__mRevenue_    IntensityAverageInferenceScope1_2Total_tCO2e__mRevenue__Source    IntensityAverageInferenceScope1_tCO2e__mRevenue_    IntensityAverageInferenceScope2_tCO2e__mRevenue_    IntensityAverageInferenceScope2LocationBased_tCO2e__mRevenue_    IntensityAverageInferenceScope2MarketBased_tCO2e__mRevenue_    IntensityAverageInferenceScope3PurchasedGoodsAndServices_tCO2e_    IntensityAverageInferenceScope3CapitalGoods_tCO2e__mRevenue_    IntensityAverageInferenceScope3FuelAndEnergyRelatedActivities_t    IntensityAverageInferenceScope3UpstreamTransportAndDistribution    IntensityAverageInferenceScope3WasteGenerated_tCO2e__mRevenue_    IntensityAverageInferenceScope3BusinessTravel_tCO2e__mRevenue_    IntensityAverageInferenceScope3EmployeeCommuting_tCO2e__mRevenu    IntensityAverageInferenceScope3UpstreamLeasedAssets_tCO2e__mRev    IntensityAverageInferenceScope3DownstreamTransportDistribution_    IntensityAverageInferenceScope3ProcessingOfSoldProducts_tCO2e__    IntensityAverageInferenceScope3UseOfSoldProducts_tCO2e__mRevenu    IntensityAverageInferenceScope3EndOfLifeTreatmentOfSoldProducts    IntensityAverageInferenceScope3DownstreamLeasedAssets_tCO2e__mR    IntensityAverageInferenceScope3Franchises_tCO2e__mRevenue_    IntensityAverageInferenceScope3Investments_tCO2e__mRevenue_    IntensityAverageInferenceScope3Other_tCO2e__mRevenue_    IntensityAverageInferenceScope1_tCO2e__mRevenue__Source    IntensityAverageInferenceScope2LocationBased_tCO2e__mRevenue__S    IntensityAverageInferenceScope2MarketBased_tCO2e__mRevenue__Sou    IntensityAverageInferenceScope3PurchasedGoodsAndServices_tCO2_1    IntensityAverageInferenceScope3CapitalGoods_tCO2e__mRevenue__So    IntensityAverageInferenceScope3FuelAndEnergyRelatedActivities_1    IntensityAverageInferenceScope3UpstreamTransportAndDistributi_1    IntensityAverageInferenceScope3WasteGenerated_tCO2e__mRevenue__    IntensityAverageInferenceScope3BusinessTravel_tCO2e__mRevenue__    IntensityAverageInferenceScope3EmployeeCommuting_tCO2e__mReve_1    IntensityAverageInferenceScope3UpstreamLeasedAssets_tCO2e__mR_1    IntensityAverageInferenceScope3DownstreamTransportDistributio_1    IntensityAverageInferenceScope3ProcessingOfSoldProducts_tCO2e_1    IntensityAverageInferenceScope3UseOfSoldProducts_tCO2e__mReve_1    IntensityAverageInferenceScope3EndOfLifeTreatmentOfSoldProduc_1    IntensityAverageInferenceScope3DownstreamLeasedAssets_tCO2e___1    IntensityAverageInferenceScope3Franchises_tCO2e__mRevenue__Sour    IntensityAverageInferenceScope3Investments_tCO2e__mRevenue__Sou    IntensityAverageInferenceScope3Other_tCO2e__mRevenue__Source    ReportedEmissionsIntensityScope1_tCO2e__mRevenue_    ReportedEmissionsIntensityScope2_tCO2e__mRevenue_    ReportedEmissionsIntensityScope2LocationBased_tCO2e__mRevenue_    ReportedEmissionsIntensityScope2MarketBased_tCO2e__mRevenue_    ReportedEmissionsIntensityScope1_2Total_tCO2e__mRevenue_    ReportedEmissionsIntensityScope3Total_tCO2e__mRevenue_    ReportedEmissionsIntensityScope1_2_3Total_tCO2e__mRevenue_    ReportedEmissionsIntensityScope31PurchasedGoodsAndServices_tCO2    ReportedEmissionsIntensityScope32CapitalGoods_tCO2e__mRevenue_    ReportedEmissionsIntensityScope33FuelAndEnergyRelatedActivities    ReportedEmissionsIntensityScope34UpstreamTransportAndDistributi    ReportedEmissionsIntensityScope35WasteGenerated_tCO2e__mRevenue    ReportedEmissionsIntensityScope36BusinessTravel_tCO2e__mRevenue    ReportedEmissionsIntensityScope37EmployeeCommuting_tCO2e__mReve    ReportedEmissionsIntensityScope38UpstreamLeasedAssets_tCO2e__mR    ReportedEmissionsIntensityScope39DownstreamTransportDistributio    ReportedEmissionsIntensityScope310ProcessingOfSoldProducts_tCO2    ReportedEmissionsIntensityScope311UseOfSoldProducts_tCO2e__mRev    ReportedEmissionsIntensityScope312EndOfLifeTreatmentOfSoldProdu    ReportedEmissionsIntensityScope313DownstreamLeasedAssets_tCO2e_    ReportedEmissionsIntensityScope314Franchises_tCO2e__mRevenue_    ReportedEmissionsIntensityScope315Investments_tCO2e__mRevenue_    ReportedEmissionsIntensityScope3Other_tCO2e__mRevenue_    ReportedEmissionsScope1_tCO2e_    ReportedEmissionsScope2_tCO2e_    ReportedEmissionsScope2LocationBased_tCO2e_    ReportedEmissionsScope2MarketBased_tCO2e_    ReportedEmissionsScope1_2Total_tCO2e_    ReportedEmissionsScope3Total_tCO2e_    ReportedEmissionsScope1_2_3Total_tCO2e_    ReportedEmissionsScope31PurchasedGoodsAndServices_tCO2e_    ReportedEmissionsScope32CapitalGoods_tCO2e_    ReportedEmissionsScope33FuelAndEnergyRelatedActivities_tCO2e_    ReportedEmissionsScope34UpstreamTransportAndDistribution_tCO2e_    ReportedEmissionsScope35WasteGenerated_tCO2e_    ReportedEmissionsScope36BusinessTravel_tCO2e_    ReportedEmissionsScope37EmployeeCommuting_tCO2e_    ReportedEmissionsScope38UpstreamLeasedAssets_tCO2e_    ReportedEmissionsScope39DownstreamTransportDistribution_tCO2e_    ReportedEmissionsScope310ProcessingOfSoldProducts_tCO2e_    ReportedEmissionsScope311UseOfSoldProducts_tCO2e_    ReportedEmissionsScope312EndOfLifeTreatmentOfSoldProducts_tCO2e    ReportedEmissionsScope313DownstreamLeasedAssets_tCO2e_    ReportedEmissionsScope314Franchises_tCO2e_    ReportedEmissionsScope315Investments_tCO2e_    ReportedEmissionsScope3Other_tCO2e_    AbsoluteEmissionsAverageInferenceScope1_tCO2e_    AbsoluteEmissionsAverageInferenceScope2_tCO2e_    AbsoluteEmissionsAverageInferenceScope2LocationBased_tCO2e_    AbsoluteEmissionsAverageInferenceScope2MarketBased_tCO2e_    AbsoluteEmissionsAverageInferenceScope1_2Total_tCO2e_    AbsoluteEmissionsAverageInferenceScope3Total_tCO2e_    AbsoluteEmissionsAverageInferenceScope1_2_3Total_tCO2e_    AbsoluteEmissionsAverageInferenceScope3PurchasedGoodsAndService    AbsoluteEmissionsAverageInferenceScope3CapitalGoods_tCO2e_    AbsoluteEmissionsAverageInferenceScope3FuelAndEnergyRelatedActi    AbsoluteEmissionsAverageInferenceScope3UpstreamTransportAndDist    AbsoluteEmissionsAverageInferenceScope3WasteGenerated_tCO2e_    AbsoluteEmissionsAverageInferenceScope3BusinessTravel_tCO2e_    AbsoluteEmissionsAverageInferenceScope3EmployeeCommuting_tCO2e_    AbsoluteEmissionsAverageInferenceScope3UpstreamLeasedAssets_tCO    AbsoluteEmissionsAverageInferenceScope3DownstreamTransportDistr    AbsoluteEmissionsAverageInferenceScope3ProcessingOfSoldProducts    AbsoluteEmissionsAverageInferenceScope3UseOfSoldProducts_tCO2e_    AbsoluteEmissionsAverageInferenceScope3EndOfLifeTreatmentOfSold    AbsoluteEmissionsAverageInferenceScope3DownstreamLeasedAssets_t    AbsoluteEmissionsAverageInferenceScope3Franchises_tCO2e_    AbsoluteEmissionsAverageInferenceScope3Investments_tCO2e_
     ________________    ________________    ___________    ________________________    _______________    _____________    __________________    _________________________________    _________________    _______________________________________________________    _____________________________________________________    _________________________________________________________    ______________________________________________________________    ________________________________________________    ________________________________________________    _____________________________________________________________    ___________________________________________________________    _______________________________________________________________    ____________________________________________________________    _______________________________________________________________    _______________________________________________________________    ______________________________________________________________    ______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    __________________________________________________________    ___________________________________________________________    _____________________________________________________    _______________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    ____________________________________________________________    _________________________________________________    _________________________________________________    ______________________________________________________________    ____________________________________________________________    ________________________________________________________    ______________________________________________________    __________________________________________________________    _______________________________________________________________    ______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _____________________________________________________________    ______________________________________________________________    ______________________________________________________    ______________________________    ______________________________    ___________________________________________    _________________________________________    _____________________________________    ___________________________________    _______________________________________    ________________________________________________________    ___________________________________________    _____________________________________________________________    _______________________________________________________________    _____________________________________________    _____________________________________________    ________________________________________________    ___________________________________________________    ______________________________________________________________    ________________________________________________________    _________________________________________________    _______________________________________________________________    ______________________________________________________    __________________________________________    ___________________________________________    ___________________________________    ______________________________________________    ______________________________________________    ___________________________________________________________    _________________________________________________________    _____________________________________________________    ___________________________________________________    _______________________________________________________    _______________________________________________________________    __________________________________________________________    _______________________________________________________________    _______________________________________________________________    ____________________________________________________________    ____________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    ________________________________________________________    _________________________________________________________
    
    
            ...
          
          response = 
          
            ResponseMessage with properties:
          
              StatusLine: 'HTTP/1.1 200 OK'
              StatusCode: OK
                  Header: [1x6 matlab.net.http.HeaderField]
                    Body: [1x1 matlab.net.http.MessageBody]
               Completed: 0

    Create an ICE connection by using the icecta function with a valid authentication token. In this example, replace 7eAVoodVJjHXydBrb_OkYJd3tQyv6qviuDw with your authentication token.

    token = "7eAVoodVJjHXydBrb_OkYJd3tQyv6qviuDw";
    c = icecta(token)
    c = 
        
          icecta with properties:
        
                 TimeOut: 200.00

    Request data by specifying the identifier, id_type, year, quarter, and field ICE API parameters.

    [data,response] = getData(c,identifier="US29134WAB37",id_type="ID_ISIN",year=2022,quarter="Q1",field="all")
    data =
     
          1x120 table
    
           ISIN             identifier         id_type         Company_Short_Name           Region         EmissionsYear    DisclosureCategory    NumberOfScope3CategoriesDisclosed    PrimaryDataSource    IntensityAverageInferenceScope1_2Total_tCO2e__mRevenue_    IntensityAverageInferenceScope3Total_tCO2e__mRevenue_    IntensityAverageInferenceScope1_2_3Total_tCO2e__mRevenue_    IntensityAverageInferenceScope1_2Total_tCO2e__mRevenue__Source    IntensityAverageInferenceScope1_tCO2e__mRevenue_    IntensityAverageInferenceScope2_tCO2e__mRevenue_    IntensityAverageInferenceScope2LocationBased_tCO2e__mRevenue_    IntensityAverageInferenceScope2MarketBased_tCO2e__mRevenue_    IntensityAverageInferenceScope3PurchasedGoodsAndServices_tCO2e_    IntensityAverageInferenceScope3CapitalGoods_tCO2e__mRevenue_    IntensityAverageInferenceScope3FuelAndEnergyRelatedActivities_t    IntensityAverageInferenceScope3UpstreamTransportAndDistribution    IntensityAverageInferenceScope3WasteGenerated_tCO2e__mRevenue_    IntensityAverageInferenceScope3BusinessTravel_tCO2e__mRevenue_    IntensityAverageInferenceScope3EmployeeCommuting_tCO2e__mRevenu    IntensityAverageInferenceScope3UpstreamLeasedAssets_tCO2e__mRev    IntensityAverageInferenceScope3DownstreamTransportDistribution_    IntensityAverageInferenceScope3ProcessingOfSoldProducts_tCO2e__    IntensityAverageInferenceScope3UseOfSoldProducts_tCO2e__mRevenu    IntensityAverageInferenceScope3EndOfLifeTreatmentOfSoldProducts    IntensityAverageInferenceScope3DownstreamLeasedAssets_tCO2e__mR    IntensityAverageInferenceScope3Franchises_tCO2e__mRevenue_    IntensityAverageInferenceScope3Investments_tCO2e__mRevenue_    IntensityAverageInferenceScope3Other_tCO2e__mRevenue_    IntensityAverageInferenceScope1_tCO2e__mRevenue__Source    IntensityAverageInferenceScope2LocationBased_tCO2e__mRevenue__S    IntensityAverageInferenceScope2MarketBased_tCO2e__mRevenue__Sou    IntensityAverageInferenceScope3PurchasedGoodsAndServices_tCO2_1    IntensityAverageInferenceScope3CapitalGoods_tCO2e__mRevenue__So    IntensityAverageInferenceScope3FuelAndEnergyRelatedActivities_1    IntensityAverageInferenceScope3UpstreamTransportAndDistributi_1    IntensityAverageInferenceScope3WasteGenerated_tCO2e__mRevenue__    IntensityAverageInferenceScope3BusinessTravel_tCO2e__mRevenue__    IntensityAverageInferenceScope3EmployeeCommuting_tCO2e__mReve_1    IntensityAverageInferenceScope3UpstreamLeasedAssets_tCO2e__mR_1    IntensityAverageInferenceScope3DownstreamTransportDistributio_1    IntensityAverageInferenceScope3ProcessingOfSoldProducts_tCO2e_1    IntensityAverageInferenceScope3UseOfSoldProducts_tCO2e__mReve_1    IntensityAverageInferenceScope3EndOfLifeTreatmentOfSoldProduc_1    IntensityAverageInferenceScope3DownstreamLeasedAssets_tCO2e___1    IntensityAverageInferenceScope3Franchises_tCO2e__mRevenue__Sour    IntensityAverageInferenceScope3Investments_tCO2e__mRevenue__Sou    IntensityAverageInferenceScope3Other_tCO2e__mRevenue__Source    ReportedEmissionsIntensityScope1_tCO2e__mRevenue_    ReportedEmissionsIntensityScope2_tCO2e__mRevenue_    ReportedEmissionsIntensityScope2LocationBased_tCO2e__mRevenue_    ReportedEmissionsIntensityScope2MarketBased_tCO2e__mRevenue_    ReportedEmissionsIntensityScope1_2Total_tCO2e__mRevenue_    ReportedEmissionsIntensityScope3Total_tCO2e__mRevenue_    ReportedEmissionsIntensityScope1_2_3Total_tCO2e__mRevenue_    ReportedEmissionsIntensityScope31PurchasedGoodsAndServices_tCO2    ReportedEmissionsIntensityScope32CapitalGoods_tCO2e__mRevenue_    ReportedEmissionsIntensityScope33FuelAndEnergyRelatedActivities    ReportedEmissionsIntensityScope34UpstreamTransportAndDistributi    ReportedEmissionsIntensityScope35WasteGenerated_tCO2e__mRevenue    ReportedEmissionsIntensityScope36BusinessTravel_tCO2e__mRevenue    ReportedEmissionsIntensityScope37EmployeeCommuting_tCO2e__mReve    ReportedEmissionsIntensityScope38UpstreamLeasedAssets_tCO2e__mR    ReportedEmissionsIntensityScope39DownstreamTransportDistributio    ReportedEmissionsIntensityScope310ProcessingOfSoldProducts_tCO2    ReportedEmissionsIntensityScope311UseOfSoldProducts_tCO2e__mRev    ReportedEmissionsIntensityScope312EndOfLifeTreatmentOfSoldProdu    ReportedEmissionsIntensityScope313DownstreamLeasedAssets_tCO2e_    ReportedEmissionsIntensityScope314Franchises_tCO2e__mRevenue_    ReportedEmissionsIntensityScope315Investments_tCO2e__mRevenue_    ReportedEmissionsIntensityScope3Other_tCO2e__mRevenue_    ReportedEmissionsScope1_tCO2e_    ReportedEmissionsScope2_tCO2e_    ReportedEmissionsScope2LocationBased_tCO2e_    ReportedEmissionsScope2MarketBased_tCO2e_    ReportedEmissionsScope1_2Total_tCO2e_    ReportedEmissionsScope3Total_tCO2e_    ReportedEmissionsScope1_2_3Total_tCO2e_    ReportedEmissionsScope31PurchasedGoodsAndServices_tCO2e_    ReportedEmissionsScope32CapitalGoods_tCO2e_    ReportedEmissionsScope33FuelAndEnergyRelatedActivities_tCO2e_    ReportedEmissionsScope34UpstreamTransportAndDistribution_tCO2e_    ReportedEmissionsScope35WasteGenerated_tCO2e_    ReportedEmissionsScope36BusinessTravel_tCO2e_    ReportedEmissionsScope37EmployeeCommuting_tCO2e_    ReportedEmissionsScope38UpstreamLeasedAssets_tCO2e_    ReportedEmissionsScope39DownstreamTransportDistribution_tCO2e_    ReportedEmissionsScope310ProcessingOfSoldProducts_tCO2e_    ReportedEmissionsScope311UseOfSoldProducts_tCO2e_    ReportedEmissionsScope312EndOfLifeTreatmentOfSoldProducts_tCO2e    ReportedEmissionsScope313DownstreamLeasedAssets_tCO2e_    ReportedEmissionsScope314Franchises_tCO2e_    ReportedEmissionsScope315Investments_tCO2e_    ReportedEmissionsScope3Other_tCO2e_    AbsoluteEmissionsAverageInferenceScope1_tCO2e_    AbsoluteEmissionsAverageInferenceScope2_tCO2e_    AbsoluteEmissionsAverageInferenceScope2LocationBased_tCO2e_    AbsoluteEmissionsAverageInferenceScope2MarketBased_tCO2e_    AbsoluteEmissionsAverageInferenceScope1_2Total_tCO2e_    AbsoluteEmissionsAverageInferenceScope3Total_tCO2e_    AbsoluteEmissionsAverageInferenceScope1_2_3Total_tCO2e_    AbsoluteEmissionsAverageInferenceScope3PurchasedGoodsAndService    AbsoluteEmissionsAverageInferenceScope3CapitalGoods_tCO2e_    AbsoluteEmissionsAverageInferenceScope3FuelAndEnergyRelatedActi    AbsoluteEmissionsAverageInferenceScope3UpstreamTransportAndDist    AbsoluteEmissionsAverageInferenceScope3WasteGenerated_tCO2e_    AbsoluteEmissionsAverageInferenceScope3BusinessTravel_tCO2e_    AbsoluteEmissionsAverageInferenceScope3EmployeeCommuting_tCO2e_    AbsoluteEmissionsAverageInferenceScope3UpstreamLeasedAssets_tCO    AbsoluteEmissionsAverageInferenceScope3DownstreamTransportDistr    AbsoluteEmissionsAverageInferenceScope3ProcessingOfSoldProducts    AbsoluteEmissionsAverageInferenceScope3UseOfSoldProducts_tCO2e_    AbsoluteEmissionsAverageInferenceScope3EndOfLifeTreatmentOfSold    AbsoluteEmissionsAverageInferenceScope3DownstreamLeasedAssets_t    AbsoluteEmissionsAverageInferenceScope3Franchises_tCO2e_    AbsoluteEmissionsAverageInferenceScope3Investments_tCO2e_
     ________________    ________________    ___________    ________________________    _______________    _____________    __________________    _________________________________    _________________    _______________________________________________________    _____________________________________________________    _________________________________________________________    ______________________________________________________________    ________________________________________________    ________________________________________________    _____________________________________________________________    ___________________________________________________________    _______________________________________________________________    ____________________________________________________________    _______________________________________________________________    _______________________________________________________________    ______________________________________________________________    ______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    __________________________________________________________    ___________________________________________________________    _____________________________________________________    _______________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    ____________________________________________________________    _________________________________________________    _________________________________________________    ______________________________________________________________    ____________________________________________________________    ________________________________________________________    ______________________________________________________    __________________________________________________________    _______________________________________________________________    ______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _____________________________________________________________    ______________________________________________________________    ______________________________________________________    ______________________________    ______________________________    ___________________________________________    _________________________________________    _____________________________________    ___________________________________    _______________________________________    ________________________________________________________    ___________________________________________    _____________________________________________________________    _______________________________________________________________    _____________________________________________    _____________________________________________    ________________________________________________    ___________________________________________________    ______________________________________________________________    ________________________________________________________    _________________________________________________    _______________________________________________________________    ______________________________________________________    __________________________________________    ___________________________________________    ___________________________________    ______________________________________________    ______________________________________________    ___________________________________________________________    _________________________________________________________    _____________________________________________________    ___________________________________________________    _______________________________________________________    _______________________________________________________________    __________________________________________________________    _______________________________________________________________    _______________________________________________________________    ____________________________________________________________    ____________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    _______________________________________________________________    ________________________________________________________    _________________________________________________________
    
    
            ...
          
          response = 
          
            ResponseMessage with properties:
          
              StatusLine: 'HTTP/1.1 200 OK'
              StatusCode: OK
                  Header: [1x6 matlab.net.http.HeaderField]
                    Body: [1x1 matlab.net.http.MessageBody]
               Completed: 0

    Input Arguments

    collapse all

    ICE connection, specified as an icecta object.

    ICE data request, specified as one of following:

    • structure that contains data request fields and values.

    • ICE data request field list. For more information about the ICE API, see the API documentation on the ICE website.

    Example: [data,response] = getData(i,identifier="US29134WAB37",id_type="ID_ISIN",year=2022,quarter="Q1",field="all")

    Output Arguments

    collapse all

    CTA information for your security, returned as a table.

    HTTP request response, returned as a ResponseMessage object. For details, see matlab.net.http.ResponseMessage.

    Version History

    Introduced in R2024a

    See Also