Open source

Code I have published

67 public repositories on GitHub, most of them in Rust: order books, options pricing, market making, exchange connectivity and protocol codecs.

github.com/joaquinbejar ↗67 repositories · 45 Rust · 12 C++ · 4 Python · 6 other

All repositories

Showing 61 of 61 · counts fetched from GitHub at build time

quant-trading-system (GitHub)

A high-performance, thread-safe quantitative trading system implementing: CLOB (Central Limit Order Book) L2 order books with fast top-of-book access AMM (Automated Market Maker) pools with price impact calculations Real-time arbitrage detection between venues Concurrent stream ingestion with backpressure handling JSON parsing for market data feed

Order books & matching

Rust19 starsUpdated Sep 2026

matchbook (GitHub)

Decentralized exchange infrastructure on Solana: on-chain order book, real-time WebSocket streaming, REST API, Geyser indexer, and Rust SDK. Non-custodial and optimized for high-frequency trading.

Order books & matching

Rust18 starsUpdated Sep 2026

otc-rfq (GitHub)

High-performance OTC Request-for-Quote engine in Rust: reverse-auction quote aggregation with REST API, SBE binary streaming, and FIX 4.4 / WebSocket / gRPC venue connectivity.

Market making & DeFi

Rust18 starsUpdated Sep 2026

OptionChain-Simulator (GitHub)

A lightweight RESTful simulator for option chains that evolves over time with each API request. Useful for testing trading algorithms, visualizations, and analytics pipelines without relying on real-time market data. NO PRODUCTION READY YET

Options & derivatives

Rust14 starsUpdated Sep 2026

DXlink (GitHub)

dxlink is a Rust client library for the DXLink WebSocket protocol used by tastytrade for real-time market data. This library provides a clean and type-safe API for connecting to DXLink servers, subscribing to market events, and processing real-time market data.

Connectivity & protocols

Rust13 starsUpdated Sep 2026

CLMM-Liquidity-Provider (GitHub)

ALPHA version!! - A strategy optimization system for liquidity providers on Solana CLMMs (Raydium CLMM, Orca Whirlpools, and Meteora DLMM). It analyzes pools, calculates impermanent loss in real-time, and suggests optimal positions based on volatility, volume, and asset correlation.

Market making & DeFi

Rust12 starsUpdated Sep 2026

deribit-fix (GitHub)

A comprehensive FIX protocol client framework for Deribit cryptocurrency exchange. This library provides a reusable foundation for building trading applications that connect to Deribit using the FIX protocol.

Connectivity & protocols

Rust12 starsUpdated Sep 2026

IronFix (GitHub)

IronFix is a robust and efficient Rust-based implementation of the Financial Information eXchange (FIX) protocol, designed for secure and high-performance financial messaging.

Connectivity & protocols

Rust11 starsUpdated Sep 2026

tastytrade (GitHub)

Rust library for stock market trading through tastytrade's API

Connectivity & protocols

Rust11 starsUpdated Sep 2026

alpaca-rs (GitHub)

Async Rust client for the Alpaca Markets API: trading, market data, options, broker API, streaming and FIX

Connectivity & protocols

Rust10 starsUpdated Sep 2026

ig-client (GitHub)

IG Client is a comprehensive Rust framework for interacting with the IG broker API.

Connectivity & protocols

Rust10 starsUpdated Sep 2026

DeFi-Arbitrage-Engine (GitHub)

Real-time arbitrage engine for Solana DEXs with MEV protection, React dashboard and TimescaleDB

Market making & DeFi

Rust9 starsUpdated Sep 2026

ExpirationDate (GitHub)

A standalone crate for handling financial instrument expiration dates in Rust.

Options & derivatives

Rust9 starsUpdated Sep 2026

hft-clob-core (GitHub)

Single-symbol CLOB matching engine in Rust — integer-only hot path, deterministic replay, microsecond-class tail latency, framed binary TCP wire.

