From 16d725d098c5f7c7a0bb130fcf854186424b7b47 Mon Sep 17 00:00:00 2001 From: Leandro Damasio Date: Mon, 13 May 2024 01:06:24 -0300 Subject: [PATCH] feat(data-modeling): Implement data modeling for graph patterns --- backends/monolith/api/models.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/backends/monolith/api/models.py b/backends/monolith/api/models.py index b07ed2c..6433487 100644 --- a/backends/monolith/api/models.py +++ b/backends/monolith/api/models.py @@ -53,6 +53,18 @@ class Argument(): class Accumulation(): type = ('Bullish', 'Bearish') +class Breakout(): + type = ('Bullish', 'Bearish') + +class Uptrend(): + type = ('Bullish', 'Bearish') + +class Downtrend(): + type = ('Bullish', 'Bearish') + +class Sideways(): + type = ('Bullish', 'Bearish') + # Chart Patterns class Rectangle(): @@ -89,3 +101,20 @@ class MorningStart(): class EveningStart(): thre_candles = ('Closure', 'Opening', 'Closure') type = ('Bullish') + +# Statistical Indicators + +class MovingAverage(): + type = ('Bullish', 'Bearish') + +class RelativeStrengthIndex(): + type = ('Bullish', 'Bearish') + +class MovingAverageConvergenceDivergence(): + type = ('Bullish', 'Bearish') + +class BollingerBands(): + type = ('Bullish', 'Bearish') + +class StochasticOscillator(): + type = ('Bullish', 'Bearish')