Skip to content
Sanzhi Kobzhan edited this page Jun 5, 2024 · 3 revisions

Welcome to the earningsCalendar wiki!

Dear investors, you can build your own earnings calendar app to track company corporate earnings on the go.

**Why you need to track this data? **

It is important to track corporate earnings because if a company posts earnings higher than analysts expected, this may result in improved investment analysts' valuations and increased investor confidence. Good corporate earnings can boost investor confidence and support stock upside movement in the mid-term.

**Corporate earnings calendar building instructions: **

  1. Download Xcode from AppStore.
  2. Download the Files to an empty folder.
  3. Open earnings calendar.xcodeproj file.
  4. Locate EarningsViewModel.swift file
  5. In the code find the URL "https://financialmodelingprep.com/api/v3/earning_calendar?from=\(fromDateString)&to=\(toDateString)&apikey= input your API key")
  6. Input your API key where it says "input your API key". Read the step #7 to get your API key.
  7. To get your API key visit Financial Modeling Prep Website, register and get your custom API key.
  8. After pasting your key to the Step #6 Press cmnd + B on your keyboard
  9. On Xcode, in the menu bar (upper panel) press Product => Run.

After finishing all 9 steps you will have your app running on the simulator. To run your app on iPhone, do the following:

  1. Connect your iPhone to your Mac.
  2. Go to Xcode, in the menu bar (upper pannel) press Product =>Destination and choose your iPhone that should be seen in the menu.
  3. Then in the menu bar (upper pannel) press Product => Run.
  4. Unlock your phone and you will be able to run your app.

After disconnecting your iPhone from your Mac your app will still be working and you will be able to use Corporate Earnings Calendar.

I hope my guidance was useful. Follow me on X (Twitter) for Interesting Stock Market Apps, Investing Ideas and Stock Market Educational Content.

Clone this wiki locally