Welcome to Utils-main, a comprehensive, beginner-friendly toolkit for learning and practicing quantitative finance, data analysis, coding, and financial engineering in Python!
A curated, growing collection of Python modules and reference material to help you:
- Understand core quant finance concepts (risk, return, valuation, options, portfolios, data)
- Practice with realistic scenarios or DIY finance scripts
- Learn Python basics and data structures from scratch
- Tinker with news and sentiment analysis, logging, AI, and more
- Learn by doing—every tool is deeply commented and fully readable by learners new to finance and coding
All folders are independent, so you can learn or build projects one topic at a time!
UTILS - Sharpe and Sortino Ratio/— Measure risk-adjusted returnsUTILS - CAPM/— Asset pricing with Capital Asset Pricing ModelUTILS - Value at Risk (VaR)/— Gauge risk of loss on any investmentUTILS - Black-Scholes Option Pricing/— Price call & put optionsUTILS - Monte Carlo Portfolio Simulator/— Simulate many investment futuresUTILS - Bond Price and Yield/— Price bonds & estimate YTMUTILS - Discounted Cash Flow (DCF)/— Value projects/stocks with DCFUTILS - Portfolio Optimizer/— Find the best asset mix using MPTUTILS - Risk Metrics/— Volatility, drawdown, skew, kurtosis, and moreUTILS - Technical Indicators/— Compute trading/analysis indicatorsUTILS - Options Chain Simulator/— Simulate option chainsUTILS - Order Execution Simulator/— Model execution and slippageUTILS - Portfolio Tracker/— Track investment values over timeUTILS - Dividend Tracker/— Track, analyze, and project dividend incomeUTILS - Economic Calendar/— Access & analyze economic eventsUTILS - Historical Data/— Fetch and parse price data from APIsUTILS - News Fetching/— Collect financial, trending or relevant newsUTILS - Sentiment Analysis on News/— Analyze news sentiment with PythonUTILS - Currency Converter/— Convert currencies and analyze ratesUTILS - Websocket Connection/— Real-time data, eg. from exchangesUTILS - Logging/— Professional and educational logging (Python & JS)UTILS - AI Development/— Templates for basic AI/chatbots in Python/JS
UTILS - Python Basics - Numbers/— Numbers and math in PythonUTILS - Python Basics - Strings/— String skills and operationsUTILS - Data Structures - Arrays/— Foundational data type for beginnersUTILS - Data Structures - Lists/— Python’s powerful list typeUTILS - Data Structures - Dictionaries/— Key-value maps, practical for all data work
UTILS - Quantitative Methods - Statistics/— Practical basics of statisticsUTILS - Quantitative Methods - Time Series/— Analyze and model times series dataUTILS - Quantitative Methods - TVM/— Time value of money tools & concepts
UTILS - Learning Platform/— Extendable Python learning hubDocumentation/— Learning paths, tutorials, reference, examples, quizzes, and extra resourcestests/— Example and reference tests for practicing and validating code
- Absolute beginners to Python or finance (comments explain all math & code)
- Tinkerers wanting to simulate, value, or analyze investments in plain code
- Anyone wanting a practical, realistic finance or coding codebase for reference, study, or projects
- Clone this repo:
git clone https://github.com/MeridianAlgo/Learn-Quant - Install Python 3.7+ and required packages (
numpy,scipy,matplotlib, etc. as needed) - Explore any folder, read the README, and run the Python script for live examples
- Visit the
Documentation/folder for guided paths and exercises
- See something missing? Want to add modules, improve docs, or fix code? PRs welcome—this project is designed to grow for all learners!
Learn-Quant v1.0.0
Made with ❤️ by MeridianAlgo