Order books & matching

Rust8 starsUpdated Sep 2026

StrategyExecutionEngine (GitHub)

A Rust library for creating and executing market order strategies with Kafka integration.

Connectivity & protocols

Rust8 starsUpdated Sep 2026

hydra-amm (GitHub)

Universal AMM engine: build, configure, and operate any Automated Market Maker through a unified interface.

Market making & DeFi

Rust7 starsUpdated Sep 2026

MarketMimic (GitHub)

Market Mimic: Synthetic Tick Data Generation with GANs

Market making & DeFi

Python7 starsUpdated Sep 2026

tradier (GitHub)

Rust library for managing trades and market data through the Tradier broker API, designed for high-performance and safety

Connectivity & protocols

Rust7 starsUpdated Sep 2026

ai-crew-sync (GitHub)

Coordination bus for teams of AI coding agents — Claude Code, Codex, Cursor or any MCP client — sharing messages, tasks, presence, notes and locks over one server backed by Postgres

Tools & other

Rust6 starsUpdated Sep 2026

ARPP (GitHub)

ARPP (Anchored Reference Price Protocol) is an innovative Automated Market Maker (AMM) formula implemented in Rust, designed to reduce price volatility in decentralized exchanges.

Market making & DeFi

Rust5 starsUpdated Sep 2026

deribit-http (GitHub)

This crate provides a HTTP REST API client for the Deribit trading platform. It implements the common traits from `deribit-base` and provides methods for all REST API endpoints.

Connectivity & protocols

Rust5 starsUpdated Sep 2026

deribit-mcp (GitHub)

Model Context Protocol (MCP) server for the Deribit cryptocurrency derivatives platform. Single binary crate that adapts the deribit-base, deribit-http, deribit-websocket, and (optional) deribit-fix stack onto MCP's tool / resource / prompt surface.

Connectivity & protocols

Rust5 starsUpdated Sep 2026

lightstreamer-rs (GitHub)

Lightstreamer TLCP (Text-based Live Connections Protocol). It provides a robust client SDK to interact with Lightstreamer servers, enabling real-time data streaming for financial applications, IoT systems, and other use cases requiring live data updates. While it was initially developed to support the ig

Connectivity & protocols

Rust5 starsUpdated Sep 2026

deribit-base (GitHub)

This crate provides common structs, traits, and functionality shared across all Deribit API client implementations (FIX, HTTP, WebSocket).

Connectivity & protocols

Rust4 starsUpdated Sep 2026

deribit-websocket (GitHub)

This crate provides a WebSocket client for the Deribit trading platform. It implements the common traits from `deribit-base` and provides real-time market data and trading functionality through WebSocket connections.

Connectivity & protocols

Rust4 starsUpdated Sep 2026

IronCondor (GitHub)

High-performance backtesting engine for options strategies with order-book-level fill simulation

Options & derivatives

Rust4 starsUpdated Sep 2026

market2nats (GitHub)

Rust service that connects to public WebSocket feeds from multiple trading venues, normalizes market data (trades, ticker, L2 orderbook, funding rates, liquidations), and publishes it to NATS JetStream.

Connectivity & protocols

Rust4 starsUpdated Sep 2026

py-defi-amm (GitHub)

This project implements a Decentralized Finance (DeFi) Automated Market Maker (AMM) model. It includes a basic AMM implementation, risk management features, and a simulation environment to test the model under various market conditions.

Market making & DeFi

Python4 starsUpdated Sep 2026

ChainView (GitHub)

Terminal UI for option chains, Greeks and volatility — real-time and backtest replay

Options & derivatives

Rust3 starsUpdated Sep 2026

financial_types (GitHub)

lightweight Rust crate providing fundamental enums for financial applications. These types are the building blocks used across trading systems, options pricing libraries, and portfolio management tools.

Options & derivatives

Rust3 starsUpdated Sep 2026

positive (GitHub)

