Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

populate_frequi_trend_plots - Colored block plot to clearly display used trend #174

Open
Rikj000 opened this issue Oct 28, 2021 · 0 comments
Labels
Feature - New New feature or pull request Planned Planned feature, improvement or bugfix (not being worked on yet)
Milestone

Comments

@Rikj000
Copy link
Owner

Rikj000 commented Oct 28, 2021

The idea here is to implement a new true/false setting, display_frequi_trend_plots.
I'll explain the idea for the current core trend TimeFrame implementation for simplicity.
(For the upcoming Multi-TimeFrame the below logic will be done foe each core trend TimeFrame used)

If toggled to true & self.is_dry_live_run_detected is True:

  • Additional columns will be added to the dataframe, one for each trend, for example:
    • downwards_detected
    • sideways_detected
    • upwards_detected
  • These columns will only be able to contain the values 0 or 1, if the corresponding trend currently is detected it's value will be 1, otherwise it's value will be 0.
  • An additional Sub Plot, Detected Trend will be added to the populate_frequi_plots function, this will contain the newly added columns, each with an individual color:
'Detected Trend': {
  'downwards_detected': {'color': '#f41307'},  # Red
  'sideways_detected': {'color': '#f48507'},  # Orange
  'upwards_detected: {'color': '#27f407'},  # Green
}

This will result into a new Sub Plot in FreqUI which gives an easy/clear colored block graph display of which trend (and thus weighted signal setup) is being used by MoniGoMani at all times. 😄

@Rikj000 Rikj000 added Feature - New New feature or pull request Planned Planned feature, improvement or bugfix (not being worked on yet) labels Oct 28, 2021
@Rikj000 Rikj000 added this to the v0.13.0 milestone Oct 28, 2021
@Rikj000 Rikj000 added this to Planned in MoniGoMani - Global Development Progress via automation Oct 28, 2021
@Rikj000 Rikj000 removed this from the v0.13.0 milestone Oct 30, 2021
@Rikj000 Rikj000 added this to the v1.0.0 milestone Jan 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature - New New feature or pull request Planned Planned feature, improvement or bugfix (not being worked on yet)
Development

No branches or pull requests

1 participant