Basic Bloomberg API Baker Library refquest@hbs.edu Prepared by: James Zeitler Baker Research Services jzeitler@hbs.edu Fall 2006 Basic Bloomberg API 1 Agenda • Housekeeping – Logins – Bloomberg terminal • Using API – From within Bloomberg – From within Excel • Saving results – PFM – Webmail – Flashdrive • Help Fall 2006 Basic Bloomberg API 2 Housekeeping • Logins • Exchange Login – http://www.library.hbs.edu/intraonly_cgi/secure/exchange • Bloomberg Login – By kiosk – Personal » Press “GO” without entering username/password • Bloomberg terminal • 4 Windows – Blue “Panel” key • Keyboard (<Alt-K>) – – – – Fall 2006 Green “Action” keys Yellow “Market Sector” keys Red “Stop” keys Lilac » Panel » Currency and Fractions Basic Bloomberg API 3 Bloomberg Keyboard Source: Bloomberg Document 2017365 Fall 2006 Basic Bloomberg API 4 Bloomberg Yellow/Sector Keys • GOVT – • CORP – • Commodity markets INDEX – • Equity shares CMDTY – • Preferred shares EQUITY – • Municipal Debt PFD – • Money market, including Commercial Paper, CDs, Bankers’ Acceptances, Medium Term Notes MUNI – • Mortgages M-MKT – • Corporate debt MTGE – • Government (US Treasury and non-US government agency securities) Indices CRNCY – Fall 2006 Currency markets Basic Bloomberg API 5 Using API: Bloomberg to Excel • From Bloomberg terminal to Excel – E.g.: IBM <Equity> FA 16 • Or: – IBM<Equity><GO> – 9) Fundamentals and Earnings Analysis – 1) Financial Analysis – 16) Income Analysis Fall 2006 Basic Bloomberg API 6 Bloomberg To Excel (2) • From Bloomberg terminal to Excel – Options • Excel Download • Note: – Mnemonics – Template • Change ticker • Change currency – Bloomberg function calls (cell C8) Fall 2006 Basic Bloomberg API 7 Push-Pin Drag and Drop • From Bloomberg terminal to Excel – WEI • 4) DOW JONES INDUS.AVG – 11) Equity Index Analysis » 2) MEMB Index Members – Or • INDU <INDEX> MEMB Fall 2006 Basic Bloomberg API 8 Push-Pin Drag and Drop (2) • Left-click and drag Push-Pin to open worksheet Fall 2006 Basic Bloomberg API 9 Bloomberg API Wizards In Excel • Wizards – Table Wizard • Select data items for a list – Fundamentals Wizard • Standard format reports – E.g.: Cash Flow, Income Analysis, Balance Sheet – History Wizard • Time series data items for one or more entities Fall 2006 Basic Bloomberg API 10 Table Wizard Field search Fall 2006 Basic Bloomberg API 11 Fundamentals Wizard •Note: •Change ticker in B1 •BLP…Refresh •Fundamentals Fall 2006 Basic Bloomberg API 12 History Wizard (1) Fall 2006 Basic Bloomberg API 13 History Wizard (2) Fall 2006 Basic Bloomberg API 14 Bloomberg API Functions E.g.: BLPH (Bloomberg History) function =BLPH(Security,Field<s>,Start Date,End Date*,Points*,Reverse*,Period*, Non-trading days*,Filler*,Dates*,Rows,Columns,Direction*,Show Price*, Currency*,GPA*) Fall 2006 Basic Bloomberg API 15 BBXL Fall 2006 Basic Bloomberg API 16 Bloomberg Worksheet Functions Fall 2006 Basic Bloomberg API 17 BLPH Function Fall 2006 Basic Bloomberg API 18 Demo Spreadsheets • BBXL – 8) Equity Fall 2006 or Basic Bloomberg API • DOCS APIEQ 19 Company Financial Comparisons Fall 2006 Basic Bloomberg API 20 Saving Results • PFM (Personal File Manager) – Compose • Attachments • Send • Webmail • Flashdrive Fall 2006 Basic Bloomberg API 21 PFM in Bloomberg Fall 2006 Basic Bloomberg API 22 Help With API • BBXL • DOCS – E.g.: IDOC API Fall 2006 Basic Bloomberg API 23 <HELP> <HELP> Fall 2006 Basic Bloomberg API 24