clueless-community / fintech-api Goto Github PK
View Code? Open in Web Editor NEWAn API that helps you to deal with your financial calculations
License: MIT License
An API that helps you to deal with your financial calculations
License: MIT License
Note
Formulae
Where,
EBIT - Earnings Before Interest and Taxes
EBITDA - Earnings Before Interest, Taxes, Depreciation and Amortization
Dep - Depreciation
FcInv - Investment in fixed capital
WcInv - Working capital investment
./helpers/functions.py
file for the calculation./bep
in the main.py
file with properly.If you need help setting your products’ prices, you can try using the markup formula. The markup percentage shows you how much more you sell offerings for than what they cost.
Note
The cost of using borrowed money, or more specifically, the compensation a lender receives for lending money to a borrower, is known as compound interest.
Create a function in ./helpers/functions.py
file for the calculation.
Map it with an endpoint GET /compound_interest
in the main.py
file with properly.
Note
./helpers/functions.py
file for the calculation./acid-test-ratio
in the main.py
file with properly.Note
The firm's overall cost of capital considering all of the components of the capital structure.
Create a function in ./helpers/functions.py
file for the calculation.
Map it with an endpoint GET /wacc
in the main.py
file with properly.
Note
Generally, an investment's annual rate of return is different from the nominal rate of return when compounding occurs more than once a year (quarterly, half-yearly).
Create a function in ./helpers/functions.py
file for the calculation.
Map it with an endpoint GET /effective_annual_rate
in the main.py
file properly.
./helpers/functions.py
file for the calculation./simple_interest
in the main.py
file properly.future sip function returns the exact value, not percentage
Create an endpoint to find Weighted Average of a set of values
Note
The Dividend Yield is a financial ratio that measures the annual value of dividends received relative to the market value per share of a security.
Create a function in ./helpers/functions.py file for the calculation.
Map it with an endpoint GET /dividend_yeild_ratio in the main.py file with properly.
Note
Formula: CAGR=((FV/PV)^(1/n)) - 1
FV
is the investment's ending/maturity valuePV
is the investment's beginning/opening valuen
is the duration in years./helpers/functions.py
file for the calculation./cagr
in the main.py
file with properly.Debt-to-income ratio (DTI) is all your monthly debt payments divided by your gross monthly income
Different company has different DTIs as their minimum limit
A person has to have a greater DTI than that limit in order to get a new loan
Note
Measures the fluctuation of the returns of a portfolio with two assets.
Create a function in ./helpers/functions.py
file for the calculation.
Map it with an endpoint GET /asset_portfolio
in the main.py
file with properly.
Note
We all save small amounts at fixed intervals for a goal. It may be in a mutual fund SIP or PPF. But, how can we know the possible savings ten years down the line? That is where the future value of the SIP formula comes into the picture.
Create a function in ./helpers/functions.py
file for the calculation.
Map it with an endpoint GET /future_sip
in the main.py
file with properly.
Note
Duration is the average time until all cash flows from a bond are delivered. The convexity adjustment helps determine the change in price that is not explained by duration.
Create a function in ./helpers/functions.py
file for the calculation.
Map it with an endpoint GET /convexity_adjustment
in the main.py
file with properly.
Note
Equated monthly instalments (EMIs) are common in our day-to-day life. At the time of taking a loan, we are shown a neat A4 size paper explaining the EMI structure in a simplified manner. It is generally an unequal combination of principal and interest payments.
Create a function in ./helpers/functions.py
file for the calculation.
Map it with an endpoint GET /loan_emi
in the main.py
file with properly.
Note
The Dividend Payout Ratio (DPR) is the amount of dividends paid to shareholders in relation to the total amount of net income the company generates.
Create a function in ./helpers/functions.py file for the calculation.
Map it with an endpoint GET /dividend_payout_ratio in the main.py file with properly.
formula wtitten is FV=PV*(1+rate)^n
correct formula is FV=PV*(1+rate/100)^n
Note
./helpers/functions.py
file for the calculation./certificate_of_deposit
in the main.py
file with properly.Note
Inflation lowers purchasing power of the rupee. As a result, whenever a saving plan is being chalked out, inflation is one of the factors that has to be taken into account.
Inflation is calculated as - Future amount = Present amount * (1+inflation rate) ^number of years
Create a function in ./helpers/functions.py
file for the calculation.
Map it with an endpoint GET /inflation
in the main.py
file with properly.
Create an endpoint to find Double Time Calculation
Note
This is used to indicate the return on an investment over a period. It is also the best tool to compare returns of two different asset classes - for instance gold/equity or equity/real estate.
Create a function in ./helpers/functions.py
file for the calculation.
Map it with an endpoint GET /cagr
in the main.py
file with properly.
Note
./helpers/functions.py
file for the calculation./ruleof72
in the main.py
file with properly.Note
One way of measuring alpha, or the risk-adjusted return.
Create a function in ./helpers/functions.py
file for the calculation.
Map it with an endpoint GET /jensens_alpha
in the main.py
file with properly.
Note
Extra ' ) ' in line 95 in functions.py
Note
Refers to the static price relationship between the prices of put and call options of an asset with the same strike price and expiration date.
Create a function in ./helpers/functions.py
file for the calculation.
Map it with an endpoint GET /put-call-parity
in the main.py
file with properly.
Create an endpoint to calculate Purchasing Power of an entity.
Note
Payback period, which is used most often in capital budgeting, is the period of time required to reach the break-even point (the point at which positive cash flows and negative cash flows equal each other, resulting in zero) of an investment based on cash flow.
Create a function in ./helpers/functions.py
file for the calculation.
Map it with an endpoint GET /payback_period
in the main.py
file with properly.
Sharpe ratio measures the performance of an investment compared to a risk-free asset, after adjusting for its risk.
formula
Sharpe Ratio = (Average fund returns – Risk-free Rate) / Standard Deviation of fund returns
No response
Inventory shrinkage formula can be used if you want to figure out the percentage of inventory your business is losing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.