Skip to content
View cockles98's full-sized avatar
📈
Focusing
📈
Focusing

Block or report cockles98

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
cockles98/readme.md

Felipe Cockles

Applied Mathematics @ UFRJ | Quantitative Finance & Data Science

LinkedIn Email


I build quantitative models that connect rigorous mathematical theory — stochastic calculus, PDEs, stochastic processes — with production-ready code. My work spans actuarial modeling, macroeconomic analysis, and quantitative finance, always with a focus on results that are statistically sound and implementable in practice.

Currently finishing my undergraduate degree in Applied Mathematics at UFRJ (June 2026) and open to freelance projects in quantitative modeling, risk analysis, time series forecasting, and data science for finance.


🚀 Featured Projects

Itaú Quant Challenge 2025 — Top 4% (40/953)

A long-only equity strategy for the Brazilian market that detects market regimes and adapts portfolio allocation accordingly. Combines topological data analysis (persistent homology), factor overlays via Ridge/ElasticNet metamodels, and hierarchical risk parity (HRP) for robust allocation.

  • Result: Sharpe ratio of 1.18 at 88.4% statistical confidence on out-of-sample Brazilian market data
  • Stack: Python, Scikit-learn, Giotto-TDA, Riskfolio-Lib

Undergraduate Research — UFRJ

Models the strategic interaction between high-frequency traders and market makers using Mean Field Game theory. Solves the coupled HJB–Fokker-Planck PDE system numerically using finite difference methods (Lax-Friedrichs) and Picard iteration. Calibrated with real B3 historical data (1986–2025).

  • Result: Mathematically demonstrated the emergence of liquidity resilience and liquidity crunch phenomena from agent interaction alone
  • Stack: Python, NumPy, SciPy

🛠️ Tech Stack

Languages & Core: Python SQL LaTeX

Quant & Data Science: NumPy Pandas Scikit-learn TensorFlow

Engineering & Cloud: Docker AWS Git


📐 Areas of Expertise

  • Quantitative Finance: alpha research, factor models, backtesting (vectorized, purged cross-validation), portfolio optimization (Markowitz, HRP), risk management
  • Statistical Modeling: time series (ARIMA, GARCH), survival models, hypothesis testing, regression analysis
  • Machine Learning: supervised/unsupervised learning, NLP, LLMs, RAG systems, deep learning
  • Mathematical Foundations: stochastic calculus, PDEs, optimization, linear algebra, numerical methods

Open to freelance projects in quantitative modeling and data science — feel free to reach out via LinkedIn or email.

Pinned Loading

  1. mfg-for-financial-market mfg-for-financial-market Public

    Market Microstructure & Liquidity Simulator for B3 using Mean Field Games (MFG). High-performance numerical solver for coupled HJB-Fokker-Planck systems to model price formation and HFT dynamics.

    Jupyter Notebook 3

  2. stochastic-short-rate-lab stochastic-short-rate-lab Public

    Numerical implementation of the Cox–Ingersoll–Ross (CIR) model for interest rates, with simulations, convergence analysis, bond pricing and term structure (UFRJ – Mathematical Modeling in Finance I…

    Python

  3. itau-quant-challenge-2025 itau-quant-challenge-2025 Public

    Quantitative strategy for the Ibovespa that combines Topological Data Analysis (with Persistent Homology & Mapper), classical factors and meta-models, regime-sensitive HRP. Achieved top 4%.

    Jupyter Notebook 21 3

  4. machine-learning-from-scratch machine-learning-from-scratch Public

    Pure NumPy implementations of core ML algorithms: Linear/Logistic Regression, Decision Trees, K-Means, Neural Networks, Recommender Systems, and RL. Focused on mathematical derivation and vectorize…

    Jupyter Notebook 1