Skip to main content

Financial Dataset Loader

A Python module for efficiently loading financial datasets from various sources including local storage and AWS S3. Designed for streamlined data management in quantitative finance applications.

Features

  • Multiple data source support:
    • AWS S3 storage (dataset_loader_s3)
    • Local filesystem (dataset_loader_local)
  • Flexible data source configuration and path management
  • Standardized file name formatting
  • Configurable dataset loading parameters

Project Structure

financial_dataset_loader/
├── data_source.py          # Data source configuration
├── dataset_loader_config.py # Loader configurations
├── dataset_loader_local.py  # Local filesystem loader
├── dataset_loader_s3.py     # AWS S3 loader
├── file_name_formatter.py   # File naming utilities
└── path_director.py         # Path management

Installation

pip install financial-dataset-loader

Usage

Loading Financial Data

from financial_dataset_loader import dataset_loader_s3

# Load menu snapshot data
df = dataset_loader_s3.load_menu2205_snapshot(date_ref='2025-02-12')

# Load specific fund data
df = dataset_loader_s3.load_menu2205(fund_code='000123', date_ref='2025-02-12')

# Load market data
df = dataset_loader_s3.load_market(market_name='KOSPI', date_ref='2025-02-12')

# Load index data
df = dataset_loader_s3.load_index(ticker_bbg_index='KOSPI Index')

# Load currency data
df = dataset_loader_s3.load_currency(ticker_bbg_currency='USDKRW Curncy')

Available Loading Functions

  • load_menu2160(fund_code): Load timeseries data for menu 2160
  • load_menu2160_snapshot(date_ref): Load snapshot data for menu 2160
  • load_menu2205(fund_code, date_ref): Load fund-specific data for menu 2205
  • load_menu2205_snapshot(date_ref): Load snapshot data for menu 2205
  • load_menu8186_snapshot(date_ref): Load snapshot data for menu 8186
  • load_menu4165(fund_code, date_ref): Load period data for menu 4165
  • load_menu4165_snapshot(fund_code, date_ref): Load snapshot data for menu 4165
  • load_index(ticker_bbg_index): Load Bloomberg index data
  • load_currency(ticker_bbg_currency): Load Bloomberg currency data
  • load_market(market_name, date_ref): Load market data

Requirements

  • Python >= 3.11
  • aws-s3-controller (for S3 functionality)
  • string-date-controller (for date conversion functionality)
  • shining_pebbles (for pseudo database functionality)

License

MIT License

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

Metadata

Release files for financial-dataset-loader 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for financial-dataset-loader 0.2.6
File Size Uploaded
financial_dataset_loader-0.2.6.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for financial-dataset-loader 0.2.6
File Interpreter ABI Platform
financial_dataset_loader-0.2.6-py3-none-any.whl Python 3 none any Details

Total release size: 12.1 kB

Release files / financial_dataset_loader-0.2.6.tar.gz

Download URL financial_dataset_loader-0.2.6.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
723e8ab038259ec56c11b0156973897772805befed8ef3cdb74cb0dc505d91f1
BLAKE2b-256 checksum
How to use checksums
85abbae0795801e0472bdd1b647ece1c8cdd7303bc76af9c8d58c4621a4ed1b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release files / financial_dataset_loader-0.2.6-py3-none-any.whl

Download URL financial_dataset_loader-0.2.6-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53950911563f2deba2d1b33f7df640fb8198ac3e07a92721d6dabdac9c204a01
BLAKE2b-256 checksum
How to use checksums
63d733936828c3ef7fd530fdc7594295c2d86b8309ef5a8896a7c39f33586ef9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.2.6 This release

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page