Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 649 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 649 Bytes

Coding Challenge

Installation

git clone [email protected]:acatus/coding_challenge.git
cd coding_challenge
bundle
rake db:create db:migrate db:seed

Challenge

rspec

Calculate the internal rate of return and get the specs green!

Additional Information

The irr is calculated with the following formula:

  • CF: cashflow amount
  • t: time in days (can be fractions) based on daycount convention 30/360 1
  • IRR: is the value to calculate 2