Browse by tag

πŸ¦€ miniFIX Tutorial | Part 08

September 22, 2025 Rust Tutorials

In production financial systems, security is paramount. FIX messages often contain sensitive trading information that must be protected during transmission. TLS (Transport Layer Security) provides the cryptographic foundation for secure FIX communication. This post explores building a TLS-enabled FIX acceptor using miniFIX, focusing on security best practices for financial applications.

πŸ¦€ miniFIX Tutorial | Part 07

September 21, 2025 Rust Tutorials

Simple Open Framing Header (SOFH) is a lightweight framing protocol often used to wrap FIX messages for reliable transport over TCP connections. When building high-throughput financial systems, combining SOFH framing with async Rust provides excellent performance characteristics. This post demonstrates how to build a SOFH-enabled TCP server using miniFIX and Tokio.

πŸ¦€ miniFIX Tutorial | Part 06

September 20, 2025 Rust Tutorials

Modern trading systems require interactive, user-friendly interfaces that can handle real-time market data and order management. This post explores building an interactive trading client using miniFIX with Tokio for async operations, combined with a command-line interface for trader interaction.

πŸ¦€ miniFIX Tutorial | Part 05

September 19, 2025 Rust Tutorials

Modern financial systems often need to work with multiple message formats. While FIX is the standard for electronic trading, many systems also use JSON for APIs, configuration, testing, and integration with web-based interfaces. miniFIX provides seamless conversion between JSON and FIX tag=value formats, enabling flexible system architectures.

πŸ¦€ miniFIX Tutorial | Part 04

September 18, 2025 Rust Tutorials

While standard FIX specifications (4.0, 4.1, 4.2, 4.4, etc.) cover most trading scenarios, many organizations need custom fields and message types. Exchanges like Coinbase often extend FIX with proprietary fields for their specific business needs. miniFIX supports custom specifications through QuickFIX XML format and provides code generation capabilities to create type-safe Rust definitions.

πŸ¦€ miniFIX Tutorial | Part 03

September 17, 2025 Rust Tutorials

While decoding FIX messages is essential for processing incoming data, encoding messages is equally important for sending orders, confirmations, and other trading instructions. miniFIX provides a powerful, type-safe encoder that makes creating FIX messages straightforward while maintaining the performance and reliability needed for financial applications.

πŸ¦€ miniFIX Tutorial | Part 02

September 16, 2025 Rust Tutorials

In real-world trading applications, FIX messages often arrive as continuous streams over network connections. Unlike processing individual complete messages, streaming scenarios require handling partial messages, buffering incomplete data, and parsing messages as they arrive. miniFIX provides excellent support for streaming FIX message decoding.

πŸ¦€ miniFIX Tutorial | Part 01

September 15, 2025 Rust Tutorials

The Financial Information eXchange (FIX) protocol is the backbone of electronic trading in financial markets. If you’re building trading systems in Rust, miniFIX provides a modern, type-safe way to work with FIX messages. In this post, we’ll explore how to decode FIX messages using miniFIX’s powerful decoding capabilities.

πŸ¦€ miniFIX Tutorial Series

September 14, 2025 miniFIX Rust

Intro to a comprehensive blog post tutorial series covering all aspects of the miniFIX Rust crate, from basic usage to advanced production scenarios.

πŸ”  NLP: PGF Specification 2.1

September 5, 2025 Grammar NLP

Having spent considerable time looking for information on this format - which is still under development - I decided to compile my own version of the specification.

πŸ¦€ Everydays: Rust | Setup

July 5, 2025 Everydays Rust

Having spent considerable time with mathematics, Python, and reading up on Ai, I wanted to spend the next couple of weeks revising my Rust knowledge, from the ground up. I’ll be writing short posts everyday where I cover the language, idiomatic patterns, and interesting crates. This series is inspired by one of my favorite artists, Beeple, who creates a piece of art everyday - hence the title of this series (Rust: Everyday).

πŸ€– Ai: Summer Reading : Mathematics for Machine Learning

June 22, 2025 MATHML

This summer I will be reading the book Mathematics for Machine Learning, by marc Peter Deisenroth, A. Aldo Faisal, and Cheng Soon Ong. As one reviewer stated ‘This book provdides great coverage of allthe basic mathematical concepts for machine learning.’. The book has 12 chapters, and my goal is to read one chapter each week.

πŸ” Timed-Release-Crypto

December 23, 2024 Mathematics Rust

I recently coded a tiny Rust library, implementing a cryptographic idea in an old paper which had caught my interest. This post is my way of cementing my understanding of the concepts in the paper which I found difficult to grasp.

πŸ¦€ The TypeState Pattern

December 10, 2024 Programming Rust

TypeState is a powerful design pattern that we can use to provide compiletime checks based on the state of things. This post is my way of writing about what I’m learning with the hopes that it’ll stick better.

Avalonia UI on MacOS

October 17, 2024 avalonia csharp dotnet

Description: How to get Avalonia setup on MacOS (Big Sur). For VS Code users there’s an extension that can help speed up development process. You can find it on the VS Code Extension marketplace Step: Install .NET $ dotnet new install Avalonia.Templates # Check installation: $ dotnet --version Step: Install Avalonia Using the .NET CLI we install the Avalonia UI templates. We can install Avalonia project templates with the following command: Read more

πŸ¦€ Cargo Deploy

September 25, 2024 Engineering Rust

In this post we’ll create our own third-party cargo subcommand, cargo deploy. When we call our command in a Rust project, the command will send a binary to our server at Netlify, and print out the URL in the command line. Let’s get started. Naming The binary of our command needs to be named cargo-${command}. In our case we’ll name it cargo-deploy. Placement The binary of our command needs to be stored in ~/.cargo/bin. There’s an easy way to do this: we simply create the binary (named cargo-deploy) and then publish it to crates.io. Then, cargo install cargo-deploy will download and place the binary in ~/.cargo/bin. Read more

πŸ“ Fixed Point Theory

June 10, 2024 Mathematics

We start from scratch and try to build our understanding of the most fundamental idea of Fixed Point Theory- the Banach Contraction Principle.

πŸ¦€ Solana 101

April 12, 2024 rust solana

I start by reading the Solana documentation and will see how far I get in building something with Solana.

πŸ’» MVCC 101

August 20, 2023 databases mvcc rust

MVCC stands for MultiVersion Concurrency Control. It’s a way to implement transactional isolation in any application that needs to manage the state of data items. The traditional mechanism for state management in a database is concurrent control using read-write locks. However, this solution is based on blocking and can create contention. MVCC is not blocking. This means that multiple clients can read and write simultaneously - reads do not block other reads and writes do not block other writes or reads. Read more

πŸ’» Graph Database

July 29, 2023 Engineering Java Rust

A beginner-oriented post containing a few fundamental concepts, and usually a step-by-step rudimentary example. I’m hoping this post will serve as a quick refresher on the covered subject. The content of the post is usually heavily inspired by books and Wiki - my aim is to have a post close at hand if I need to refresh my memory. For proper tutorials and primers - please see other sources on the Internet.

πŸ¦€ REST API

April 4, 2022 Engineering Rust

I recently started using Axum, a web framework for Rust, and I’m a fan of it so far. I’m writing this post to document my learning process and cover how to build a REST API using Axum as a web framework and SQLx for SQL queries. Let’s go!

'I write to understand as much as to be understood.' β€”Elie Wiesel
(c) 2024 CryptoPatrick