marketflows.plots.tables
Table rendering.
Generates PNG percent-gain tables over configured time offsets for each category and base asset.
Functions
|
Create tables for the specific category. |
- marketflows.plots.tables.create_category_tables(*, flow_type, category, symbols, groups, df, provider_config, plot_config, out_dir)
Create tables for the specific category.
- Parameters:
flow_type (
Literal['narratives','market_cap_ranges','individual_assets']) – the flow type we want to collect data forcategory (
str) – used as prefix for title and file namesymbols (
dict[str,str]) – symbol for each asset/groupgroups (
list[str]) – the labels of the rows in the tabledf (
DataFrame) – dataframe containing all data (and possibly more)provider_config (
ProviderConfig) – the configuration settings for providersplot_config (
PlotConfig) – the configuration settings for plottingout_dir (
Path) – directory where tables are saved
- Return type:
None
Examples: