Tool for retrieving and combining financial and related data for informing security investments
Project description
KaxaNuk Data Curator
Tool for building a structured database for market, fundamental and alternative data obtained from different financial data provider web services.
Allows for easy creation of additional calculated column functions.
Requirements
- Python
3.12or3.13 - All the dependency library versions specified in
pyproject.tomlunder the[project].dependenciessection (see the installation guide)
Supported Data Providers
- Financial Modeling Prep
- Yahoo Finance (requires installing a separate extension package, and doesn't support most data types)
Installation
-
Make sure you're running the required version of Python, preferably in its own virtual environment.
-
Open a terminal and run:
pip install --upgrade pip pip install kaxanuk.data_curator -
If you want to use the Yahoo Finance data provider, install the extension package:
pip install kaxanuk.data_curator_extensions.yahoo_finance
Configuration
- Open a terminal in any directory and run the following command:
This should create 2 subdirectories,kaxanuk.data_curator init excelConfigandOutput, as well as the entry script__main__.pyin the current directory. - Open the
Config/parameters_datacurator.xlsxfile in Excel, fill out the fields in all the sheets, save the file and close it. - If your data provider requires an API key, open the
Config/.envfile in a text editor, and paste the key after the=sign of the provider's correspondingAPI_KEYvariable. Don't add any quotes or spaces before or after the key.
Usage
Now you can run the entry script with either:
kaxanuk.data_curator run
or by executing the __main__.py script directly with Python:
python __main__.py
The system will download the data for the tickers configured in the file, and save the data to the Output folder.
Customization
The __main__.py entry script is customizable, so you can implement your own data providers and configuration and output
handlers, and inject them from there.
You can also create your own calculated feature functions by adding them to the Config/custom_calculations.py file, and
adding the function's name (which start with the c_ prefix) to the Columns sheet in the Config/parameters_datacurator.xlsx file.
Check the API Reference to learn how to easily implement your own calculated features.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kaxanuk_data_curator-0.40.1.tar.gz.
File metadata
- Download URL: kaxanuk_data_curator-0.40.1.tar.gz
- Upload date:
- Size: 504.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b6d0ddacb97826e20984dab77c00b6fbcbd103c65c88f01b633ae7606990d3f
|
|
| MD5 |
81d6f3078138abea842212cb8c8c0611
|
|
| BLAKE2b-256 |
953e42a601e241a8061dacf55ebcbc4a0b3148dc2d4f4f8b5f70a722b44e37b7
|
File details
Details for the file kaxanuk_data_curator-0.40.1-py3-none-any.whl.
File metadata
- Download URL: kaxanuk_data_curator-0.40.1-py3-none-any.whl
- Upload date:
- Size: 106.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd290e1c5effa09dbb33067e32a2f830fe85aecab3a52c56166ad3d00b647907
|
|
| MD5 |
ea91afec4e155ecaa45c01756d64e6b8
|
|
| BLAKE2b-256 |
6eb578ce361ee65dc1d7395607aca41a424bc49e58cf6d9fa2eeabd39972c8d8
|