microsoft / microsoft/qlib

Is it a good idea to support some popular indicators directly?

Open
#1,328 1 comment 1 reaction 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

Support some popular indicators directly like RSI, KDJ, DMI, BOLL KCHANNEL.

Motivation

  1. Application scenario
    Technical indicators are very popular in technical anlysis area. If we want to add a RSI, we need to write a lot of code like
    ""Sum(Greater($close-Ref($close, 1), 0), %d)/(Sum(Abs($close-Ref($close, 1)), %d)+1e-12)" % (d, d) for d in windows"

  2. Related works (Papers, Github repos etc.):
    TALib: https://mrjbq7.github.io/ta-lib/

  3. Any other relevant and important information:
    The implemetations of the indicator sometimes are very different. But we can stick our own version with easily extend coding pattern. Then people can extend their own indicator if they don't satisfy qlib's version.

Alternatives

Additional Notes

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 file, test, or entry point is named in the issue. Start by comparing the requested RSI, KDJ, DMI, BOLL, and KCHANNEL indicators with TA-Lib and define which qlib-specific formulas and extension pattern should be supported. Done means the selected indicators are directly usable and their behavior is documented and tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
fintech-quant
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.