Hello permID API: mapping ticker and MIC to Primary RIC Code

I can't seem to find this in documentation and just want to check if anyone has been able to map from ticker and MIC to primary RIC code? e.g. AAL and XLON to AAL.L

Best Answer

  • Hello @quanlan09100,

    I can discuss a way to do it.

    To verify this information prior to coding, let us use Swagger tool

    that is available from PermId API area via Dev Tools -> Swagger or direct link

    1. Identify PermId by

    GET /permid/search on AAL, the result is several entities, the first is "1-4295896494"

    ...
    "entities": [
    {
    "@id": "https://permid.org/1-4295896494",
    "organizationName": "Anglo American PLC",
    "primaryTicker": "AAL",
    "orgSubtype": "Company",
    "hasHoldingClassification": "publiclyHeld",
    "hasURL": "http://www.angloamerican.com/"
    },
    ...

    2. Pull up the top level info on PermId

    GET /id on 1-4295896494, the result is detailed and has

    "hasOrganizationPrimaryQuote": "https://permid.org/1-55836044588":

    ...
    "@id": "https://permid.org/1-4295896494",
    "@type": "tr-org:Organization",
    "mdaas:HeadquartersAddress": "Anglo American House\n20 Carlton House Terrace\n\nLONDON\nSW1Y 5AN\nUnited Kingdom\n",
    "mdaas:RegisteredAddress": "Anglo American House\n20 Carlton House Terrace\n\nLONDON\nSW1Y 5AN\nUnited Kingdom\n",
    "tr-common:hasPermId": "4295896494",
    "hasOrganizationPrimaryQuote": "https://permid.org/1-55836044588",
    ...

    3. Request the primary quote info via

    GET /ID 1-55836044588

    Results in "tr-fin:hasMic": "XLON" and "tr-fin:hasRic": "AAL.L",

    {
    "@id": "https://permid.org/1-55836044588",
    "@type": "tr-fin:Quote",
    "tr-common:hasName": "ANGLO AMERICAN ORD",
    "tr-common:hasPermId": "55836044588",
    "tr-fin:hasExchangeCode": "LSE",
    "tr-fin:hasExchangeTicker": "AAL",
    "tr-fin:hasMic": "XLON",
    "tr-fin:hasRic": "AAL.L",
    "isQuoteOf": "https://permid.org/1-8590920808",

Answers

  • Tắc vòi trứng hiện nay đã và đang là một trong những tình trạng trở nên khá phổ biến ở Việt Nam cũng như trên thế giới. Tình trạng này có thể làm giảm đi khả năng mang thai ở phụ nữ hay thậm chí là vô sinh. May mắn thay nếu như được chữa trị kịp thời các chị em vẫn có thể mang thai bình thường. Cùng nhau đọc bài viết ngay sau đây

    https://chuahiemmuon.vn

    https://chuahiemmuon.vn/tac-voi-trung-la-gi/

    #trung_tam_vo_sinh_hiem_muon_hong_ha

    #tac_voi_trung_hong_ha_hospital