Module serve
Classes
class HTMLRenderer (style: str = 'light')-
It expects that the tradeSignals object contains the index data, the tickers data and the main idx of the tickers data. Stats are calculated based on a year of data except when specified all-time. In that case, the stats are calculated from the first data point to the last.
The three styles are: - light: A light theme - dark: A dark theme (Darcula style) - rich: Another dark theme with another color palette
Args:
template_path: The path to the template directory. The directory should contain a file named main.htmlIt should also contain a directory named components that contains all the components that will be used in themain template. The css files used as themes should be in the main directory or in a styles subdirectory. Thenames of the files are used as the theme names. Same thing for the scripts.Parent