Code Monkey home page Code Monkey logo

srbrettle / financial-formulas-library-.net-standard Goto Github PK

View Code? Open in Web Editor NEW
230.0 17.0 69.0 109 KB

A collection of methods for solving Finance/Accounting equations, implemented in C#.

License: MIT License

C# 100.00%
finance financial financial-analysis financial-engineering financial-services financial-markets economics accounting equation formula algorithm stock-market technical-analysis quantitative-finance quantitative-trading quantitative-analysis investment investing csharp csharp-library

financial-formulas-library-.net-standard's Introduction

Financial-Formulas-Library-.NET-Standard

Build status Build Status codecov contributions welcome

A collection of methods for solving Finance/Accounting equations, implemented in C#. Java, Python and C++ implementations are available here.

Getting Started - C#

Using NuGet NuGet

  1. Within your project, install FinancialFormulas NuGet package (via "Manage Packages for Solution" or running the following in "Packet Manager Console".
Install-Package FinancialFormulas -Version 1.3.1
  1. Reference the Namespace:
using srbrettle.FinancialFormulas;
  1. Use the static library methods:
double result = FinancialFormulas.CalcPriceSalesRatio(500,200);

Manually

  1. Download and import this library into your project.
  2. Reference the Namespace:
using srbrettle.FinancialFormulas;
  1. Use the static library methods:
double result = FinancialFormulas.CalcPriceSalesRatio(500,200);

License

This project is licensed under the MIT License - see the LICENSE file for details.

Formulas / Equations included

FinancialFormulas.cs

  • Asset Turnover
  • Assets
  • Average Collection Period
  • Book Value
  • Cash Conversion Cycle
  • Cash Ratio
  • Current Ratio
  • Debt Equity Ratio
  • Debt Ratio
  • Debt Service Coverage Ratio
  • Declining Balance
  • Dividend Cover
  • Dividend Yield
  • Dividends Per Share
  • Earnings Per Share
  • EBIT
  • EBITDA
  • Efficiency Ratio
  • Equity
  • Gross Profit
  • Gross Profit Margin
  • Inventory Conversion Period
  • Inventory Conversion Ratio
  • Inventory Turnover
  • Long-Term Debt Equity Ratio
  • Liabilities
  • Net Profit
  • Operating Cash Flow Ratio
  • Operating Margin
  • Operating Profit
  • Payables Conversion Period
  • Payout Ratio
  • PEG Ratio
  • Price Sales Ratio
  • Profit Margin
  • Quick Ratio
  • Receivables Conversion Period
  • Receivables Turnover Ratio
  • Return On Assets
  • Return On Capital
  • Return On Equity
  • Return On Investment
  • Return On Net Assets
  • Risk Adjusted Return On Capital
  • Sales Revenue
  • Straight Line Method
  • Units Of Production

BankingFormulas.cs

  • Annual Percentage Yield
  • Balloon Loan Payment
  • Compound Interest
  • Continuous Compounding
  • Debt To Income Ratio
  • Balloon Balance Of Loan
  • Loan Payment
  • Remaining Balance On Loan
  • Loan To Deposit Ratio
  • Loan To Value Ratio
  • Simple Interest
  • Simple Interest Rate
  • Simple Interest Principal
  • Simple Interest Time

FinancialMarketsFormulas.cs

  • Rate Of Inflation
  • Real Rate Of Return

StocksBondsFormulas.cs

  • Bid Ask Spread
  • Bond Equivalent Yield
  • Book Value per Share
  • Capital Asset Pricing Model
  • Capital Gains Yield
  • Current Yield
  • Diluted Earnings Per Share
  • Dividend Payout Ratio
  • Dividend Yield - Stock
  • Dividends Per Share
  • Earnings Per Share
  • Equity Multiplier
  • Estimated Earnings
  • Geometric Mean Return
  • Holding Period Return
  • Net Asset Value
  • Preferred Stock
  • Price to Book Value
  • Price to Earnings (P/E Ratio)
  • Price to Sales (P/S Ratio)
  • Risk Premium
  • Stock - PV with Constant Growth
  • Stock - PV with Zero Growth
  • Tax Equivalent Yield
  • Total Stock Return
  • Yield to Maturity
  • Zero Coupon Bond Value
  • Zero Coupon Bond Yield

CorporateFormulas.cs

  • Asset to Sales Ratio
  • Asset Turnover Ratio
  • Avg Collection Period
  • Contribution Margin
  • Current Ratio
  • Days in Inventory
  • Debt Coverage Ratio
  • Debt Ratio
  • Debt to Equity Ratio
  • Discounted Payback Period
  • Equivalent Annual Annuity
  • Free Cash Flow to Equity (FCFE)
  • Free Cash Flow to Firm (FCFF)
  • Interest Coverage Ratio
  • Inventory Turnover Ratio
  • Net Present Value
  • Net Profit Margin
  • Net Working Capital
  • Payback Period
  • Quick Ratio
  • Receivables Turnover Ratio
  • Retention Ratio
  • Return on Assets (ROA)
  • Return on Equity (ROE)
  • Return on Investment

GeneralFinanceFormulas.cs

  • Annuity - Future Value
  • Annuity - Future Value w/ Continuous Compounding
  • Annuity - (FV) Solve for n
  • Annuity - Payment (PV)
  • Annuity - Payment (FV)
  • Annuity - (PV) Solve for n
  • Annuity - Present Value
  • Avg Collection Period
  • Annuity - PV Factor
  • Annuity Due - Present Value
  • Annuity Due - Future Value
  • Annuity Due Payment (PV)
  • Annuity Due Payment (FV)
  • Doubling Time
  • Doubling Time - Cont. Compounding
  • Doubling Time - Simple Interest
  • Future Value
  • FV - Continuous Compounding
  • Future Value Factor
  • Growing Annuity - Future Value
  • Growing Annuity - Payment (PV)
  • Growing Annuity - Payment (FV)
  • Growing Annuity - Present Value
  • Growing Perpetuity - Present Value
  • Number of Periods - PV & FV
  • Perpetuity
  • Present Value
  • PV - Continuous Compounding
  • Present Value Factor
  • Rule of 72
  • Weighted Average

financial-formulas-library-.net-standard's People

Contributors

chrismckee avatar srbrettle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.