marketflows.plots.charts
Chart rendering.
Generates PNG line charts for selected groups, base assets, EMA periods, and derivative orders.
Functions
|
Plot all charts for flow type. |
- marketflows.plots.charts.plot_charts(*, flow_type, category, df, groups, symbols, base_assets, analysis_config, out_dir)
Plot all charts for flow type.
- Parameters:
flow_type (
Literal['narratives','market_cap_ranges','individual_assets']) – the flow type we want to collect data forcategory (
str) – category of chart used as prefix in title and filenamedf (
DataFrame) – DataFrame with all data we want to usegroups (
list[str]) – list of group names that we want to plot. If the data for a group is not in df, this group is not plotted.symbols (
dict[str,str]) – symbol for each asset/groupbase_assets (
list[str]) – list of base assetsanalysis_config (
AnalysisConfig) – configuration parameters for analysis module
- Return type:
None