0% found this document useful (0 votes)
6 views26 pages

Slides Session 5

The document outlines a session focused on developing a technical indicators service, detailing five primary goals including building the service, dockerizing it, deploying to Kubernetes, installing RisingWave, and integrating Kafka messages. It also lists various technical indicators to be computed in real-time, such as moving averages and momentum indicators, along with a process for handling data through Kafka. Additionally, there is a goal to visualize the data using Grafana.

Uploaded by

abdo adnan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views26 pages

Slides Session 5

The document outlines a session focused on developing a technical indicators service, detailing five primary goals including building the service, dockerizing it, deploying to Kubernetes, installing RisingWave, and integrating Kafka messages. It also lists various technical indicators to be computed in real-time, such as moving averages and momentum indicators, along with a process for handling data through Kafka. Additionally, there is a goal to visualize the data using Grafana.

Uploaded by

abdo adnan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 26

Session 5

2025-04-23
PAU KAI
I need a joke for my class.
Tell me one, please?

PAU KAI
Tell them you just farted
5 goals 🎯
Goal 1 > Build technical indicators service
News Trades
API API

Trades
News ingestor
ingestor
Dashboard
Candles
Sentiment
LLM extractor
Technical
Indicators

Feature Store Model


errors
Market sentiment Technical indicators
features features
Predictions
ML features Predictions
API
Predictions

Model registry Price


predictor
Model trainer Model file +
metadata
Goal 2 > Dockerize the service
News Trades
API API

Trades
News ingestor
ingestor
Dashboard
Candles
Sentiment
LLM extractor
Technical
Indicators

Feature Store Model


errors
Market sentiment Technical indicators
features features
Predictions
ML features Predictions
API
Predictions

Model registry Price


predictor
Model trainer Model file +
metadata
Goal 3 > Deploy to Kubernetes
News Trades
API API

Trades
News ingestor
ingestor

Candles
Sentiment
LLM extractor
Technical
Indicators

Feature Store Model


errors
Market sentiment Technical indicators
features features
Predictions
ML features Predictions
API
Predictions

Model registry Price


predictor
Model trainer Model file +
metadata
Goal 4 > Install RisingWave in our cluster
News Trades
API API

Trades
News ingestor
ingestor
Dashboard
Candles
Sentiment
LLM extractor
Technical
Indicators

Feature Store Model


errors
Market sentiment Technical indicators
features features
Predictions
ML features Predictions
API
Predictions

Model registry Price


predictor
Model trainer Model file +
metadata
Goal 5 > Push kafka messages into RisingWave
News Trades
API API

Trades
News ingestor
ingestor
Dashboard
Candles
Sentiment
LLM extractor
Technical
Indicators

Feature Store Model


errors
Market sentiment Technical indicators
features features
Predictions
ML features Predictions
API
Predictions

Model registry Price


predictor
Model trainer Model file +
metadata
What are technical indicators
3 months
Technical indicators we will compute
- Moving averages
- Simple
- Exponential
- Momentum indicators
- RSI
- MACD
- Volume indicators
- OBV

Complete list is here


How to compute technical
indicators in real time?
Candles topic Read candle from
Kafka
Filter

Add candle to state

Compute technical
indicators
Technical
Push message to indicators topic
Kafka
BTC

Candles topic Read candle from


Kafka
Filter

Add candle to state

Compute technical
indicators
Technical
Push message to indicators topic
Kafka
BTC

Candles topic Read candle from


Kafka
Filter

Add candle to state

Compute technical
indicators
Technical
Push message to indicators topic
Kafka
BTC

Candles topic Read candle from


Kafka
Filter

Add candle to state

Compute technical
indicators
Technical
Push message to indicators topic
Kafka
BTC

State

Candles topic Read candle from


BTC
Kafka
Filter

Add candle to state

Compute technical
indicators
Technical
Push message to indicators topic
Kafka
BTC BTC

State

Candles topic Read candle from


BTC BTC
Kafka
Filter

Add candle to state

Compute technical
indicators
Technical
Push message to indicators topic
Kafka
BTC BTC BTC

State

Candles topic Read candle from


BTC BTC BTC
Kafka
Filter

Add candle to state

Compute technical
indicators
Technical
Push message to indicators topic
Kafka
BTC BTC BTC

State

Candles topic Read candle from


BTC BTC BTC
Kafka
Filter

Add candle to state

Compute technical
indicators
Technical
Push message to indicators topic
Kafka
BTC BTC BTC

State

Candles topic Read candle from


BTC BTC BTC
Kafka
Filter

Add candle to state

Compute technical
indicators
Technical
Push message to indicators topic
Kafka

Tech
indicators
Goal 4 > Visualize data with Grafana
News Trades
API API

Trades
News ingestor
ingestor
Dashboard
Candles
Sentiment
LLM extractor
Technical
Indicators

Feature Store Model


errors
Market sentiment Technical indicators
features features
Predictions
ML features Predictions
API
Predictions

Model registry Price


predictor
Model trainer Model file +
metadata
Your laptop
$ make dev service=trades
Kubernetes cluster

main.py

main.py

main.py

$ make deploy-for-dev service=trades


$ make run service=trades

You might also like