PinnedDesign Patterns in Rust with Algorithmic Trading ExamplesWhat is design? “Design” as a word is both an activity (verb) and a product (noun). As a verb it’s the process of thinking through and creating blueprints for classes, architectures, or systems. Design as a Noun is the artifact that results from the ...Nov 3, 2024·44 min read·4.5K
TraitsTraits are the most important topic to understand the design patterns in Rust. Traits are fundamental feature in Rust that provide a way for shared behavior, abstraction and polymorphish. You can think of traits as interfaces in other programming la...Nov 21, 2024·8 min read·143
Welcome to My C++ Notes: A Beginner's Guide!Exercise 1: Find the Maximum Value in a Vector std::vector<int> vec = {10, 20, 5, 30, 15}; auto max_iter = std::max_element(vec.begin(), vec.end()); if (max_iter != vec.end()) { std::cout << "The maximum value is " << *max_iter << "\n"; } else { ...Nov 10, 2024·1 min read·142
Welcome to My Rough Rust Notes!So, you’ve dipped your toes into Rust—perhaps by watching a few YouTube tutorials, reading a book, or experimenting with some code. But now, as you start coding, you find yourself constantly Googling or searching into StackOverflow for basic code. Th...Sep 1, 2024·11 min read·607
The Essential C++ STL Cheat sheetThis cheat sheet provides a quick reference to the most commonly used operations and features of std::vector in C++. Vectors Vectors are a part of the C++ Standard Template Library (STL) and are one of the most commonly used sequence containers. They...Aug 7, 2024·6 min read·2.0K
The Silent Troublemaker: Issues with operator [ ] in std::map in C++While operator [] for accessing elements in std::map or std::unordered_map is convenient and familiar to those accustomed to working with dictionaries in other languages, it comes with some potential pitfalls and debugging nightmares in C++. Beware t...Aug 4, 2024·4 min read·1.1K
The POV (Percentage of Volume) AlgorithmOne word commonly appearing in algorithmic trading landscape is "POV" – Percentage of Volume. Understanding the POV is crucial for traders seeking efficient execution strategies that depend on the shifting market conditions. In this blog post, we wil...Oct 16, 2023·4 min read·2.2K