Skip to main content

A package for preprocessing financial datasets, powering the Life Asset Management development team.

Project description

Financial Dataset Preprocessor

A Python package for preprocessing financial datasets from various sources. This package provides tools and utilities for cleaning, transforming, and preparing financial data for analysis.

Version Updates

v0.3.6 (2025-05-23)

  • Added filtering functionality to Menu 2206 preprocessor
  • Improved data quality by removing summary rows

v0.3.5 (2025-05-20)

  • Enhanced Menu 2206 preprocessor with column renaming functionality
  • Improved fund code handling in portfolio analysis

v0.3.4 (2025-05-20)

  • Added Menu 2206 preprocessor module
  • Added time series basis utilities
  • Added Bloomberg time series preprocessor
  • Enhanced integration with universal_timeseries_transformer

Features

  • Menu 2205 Preprocessor
    • Corporation Name Finder
    • Domestic Beneficiary Certificates Processing
    • Domestic Bonds Analysis
    • Repo Agreement Processing
    • Borrowings Management
  • Menu 2206 Preprocessor
    • Fund Portfolio Analysis
    • Investment Asset Classification
  • Bloomberg Time Series Preprocessor
    • Index Data Processing
    • Currency Data Processing
  • Time Series Utilities
    • Date Range Operations
    • Time Series Extension
  • Additional preprocessors for other financial datasets (coming soon)

Installation

You can install the package using pip:

pip install financial_dataset_preprocessor

Requirements

  • Python >= 3.11
  • Dependencies are listed in requirements.txt

Usage Examples

1. Search for Funds with Bonds

from financial_dataset_preprocessor import (
    search_funds_having_domestic_bonds,
    get_domestic_bonds_by_fund
)

# Get all funds that have domestic bonds
fund_bonds = search_funds_having_domestic_bonds(date_ref='2025-02-21')

# Get bond details for a specific fund
fund_code = '100075'
bond_details = get_domestic_bonds_by_fund(fund_code=fund_code, date_ref='2025-02-21')

2. Analyze Fund Borrowings

from financial_dataset_preprocessor import (
    search_funds_having_borrowings,
    get_borriwings_by_fund
)

# Find funds with borrowings
funds_with_borrowings = search_funds_having_borrowings(date_ref='2025-02-21')

# Get borrowing details
fund_code = '100075'
borrowing_details = get_borriwings_by_fund(fund_code=fund_code, date_ref='2025-02-21')

3. Check Repo Agreements

from financial_dataset_preprocessor import (
    search_funds_having_repos,
    get_repos_by_fund
)

# Find funds with repos
funds_with_repos = search_funds_having_repos(date_ref='2025-02-21')

# Get repo details for a specific fund
fund_code = '100075'
repo_details = get_repos_by_fund(fund_code=fund_code, date_ref='2025-02-21')

Development

To set up the development environment:

  1. Clone the repository
  2. Create a virtual environment
  3. Install dependencies:
pip install -r requirements.txt

License

This project is licensed under a proprietary license. All rights reserved.

Terms of Use

  • Source code viewing and forking is allowed
  • Commercial use is prohibited without explicit permission
  • Redistribution or modification of the code is prohibited
  • Academic and research use is allowed with proper attribution

Author

June Young Park
AI Management Development Team Lead & Quant Strategist at LIFE Asset Management

LIFE Asset Management is a hedge fund management firm that integrates value investing and engagement strategies with quantitative approaches and financial technology, headquartered in Seoul, South Korea.

Contact

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

financial_dataset_preprocessor-0.3.6.tar.gz (29.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

financial_dataset_preprocessor-0.3.6-py3-none-any.whl (63.0 kB view details)

Uploaded Python 3

File details

Details for the file financial_dataset_preprocessor-0.3.6.tar.gz.

File metadata

File hashes

Hashes for financial_dataset_preprocessor-0.3.6.tar.gz
Algorithm Hash digest
SHA256 9ec9180cec45fad50efdcfbb07fe641364512c59e05c435e19af5438d5a2e254
MD5 2d3382cd5bb50af64b8212eff0347a05
BLAKE2b-256 40431ff480e20e766d69e2dfa066eac4ba9799e010e282a94e41041f30d7dc44

See more details on using hashes here.

File details

Details for the file financial_dataset_preprocessor-0.3.6-py3-none-any.whl.

File metadata

File hashes

Hashes for financial_dataset_preprocessor-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a4c911e29f2a46c6215a966183f6482637b23038f23b7230d961da551deea451
MD5 e8f4301e2664cac201de5bf9775dad89
BLAKE2b-256 325d1617f9961dc261a752e31afb7ffbd30d9875f2bd87cc2a43d69adf4aa3c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page