Skip to content

TeamCinco/Quant-Tools

Repository files navigation

Quant-Tools

This repository contains a collection of quantitative analysis tools for financial markets. The tools cover various aspects of market analysis, including backtesting, options analysis, correlation studies, and Monte Carlo simulations.

Table of Contents

  1. Backtesting Tools
  2. Correlation Analysis
  3. Financial Analysis Tools
  4. Macro Economic Analysis Tools
  5. Options Analysis Tools
  6. Simulation Tools
  7. Stock Performance Analysis Tools

Backtesting Tools

This section includes tools for backtesting trading strategies:

  • ActualProbabilitySTD.py: Calculates actual probabilities based on standard deviations.
  • MCSTDDollarMeanReg.py: Implements a Monte Carlo simulation for dollar mean reversion strategy.
  • Dollar Mean Reversion strategies.
  • RSI crossover strategies.

Correlation Analysis

Tools for analyzing correlations between different financial instruments:

  • HeatmapCorrelation.py: Generates correlation heatmaps.
  • HeatmapCorrelationPriceChange.py: Analyzes correlations based on price changes.
  • HeatmapCorrelationPriceData.py: Studies correlations using price data.
  • PriceDeltaAndPrice.py: Examines relationships between price deltas and prices.

Financial Analysis Tools

Visualizations and tools for financial analysis:

  • MetricVisuals.py: Creates visualizations for various financial metrics.
  • PerformanceCompare.py: Compares performance across different financial instruments.

Macro Economic Analysis Tools

Tools for analyzing macroeconomic factors:

  • Linear regression tools for macroeconomic analysis.
  • Time series analysis tools like MacroCharts.py.

Options Analysis Tools

Tools for options analysis and Greeks calculations:

  • GreekCalcAmerican.py: Calculates Greeks for American options.
  • GreeksCalculator.py: A general-purpose Greeks calculator.
  • Options statistics tools.

Simulation Tools

Monte Carlo simulation tools:

  • MonteCarlo25Years.py: Runs a 25-year Monte Carlo simulation.
  • MonteCarloShortRandom.py: Implements a short-term random Monte Carlo simulation.
  • MonteCarloStocks.py: Monte Carlo simulation for stock price movements.
  • Various other Monte Carlo tools for different scenarios.

Stock Performance Analysis Tools

Tools for analyzing stock performance:

  • News analysis tools.
  • Screener tools for filtering stocks based on various criteria.
  • Standard deviation analysis tools.
  • Linear regression tools for stock vs macro analysis.

Usage

Each script can be run independently. Most scripts will prompt for user input such as ticker symbols, date ranges, or specific parameters for analysis.

Requirements

The project requires Python 3.x and several libraries including:

  • yfinance
  • pandas
  • numpy
  • matplotlib
  • scipy
  • scikit-learn
  • pandas_datareader
  • backtesting

You can install these dependencies using pip:

pip install yfinance pandas numpy matplotlib scipy scikit-learn pandas_datareader backtesting

Contributing

Feel free to fork this repository and submit pull requests with improvements or additional tools/criticism

About

Tools created by Cinco Data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published