Bloomberg BDH function with ISIN

后端 未结 3 532
旧时难觅i
旧时难觅i 2021-02-04 04:55

I have to download historical end of day data for a huge list of stocks. I found on the bloomberg excel add-in the function BDH that is very useful. That is what I need but ther

3条回答
  •  渐次进展
    2021-02-04 05:37

    The problem is that an isin does not identify the exchange, only an issuer.

    Let's say your isin is US4592001014 (IBM), one way to do it would be:

    • get the ticker (in A1):

      =BDP("US4592001014 ISIN", "TICKER") => IBM
      
    • get a proper symbol (in A2)

      =BDP("US4592001014 ISIN", "PARSEKYABLE_DES") => IBM XX Equity
      

      where XX depends on your terminal settings, which you can check on CNDF .

    • get the main exchange composite ticker, or whatever suits your need (in A3):

      =BDP(A2,"EQY_PRIM_SECURITY_COMP_EXCH") => US
      
    • and finally:

      =BDP(A1&" "&A3&" Equity", "LAST_PRICE") => the last price of IBM US Equity
      

提交回复
热议问题