Quota Price Evolution

Extract options.json Data

The charts module uses the dates defined in the CHARTS key, with the parameters START_DATE, END_DATE, and INVESTMENT_CNPJ_LIST present in the options.json file.

Name

Description

START_DATE

Required parameter (format: YYYY-MM-DD).

END_DATE

Required parameter (format: YYYY-MM-DD).

INVESTMENT_CNPJ_LIST

Required parameter.

Process Archives

After retrieving the CNPJs from INVESTMENT_CNPJ_LIST, the data is used to locate the processed .csv files. These files are then converted into dataframes, filtered by START_DATE and END_DATE.

Note

For better comparability, all investments should start from the same date. This is typically not an issue, as data is updated on common dates.

And combined into a single array used to generate the chart.

Example Chart

example_quota_evolution Click here to open the image.

Warning

This section does not describe low-level implementation details. It focuses only on the main components and aspects that may cause confusion.