How could I access Libre rate and centre bank rate from API

bin
bin Explorer

How could I access Libre rate and centre bank rate from HTTP request or API

Answers

  • bin
    bin Explorer

    how could I access libre rate and centre bank rate. e.g. GBBASE= ,GBP1MFSR= from the Java code and Trth API 2

  • zoya faberov
    zoya faberov ✭✭✭✭✭

    Hi @bin,

    A TRTH V2 request tested and working in Postman should work as the exact same request from Java.

    Which request is not working for you?

    I just tried

    GBP1MFSR=

    ExtractRaw->

    TickHistoryTimeAndSalesExtractionRequest tutorial request

    {
    "ExtractionRequest": {
    "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.TickHistoryTimeAndSalesExtractionRequest",
    "ContentFieldNames": [
    "Trade - Price",
    "Trade - Volume",
    "Trade - Exchange Time"
    ],
    "IdentifierList": {
    "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
    "InstrumentIdentifiers": [{
    "Identifier": "GBP1MFSR=",
    "IdentifierType": "Ric"
    }]
    },
    "Condition": {
    "MessageTimeStampIn": "GmtUtc",
    "ApplyCorrectionsAndCancellations": false,
    "ReportDateRangeType": "Range",
    "QueryStartDate": "2016-09-29T00:00:00.000Z",
    "QueryEndDate": "2016-09-29T12:00:00.000Z",
    "DisplaySourceRIC": true
    }
    }
    }

    It returned data for me

    #RIC,Domain,Date-Time,Type,Price,Volume,Exch Time
    GBP1MFSR=,Market Price,2016-09-29T10:45:28.312680029Z,Trade,0.26625,,
  • bin
    bin Explorer

    Why cannot use end of day to access it? When I try end of day last price I got null

  • bin
    bin Explorer

    Why cannot use end of day to access it? When I try end of day last price I got null @zoya.farberov

  • bin
    bin Explorer

    @zoya.farberov

    Why cannot use end of day to access it? When I try end of day last price I got null