Architectural Design - conscious-intelligent-labs/AI-signal-analytics-api GitHub Wiki
Architectural Design
Design
Dependencies
- Redis Cache
- PostgreSQL Database
- RabbitMQ
- Java 13
- Angular 8+
Requirements
System:
- How often do the system query the harmonic pattern API
- Check to see if the pattern is successful or not
- Determine a TP and SL based on certain market conditions (patterns, Indicators, news)
Symbol/Pair (SP):
- Store individual SP
- Store time frames to monitor for an SP
- Store the harmonic patterns to monitor for each SP
Signal/Harmonic Pattern (SIG)
- Store the risk of the SIG
- Store the current Trend (bear or bull)
- Store the strength of the Trend (strong or weak)
- Store the 24 hour (configurable) lines of support and resistance
- Store the RSI
Outcome
- Store the outcome (reach TP or hit SL) ** If TP wasn't hit but a gain was made. Store wow many pips did it move
- Store the harmonic pattern identified
- Store the starting RSI
- Store the SP
- Store the time the trade was taken
- Store how long it took to reach TP or SL
- Did news occur during this time frame?
- Did it break support and resistance
- Did it bounce off support and resistance
- Did it break resistance
- Did it bounce off resistance
- Store how many pips moved to hit SL or TP
- How many pips in drawdown took place during the trade?