A type-safe wrapper for guaranteed positive decimal values. This crate provides the Positive type, which encapsulates a Decimal value and ensures through its API that the contained value is always positive (greater than or equal to zero).

Options & derivatives

Rust3 starsUpdated Sep 2026

hydra-gateway (GitHub)

Hydra Gateway exposes every AMM pool type supported by hydra-amm through a JSON REST API and a real-time WebSocket feed. All AMM mathematics are delegated to hydra-amm — this service is a thin coordination and persistence layer.

Market making & DeFi

Rust2 starsUpdated Sep 2026

iSCSIKit (GitHub)

Modern iSCSI initiator for Apple Silicon Macs; DriverKit-based, no kexts

Tools & other

Swift2 starsUpdated Sep 2026

option_type (GitHub)

Rust crate providing a comprehensive enum-based classification of financial option contracts. It covers both standard vanilla options (European, American) and a wide range of exotic option types.

Options & derivatives

Rust2 starsUpdated Sep 2026

pretty-simple-display (GitHub)

Custom derive macros for JSON serialization with pretty and simple formatting options.

Tools & other

Rust2 starsUpdated Sep 2026

fauxchange (GitHub)

Exchange-in-a-box: local options exchange simulator with realistic matching, FIX/WS/REST APIs and historical replay

Order books & matching

Rust1 starsUpdated Sep 2026

multiping (GitHub)

Multiping: A concurrent Rust tool to monitor multiple IPs with real-time statistics using custom ping intervals.

Tools & other

Rust1 starsUpdated Sep 2026

OrderBookEngine (GitHub)

Python order book with limit and market order matching, position tracking and futures support

Order books & matching

Python1 starsUpdated Sep 2026

backend-engineer-api (GitHub)

Flask REST API for menus and purchases backed by PostgreSQL and SQLAlchemy, dockerized

Tools & other

Python0 starsUpdated Sep 2026

common_cpp (GitHub)

Common C++ utility library shared by other projects

Tools & other

C++0 starsUpdated Sep 2026

homebrew-tap (GitHub)

Homebrew formulae for joaquinbejar's tools

Tools & other

Ruby0 starsUpdated Sep 2026

IronTV (GitHub)

Native IPTV player for Xtream Codes providers — SwiftUI, macOS/iOS/tvOS, resilient live HLS playback

Tools & other

Swift0 starsUpdated Sep 2026

itch-rs (GitHub)

A modular Rust toolkit for NASDAQ TotalView-ITCH 5.0. Strongly-typed, zero-allocation protocol codec for all 20 messages; sibling async transports for SoupBinTCP, MoldUDP64, and plain TCP; demo client and server; designed so each crate can be used independently. Spec-faithful, no unsafe.

Connectivity & protocols

Rust0 starsUpdated Sep 2026

quicktranslate (GitHub)

macOS menu bar app that translates selected text in place via DeepL with global hotkeys

Tools & other

Swift0 starsUpdated Feb 2026

simple_color (GitHub)

Simple library to provide color to some logs

Tools & other

C++0 starsUpdated Sep 2026

simple_logger (GitHub)

Simple C++ logger with syslog-style severity levels

Tools & other

C++0 starsUpdated Sep 2026

simple-polygon-io (GitHub)

Simple library to handle call to Polygon.io REST API

Connectivity & protocols

C++0 starsUpdated Sep 2026

trading_common (GitHub)

Common lib to handle basic data structures

Connectivity & protocols

C++0 starsUpdated Sep 2026

traefik-sorrypage (GitHub)

Traefik middleware plugin that serves a sorry page when a trigger file exists

Tools & other

Go0 starsUpdated Sep 2026

WS2Mongo (GitHub)

WS2Mongo is a high-performance Rust service for extracting JSON data from WebSocket clients directly into MongoDB, streamlined for real-time data handling.

Connectivity & protocols

Rust0 starsUpdated Sep 2026