IO
Csv and xml files:
CsvFile
Bases: CsvRead
Returns proccessed data from csv file sorted by "Date".
Attributes:
path
: path to csv file with datacolumn
: which column of data do we extract
from_csv()
Extracts the data using set attributes.
CsvRead
Extracts data from a csv file.
FundamentalsReportFinancialStatements
Bases: XmlRead
Extracting data from an xml file. Further explanation on file format can be found on: https://docs-2-0--quantrocket.netlify.app/data/reuters/
Attributes:
path
: path to csv file with dataitem
: which item are we observingseason
: are we observing values annually or interim
from_xml()
Extracts the data using set attributes.
XmlRead
Extracts data from an xml file.