jankrepl / jankrepl/deepdow

How does raw_to_Xy() know which column to use to calculate returns

Open
#129 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
170
PR merge metrics
No merged PRs in 30d

Description

The documentation says

> computation of returns (if use_log then logarithmic else simple) - the first timestep is automatically deleted

How does this function know which column is the closing price and therefore which column to use to calculate returns

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the raw_to_Xy() implementation and the documentation passage describing return computation. Determine how the closing-price column is selected, then clarify that behavior in the documentation so users can identify which column is used.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
fintech-quant
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.