Tech

Tech Series

Goal

Build an end-to-end financial analytics/trading/research system Sravz Architecture.

Source Code

Visit our GitHub Repository to explore the complete Sravz platform source code.

Sravz Source Code Repositories

Below are the main code repositories powering the Sravz platform. Each repository is a separate submodule in the monorepo. Click the links for more details and usage instructions.

RepositoryDescriptionLink
backend-pyPython backend for financial data processing, analytics, Kafka/NSQ/MongoDB integration, and cloud uploads.GitHub
backend-goGo backend providing REST APIs, WebSocket support, batch jobs, RSS feed processing, and MongoDB integration.GitHub
backend-cppHigh-performance C++ backend for real-time data processing, WebSocket server, and Redis integration.GitHub
backend-nodeNode.js backend for REST APIs, WebSocket, job scheduling, authentication, MongoDB, Redis, and NSQ.GitHub
backend-rustRust backend for scalable data processing, NSQ messaging, MongoDB, and analytics with Polars/Python interop.GitHub
frontend-ngAngular frontend providing a modern UI for analytics, assets, portfolios, and integration with backend services.GitHub

For product demos, collaborative licenses, or commercial use, please Contact Us.

Note

Please review below material in the ID order. The codebase gradually implements new features.

CPP (C++)

IDDescriptionUse CasePage
0Docker Containerizaton & Development Environment SetupDocker Containerizaton & Development Environment SetupC++ Docker Dev Env Setup
1Boost Redis StreamsIntegrate backends implemented in C++ and NodeJSRedis Streams
2Boost Beast WebsocketsUse multi-threaded client to read stock quotes from websocketBoost Beast Websockets
3Boost Beast Websocket ServerUse multi-threaded server to publish stock quotesBoost Beast Websockets
4Boost Program OptionsUse boost program options libraryBoost Program Options
5Boost Beast REST API ServerUse multi-threaded server to provide REST APIBoost Beast REST API Server
6MongoDB Client/ServiceUse C++ MongoDB Driver to perform CRUD operations on MongoDBC++ MongoDB Service/Client
7AWS S3 Client/ServiceUse C++ AWS SDK to perform CRUD operations on AWS S3C++ AWS S3 Service/Client
8Boost Beast REST API HTTP Session with Router -> Controller -> ServiceIntegrates Boost Beast REST API HTTP Session with Router -> Controller -> ServiceREST-API-Router-Controller-Service
9AWS S3 Client/Service - S3 SelectUse C++ AWS SDK to perform S3 select operations on AWS S3 Parquet fileREST-API-AWS-S3-Select
10Optional - Airflow + Dask Stock Quotes Stats GenerationOptional - Airflow + Dask Massively Parallel 5200 Stock Quotes Stats GenerationAirflow-Dask-Stock-Stats-Generator
12CMakeSwitch Make to CMakeCMake
13Fundamentals ControllerCache S3 Presigned URLs in RedisFundamentals-Controller
14REST API ModelsUse Models to send JSON as the REST API OutputREST-API-MODELS

Golang

IDDescriptionUse CasePage
1Golang Crash CourseCovers important golang topicsGolang Crash Course
2Golang Redis WebsocketsUse Golang WebSockets/Redis Client to load realtime ticker plantGolang Redis Websockets

Airflow - Dask

IDDescriptionUse CasePage
1Stock Quotes Stats GenerationAirflow + Dask Massively Parallel 5200 Stock Quotes Stats GenerationAirflow-Dask-Stock-Stats-Generator
2Stock Fundamentals uploaderAirflow Task Mapping Usage - Ticker fundamentals uploadStock Fundamentals Uploader
3ETF Tickers uploaderAirflow Task Mapping Usage - Get list of US ETF tickersETF Tickers Uploaders
4ETF historical quotes uploaderAirflow Task Mapping Usage - Uplaod historial ETFs quotes to S3ETF Historical Quotes Uploader
5Mutual funds uploaderAirflow Task Mapping Usage - Upload mutual funds fundamentalsMutual funds fundamentals uploader

Angular

IDDescriptionUse CasePage
1Status Message ImplementationReal-time status messages for backend operations with WebSocket integrationStatus Message Implementation
2Earnings Analytics PageEarnings data visualization and analyticsEarnings Analytics
3Angular - Ignite UI - Upgrade v14 - v15Update AngularAngular-Upgrade-V14-15
4Angular - Ignite UI - Upgrade v15 - v16Update AngularAngular-Upgrade-V15-16
5Angular - Ignite UI - Upgrade v16 - v18Update AngularAngular-Upgrade-V16-18

IBKR

IDDescriptionUse CasePage
1IBKR Python API IntroductionQuick introduction to IBKR Python APIIBKR-Python-API

Docker

IDDescriptionUse CasePage
1Multi Node Docker Swarm SetupCreate docker swarm on multiple Ubuntu nodesdocker-swarm-setup

Redis

IDDescriptionUse CasePage
1Redis Timeseries introductionRedis Timeseries introductionRedis-Timeseries-Introduction

Rust

IDDescriptionUse CasePage
1Rust NSQ Reader/WriterRust application for NSQ Reader/Writer - Historical Ticker PlantRust-NSQ-Reader-Writer

Python

IDDescriptionUse CasePage
1OpenAIUse OpenAI to Create Q&A Application on Sravz Financial DataOpenAI Q&A Session
2LangChainUse LangChain to Create Q&A Application on Sravz Financial DataLangChain Q&A Session

Hugo Documentation Site

IDDescriptionUse CasePage
1Quick ReferenceFast lookup for common Hugo site customization tasksQuick Reference
2Complete SummaryFull overview of all Hugo documentation site enhancementsComplete Summary
3Top HeaderSticky navigation with enlarged logo and quick linksTop Header
4Enhanced FooterSocial media icons and expandable Disqus commentsEnhanced Footer
5Sidebar Themes6 color themes with switcher and localStorage persistenceSidebar Themes
6Sidebar Width FixOptimized sidebar width and logo improvementsSidebar Width Fix
7Modern TOCTable of contents with active section highlightingModern TOC
8TOC Theme SyncSynchronized themes between sidebar and TOCTOC Theme Sync
9Full Width LayoutRemoved excessive margins for better content utilizationFull Width Layout
10Bootstrap UpdateUpgraded Bootstrap from v5.0.2 to v5.3.3Bootstrap Update