Welcome to the Finance & AI Utilities Collection! This is a comprehensive, educational platform designed to teach quantitative finance, data science, and financial analysis through hands-on coding projects. Each utility is organized in its own folder with detailed documentation, interactive examples, and progressive learning paths.
This repository bridges the gap between theoretical finance and practical implementation. Whether you're preparing for the CFA exam, learning quantitative methods, or building data science skills, you'll find structured learning paths with real code examples and comprehensive documentation.
- Focus: Refined dictionary utilities for financial data workflows
- Highlights:
- Bug Fixes β Resolved malformed f-string formatting in
UTILS - Data Structures - Dictionaries/dictionaries.py
- Documentation β Updated dictionary module examples to use production-ready output formatting
- Versioning β Raised module version to
1.1.0-Beta
in preparation for broader Data Structures updates
- Bug Fixes β Resolved malformed f-string formatting in
β Be sure to pull the latest changes before extending the dictionary utilities.
- Data Structures Mastery - Arrays, Lists, Dictionaries, Sets, Tuples, DataFrames, Series
- Data Structures Advanced - Stacks & Queues, Graphs, Trees & Heaps, Matrices
- Statistical Computing - NumPy fundamentals, pandas operations, data manipulation
- Quantitative Methods - TVM, statistics, regression, hypothesis testing
- Financial Statement Analysis - Balance sheets, income statements, cash flows, IFRS vs GAAP
- Economics - Inflation, FX, supply & demand, macro trends
- Equity Investments - Valuations, industry analysis, market efficiency
- Fixed Income - Bonds, yields, duration, convexity, credit risk
- Portfolio Management - CAPM, diversification, modern portfolio theory
- Corporate Finance - Governance, capital structure, working capital
- Alternative Investments - PE, hedge funds, REITs, commodities
- Derivatives - Options, futures, swaps, hedging strategies
- Ethics - CFA Code, Standards of Conduct, GIPS
-
Week 1: Python & Data Basics
- Start with:
UTILS - Logging
,UTILS - Currency Converter
- Learn: Python basics, file I/O, CLI menus, basic data types
- Start with:
-
Week 2: Data Structures Fundamentals
- Try:
UTILS - Data Structures - Lists
,UTILS - Data Structures - Dictionaries
- Learn: Collections, key-value mappings, sequence operations
- Try:
-
Week 3: Arrays & Numerical Computing
- Try:
UTILS - Data Structures - Arrays
,UTILS - Data Structures - Matrices
- Learn: NumPy fundamentals, array operations, linear algebra basics
- Try:
-
Week 4: DataFrames & Analysis
- Try:
UTILS - Data Structures - DataFrames
,UTILS - Data Structures - Series
- Learn: pandas operations, data manipulation, exploratory data analysis
- Try:
-
Week 5-6: Quantitative Methods
- Try:
UTILS - Quantitative Methods - TVM
,UTILS - Quantitative Methods - Statistics
- Learn: Time value of money, statistical analysis, probability distributions
- Try:
-
Week 7-8: Financial Statements
- Try:
UTILS - Financial Statement Analysis - Balance Sheet
,UTILS - Financial Statement Analysis - Income Statement
- Learn: Financial reporting, ratio analysis, IFRS vs GAAP differences
- Try:
-
Week 9-10: Investment Analysis
- Try:
UTILS - Equity Investments - Valuations
,UTILS - Fixed Income - Bonds
- Learn: Valuation methods, bond pricing, yield calculations
- Try:
-
Week 11-12: Portfolio Theory
- Try:
UTILS - Portfolio Management - CAPM
,UTILS - Portfolio Management - Diversification
- Learn: Modern portfolio theory, risk-return relationships, optimization
- Try:
-
Week 13-14: Economics & Corporate Finance
- Try:
UTILS - Economics - Inflation
,UTILS - Corporate Issuers - Capital Structure
- Learn: Macroeconomic indicators, corporate governance, capital budgeting
- Try:
-
Week 15-16: Alternative Investments
- Try:
UTILS - Alternative Investments - Private Equity
,UTILS - Alternative Investments - REITs
- Learn: Alternative asset classes, valuation methods, risk characteristics
- Try:
-
Week 17-18: Derivatives
- Try:
UTILS - Derivatives - Options
,UTILS - Derivatives - Futures
- Learn: Options pricing, futures contracts, hedging strategies
- Try:
-
Week 19-20: Ethics & Professional Standards
- Try:
UTILS - Ethics - CFA Code
,UTILS - Ethics - Standards of Conduct
- Learn: Professional ethics, standards of practice, GIPS compliance
- Try:
Folder Name | Description | Key Learning |
---|---|---|
UTILS - Python Basics - Strings | String manipulation tutorial and practice walkthrough | Text processing, user input cleaning |
UTILS - Python Basics - Numbers | Number handling, Decimal arithmetic, finance math | Numeric types, rounding, compound interest |
UTILS - Data Structures - Arrays | NumPy array operations, vectorized computing | Numerical computing, array manipulation |
UTILS - Data Structures - Lists | Python list operations, sequence processing | Data structures, algorithms |
UTILS - Data Structures - Dictionaries | Key-value mappings, hash tables | Data organization, lookups |
UTILS - Data Structures - Sets | Set theory operations, deduplication | Set operations, filtering |
UTILS - Data Structures - Tuples | Immutable sequences, structured data | Data integrity, performance |
UTILS - Data Structures - DataFrames | pandas DataFrame operations, data wrangling | Data analysis, EDA |
UTILS - Data Structures - Series | Single-column analysis, time series | Variable analysis, statistics |
UTILS - Data Structures - Stacks & Queues | LIFO/FIFO operations, data structures | Algorithm design, processing |
UTILS - Data Structures - Graphs | Network analysis, recommendation systems | Graph theory, relationships |
UTILS - Data Structures - Trees & Heaps | Hierarchical structures, priority queues | Tree algorithms, optimization |
UTILS - Data Structures - Matrices | Linear algebra, 2D numerical data | Matrix operations, ML foundations |
Folder Name | Description | Key Learning |
---|---|---|
UTILS - Quantitative Methods - Statistics | Statistical analysis, hypothesis testing | Distributions, inference |
UTILS - Quantitative Methods - Regression | Linear/nonlinear regression analysis | Correlation, prediction |
UTILS - Financial Statement Analysis - Balance Sheet | Balance sheet analysis, ratios | Financial health, leverage |
UTILS - Financial Statement Analysis - Income Statement | Profitability analysis, margins | Revenue, expense analysis |
UTILS - Financial Statement Analysis - Cash Flow | Cash flow statement analysis | Liquidity, cash management |
UTILS - Technical Indicators | Technical analysis helpers (RSI, SMA, EMA) | Indicator computation, pandas workflows |
UTILS - Quantitative Methods - Time Series | Rolling stats, ADF test, AR(1) forecast walkthrough | Time-series preparation, stationarity checks |
UTILS - News Fetching | Google News CLI scraper using google-news-json |
Headline retrieval, sentiment inputs |
UTILS - Python Basics | Python basics utilities (logging, string manipulation, number handling) | Python fundamentals, CLI menus |
comparison | Reporting differences | |
UTILS - Economics - Inflation | Inflation impact on investments | Purchasing power, indexing |
UTILS - Economics - FX | Foreign exchange, currency analysis | Exchange rates, arbitrage |
UTILS - Economics - Supply & Demand | Market equilibrium analysis | Price determination, elasticity |
{{ ... }} |-------------|-------------|-------------| | UTILS - Equity Investments - Valuations | Stock valuation methods (DCF, multiples) | Intrinsic value, growth | | UTILS - Equity Investments - Industry Analysis | Sector analysis, competitive forces | Porter's five forces | | UTILS - Equity Investments - Market Efficiency | EMH testing, market anomalies | Information efficiency | | UTILS - Fixed Income - Bonds | Bond pricing, yield calculations | Fixed income securities | | UTILS - Fixed Income - Duration & Convexity | Interest rate risk, duration matching | Risk management | | UTILS - Fixed Income - Credit Risk | Credit analysis, default probability | Credit spreads, ratings | | UTILS - Portfolio Management - CAPM | Capital Asset Pricing Model | Risk premiums, beta | | UTILS - Portfolio Management - Diversification | Portfolio optimization, correlation | Risk reduction strategies | | UTILS - Portfolio Management - MPT | Modern Portfolio Theory | Efficient frontier |
Folder Name | Description | Key Learning |
---|---|---|
UTILS - Corporate Issuers - Governance | Corporate governance, board structure | Agency problems, oversight |
UTILS - Corporate Issuers - Capital Structure | Optimal capital mix, WACC | Leverage, cost of capital |
UTILS - Corporate Issuers - Working Capital | Working capital management | Cash conversion cycle |
UTILS - Alternative Investments - Private Equity | PE valuation, LBO analysis | Leveraged buyouts, exits |
UTILS - Alternative Investments - Hedge Funds | Hedge fund strategies, performance | Alpha generation, fees |
UTILS - Alternative Investments - REITs | Real estate investment trusts | Property valuation, yields |
UTILS - Alternative Investments - Commodities | Commodity markets, futures pricing | Supply/demand dynamics |
UTILS - Derivatives - Options | Options pricing, Greeks, strategies | Black-Scholes, volatility |
UTILS - Derivatives - Futures | Futures contracts, margin, delivery | Contract specifications |
UTILS - Derivatives - Swaps | Interest rate swaps, currency swaps | Risk transfer, valuation |
UTILS - Ethics - CFA Code | CFA Institute Code of Ethics | Professional standards |
UTILS - Ethics - Standards of Conduct | Standards of Professional Conduct | Ethical decision-making |
UTILS - Ethics - GIPS | Global Investment Performance Standards | Performance presentation |
- Step-by-step tutorials in each utility folder
- Code examples with detailed explanations
- Practice exercises and challenges
- Real-world applications for each concept
- Comprehensive test suites for all utilities
- Self-assessment quizzes in documentation
- Performance benchmarks and comparisons
- Error handling and edge case examples
- CFA curriculum alignment with topic mapping
- Industry best practices and standards
- Interview preparation examples
- Career guidance and next steps
-
Clone the repository:
git clone <repo-url> cd Utils-main
-
Install Python dependencies:
pip install -r requirements.txt
-
Set up virtual environment (recommended):
python -m venv quant_env source quant_env/bin/activate # On Windows: quant_env\Scripts\activate pip install -r requirements.txt
Each utility runs from its respective folder:
# Example: Time Value of Money calculations
cd "UTILS - Quantitative Methods - TVM"
python tvm_calculator.py
# Example: Portfolio optimization
cd "UTILS - Portfolio Management - CAPM"
python capm_analysis.py
For detailed learning guides, tutorials, API references, and examples, visit our comprehensive documentation:
π Documentation Folder: Documentation/
- π 01-Learning Paths - Structured curriculum and learning roadmaps
- π 02-Tutorials - Step-by-step guides and code walkthroughs
- π 03-Reference - Complete API documentation and technical specifications
- π‘ 04-Examples - Interactive examples and practical applications
- π§ͺ 05-Assessment - Quizzes, exercises, and evaluation tools
- π 06-Resources - External links, books, and additional materials
- Complete Learning Path: Documentation/01-Learning Paths/Complete Learning Path.md
- Beginner Track: Documentation/01-Learning Paths/Beginner Track.md
- Intermediate Track: Documentation/01-Learning Paths/Intermediate Track.md
- Advanced Track: Documentation/01-Learning Paths/Advanced Track.md
- Python Fundamentals Tutorial: Documentation/02-Tutorials/Python Fundamentals.md
- API Reference: Documentation/03-Reference/API Reference.md
- π Interactive Learning Paths - Structured curriculum with clear milestones
- π Comprehensive Tutorials - Step-by-step guides with practical examples
- π Complete API Reference - Detailed function and class documentation
- π‘ Real-World Examples - Practical applications and case studies
- π§ͺ Assessment Tools - Quizzes and exercises to test your knowledge
- π Curated Resources - Books, websites, and research papers
- Start with Learning Paths - Choose your track (Beginner/Intermediate/Advanced)
- Follow Tutorials - Work through step-by-step guides
- Reference APIs - Look up specific functions and classes
- Practice with Examples - Apply concepts to real problems
- Test Your Knowledge - Complete assessments and exercises
- Explore Resources - Dive deeper with additional materials
We welcome contributions! Areas for enhancement:
- Additional utility modules
- Enhanced documentation
- More test cases
- Performance optimizations
- Mobile-responsive interfaces
- About blurb suggestion: βFinance & AI utility collection delivering hands-on quantitative finance, data structures, and analytics tooling.β
- Recommended GitHub topics:
quantitative-finance
,python
,financial-data
,algorithms
,education
,data-structures
,portfolio-management
- Release tags: adopt semantic pre-release tags such as
v1.1.0-Beta
for staged feature rollouts.
By completing this curriculum, you will be able to:
- Implement quantitative models in Python
- Analyze financial statements and ratios
- Build portfolio optimization strategies
- Value different asset classes using multiple methods
- Understand derivatives and risk management
- Apply ethical standards in financial practice
- Use data science techniques for financial analysis
This material is for informational purposes only and does not constitute financial, investment, legal, tax, or accounting advice. It is not intended to provide personalized recommendations or solicitations to buy or sell any securities or financial products. Investing involves substantial risks, including the potential loss of principal. Market conditions, economic factors, and other variables can lead to volatility and losses. Past performance is not indicative of future results; historical returns do not guarantee similar outcomes. Always consult a qualified financial advisor, attorney, or tax professional to assess your specific situation, risk tolerance, and objectives before making any investment decisions. We assume no liability for actions taken based on this information.
Made with β€οΈ by Quantum Meridian (A MeridianAlgo Team)
Empowering the next generation of quantitative finance professionals through hands-on learning and practical implementation.