microsoft / microsoft/qlib

Make Internal Data Index <datetime, instruments> instead of <instruments, datetime>

Open
#63 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
48.7k
Forks
7.7k
PR merge metrics
No merged PRs in 30d

Description

🌟 Feature Description

Make Internal Data Index <datetime, instruments> instead of <instruments, datetime>

Motivation

In time series data, the datetime dimension is more frequently used than instruments.

Make the underlying data use the time dimension as the first index level will improve the data efficiency in more scenario

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by tracing where the internal time-series data index is created and consumed, then assess the effects of changing its level order from instruments, datetime to datetime, instruments. Done means the new ordering is used consistently and affected data workflows still behave correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.