{"id":18699693,"url":"https://github.com/srbrettle/financial-formulas","last_synced_at":"2025-04-12T08:18:07.867Z","repository":{"id":67867299,"uuid":"125639097","full_name":"srbrettle/Financial-Formulas","owner":"srbrettle","description":"A collection of methods for solving Finance/Accounting equations. Java, C# (moved to independent repo for future development), C++, Python.","archived":false,"fork":false,"pushed_at":"2018-09-16T16:11:38.000Z","size":619,"stargazers_count":32,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T08:18:01.866Z","etag":null,"topics":["accounting","algorithm","algorithms","business","calculator","csharp","csharp-library","economics","equation","finance","finances","formula","invest","investing","investment","java","java-library","python","python-library","stock-market"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srbrettle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-17T14:48:07.000Z","updated_at":"2025-03-11T02:53:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"d0326def-7bc1-4b07-9bb3-456fb71fcc1d","html_url":"https://github.com/srbrettle/Financial-Formulas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srbrettle%2FFinancial-Formulas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srbrettle%2FFinancial-Formulas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srbrettle%2FFinancial-Formulas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srbrettle%2FFinancial-Formulas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srbrettle","download_url":"https://codeload.github.com/srbrettle/Financial-Formulas/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248537192,"owners_count":21120711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["accounting","algorithm","algorithms","business","calculator","csharp","csharp-library","economics","equation","finance","finances","formula","invest","investing","investment","java","java-library","python","python-library","stock-market"],"created_at":"2024-11-07T11:34:09.613Z","updated_at":"2025-04-12T08:18:07.862Z","avatar_url":"https://github.com/srbrettle.png","language":"C#","readme":"# Financial-Formulas [![Build Status](https://travis-ci.org/srbrettle/Financial-Formulas.svg?branch=master)](https://travis-ci.org/srbrettle/Financial-Formulas) [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/srbrettle/Financial-Formulas/issues)\n\nA collection of methods for solving Finance/Accounting equations, implemented in C#, Java, Python and C++.\n\n## See in Action\n\n[Finance Calculator - Android Application](https://play.google.com/store/apps/details?id=barwick.financecalculator)\n\n## Getting Started - Java\n\n1. Download and import [this](/main/java/) library into your project:\n```java\nimport srbrettle.financialformulas.FinancialFormulas;\n```\n2. Use the library methods:\n```java\ndouble result = FinancialFormulas.CalcPriceSalesRatio(500,200);\n```\n\n## Getting Started - C# [Deprecated - New GitHub Repo](https://github.com/srbrettle/Financial-Formulas-Library-.NET-Core/tree/master)\n\n### Using NuGet [![NuGet](https://img.shields.io/badge/NuGet-1.0.2-blue.svg)](https://www.nuget.org/packages/FinancialFormulas/1.0.2)\n\n1. Within your project, install FinancialFormulas NuGet package (via \"Manage Packages for Solution\" or running the following in \"Packet Manager Console\".\n```PowerShell\nInstall-Package FinancialFormulas -Version 1.0.2\n```\n2. Reference the Namespace:\n```c#\nusing srbrettle.FinancialFormulas;\n```\n3. Use the static library methods:\n```c#\ndouble result = FinancialFormulas.CalcPriceSalesRatio(500,200);\n```\n\n### Manually\n\n1. Download and import [this](/main/csharp/) library into your project.\n2. Reference the Namespace:\n```c#\nusing srbrettle.FinancialFormulas;\n```\n3. Use the static library methods:\n```c#\ndouble result = FinancialFormulas.CalcPriceSalesRatio(500,200);\n```\n\n## Getting Started - Python\n\nNote that the mothod and variable names have been changed to meet PEP 8 guidelines.\n\n1. Download and import [this](/main/python/) library into your project:\n```python\nimport srbrettle.financialformulas.FinancialFormulas as calc\n```\n2. Use the library methods:\n```python\nassets = calc.calc_price_sales_ratio(500, 200)\n```\n\n## Getting Started - C++\n\n1. Download the [source code](/main/cplusplus/).\n2. Follow the instructions in [Walkthrough: Creating and Using a Static Library (C++)](https://docs.microsoft.com/en-gb/cpp/windows/walkthrough-creating-and-using-a-static-library-cpp)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](/LICENSE) file for details.\n\n## Formulas / Equations included\n\n* Asset Turnover\n* Assets\n* Average Collection Period\n* Book Value\n* Cash Conversion Cycle\n* Cash Ratio\n* Current Ratio\n* Debt Equity Ratio\n* Debt Ratio\n* Debt Service Coverage Ratio\n* Declining Balance\n* Dividend Cover\n* Dividend Yield\n* Dividends Per Share\n* Earnings Per Share\n* EBIT\n* EBITDA\n* Efficiency Ratio\n* Equity\n* Gross Profit\n* Gross Profit Margin\n* Inventory Conversion Period\n* Inventory Conversion Ratio\n* Inventory Turnover\n* Long-Term Debt Equity Ratio\n* Liabilities\n* Net Profit\n* Operating Cash Flow Ratio\n* Operating Margin\n* Operating Profit\n* Payables Conversion Period\n* Payout Ratio\n* PEG Ratio\n* Price Sales Ratio\n* Profit Margin\n* Quick Ratio\n* Receivables Conversion Period\n* Receivables Turnover Ratio\n* Return On Assets\n* Return On Capital\n* Return On Equity\n* Return On Investment\n* Return On Net Assets\n* Risk Adjusted Return On Capital\n* Sales Revenue\n* Straight Line Method\n* Units Of Production\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrbrettle%2Ffinancial-formulas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrbrettle%2Ffinancial-formulas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrbrettle%2Ffinancial-formulas/lists"}