Skip to content
View AlvaroAlonso-0's full-sized avatar
🌊
🌊

Highlights

  • Pro

Organizations

@SailAgent

Block or report AlvaroAlonso-0

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 is supported. This note will only be visible to you.
Report abuse

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

Report abuse
AlvaroAlonso-0/README.md

Álvaro Alonso

Lead Engineer · Intelligence Layer at Sail

Quantitative DeFi · Risk monitoring · Cross-chain yield optimization
Madrid, Spain · open to remote / EU

LinkedIn Portfolio Email


About me

I founded the intelligence layer at Sail — a DeFi yield-optimization protocol on Base and Arbitrum — from a blank page. Two production systems, both designed and implemented end-to-end:

  • Cross-chain optimization engine — constrained MDP formulation, simulated annealing with Metropolis-Hastings acceptance, CNN meta-controller predicting hyperparameters from APY/TVL history (3-5× search-space reduction). Energy-aware cost model covering execution, slippage, and TVL-dependent price impact.
  • Sonar (risk monitoring) — z-score anomaly detection over multi-horizon baselines (1d / 7d / 30d), dual-mode SPIKE/TREND scoring, tier-based execution cycles, financial-inertia mechanism that cut unnecessary portfolio churn by 43 %.

I also defined the database schema, built the first user-facing UIs, and represented the intelligence layer to venture investors during fundraising rounds and the CEO during roadmap discussions.

The full mathematical framework is documented in two public research papers I authored (sole author).


Tech stack

Python  PyTorch  NumPy  Java  C  TypeScript  MongoDB  SQLite  FastAPI  Next.js  React  Docker  LaTeX


Production validation

First six months in production: ~$650M of volume routed for ~200 users at ~$600k TVL.

Quarter Mean APY vs. best static vs. T-Bills Scope
Q4 2025 8.91 % +5.43 % +123.87 % 20 sources, single-currency
Q1 2026 6.06 % (USD) +44.3 % 32 sources, multi-currency

All returns net of every fee in the cost model.


Sonar — defensive wins · Q1 2026

Sonar suspended user exposure ahead of two publicly confirmed exploits — detection happened before public confirmation in both cases:

  • Moonwell oracle exploit · Feb 15, 2026 — $1.78M bad debt, 181 borrowers harmed.
  • Resolv Protocol exploit · Mar 22, 2026 — ~$80M minted via a compromised AWS KMS key, ~$25M extracted.

Publications

All four are sole-author work.


Recent contributions

Pac-Man eating my GitHub contributions

Pinned

optcg Investment portfolio tracker Python · SQLite · Textual TUI · ~6.8k LOC
Poker Vision VGG16 card recognition + Monte Carlo equity sim Python · PyTorch · OpenCV
Figbot Multi-agent Twitch moderation bot Java

Education

B.S. Computer Science — Universidad Politécnica de Madrid · 2018 – 2023 GPA 8.56 / 10. Matrículas de Honor in Operating Systems, Compilers, Semantic Web & Knowledge Graphs, Art of Programming, Prolog, Programming Project, Data Center Project.


Contact

 alonso.miguel.alvaro1@gmail.com

 alvaro-alonso-miguel

Languages: Spanish (native) · English (C1) · French (basic)

Pinned Loading

  1. optcg optcg Public

    One Piece TCG investment portfolio tracker CLI

    Python 1

  2. PokerHandsRecongition PokerHandsRecongition Public

    Python

  3. AlvaroAlonso-0.github.io AlvaroAlonso-0.github.io Public

    CSS

  4. Figbot Figbot Public

    Java 3

  5. JavaScript-PDL-Compiler JavaScript-PDL-Compiler Public

    Java