TA-Lib / ta-lib-python

Python wrapper for TA-Lib (http://ta-lib.org/).
http://ta-lib.github.io/ta-lib-python
Other
9.49k stars 1.74k forks source link

Documentation of pattern_recognition functions #445

Open prRZ5F4LXZ opened 3 years ago

prRZ5F4LXZ commented 3 years ago

https://mrjbq7.github.io/ta-lib/func_groups/pattern_recognition.html

I don't find the detailed doc of the above functions.

For example, how is CDLHAMMER computed?

mrjbq7 commented 3 years ago

Read the code?

https://github.com/TA-Lib/ta-lib/blob/master/src/ta_func/ta_CDLHAMMER.c

On Jul 27, 2021, at 8:10 AM, prRZ5F4LXZ @.***> wrote:

 https://mrjbq7.github.io/ta-lib/func_groups/pattern_recognition.html

I don't find the detailed doc of the above functions.

For example, how is CDLHAMMER computed?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

prRZ5F4LXZ commented 3 years ago

The code is complicated such that I can not follow it.

The algorithm should be really simple, which only should involve 4 numbers, O, H, L, C. The C code involves too much boilerplate code that is not relevant to the actual algorithm. Thus, a verbal or math formula-based explanation is needed in the doc.

mrjbq7 commented 3 years ago

The code is what it does, feel free to contribute a summary.

On Jul 27, 2021, at 8:29 AM, prRZ5F4LXZ @.***> wrote:

 The code is complicated such that I can not follow it.

The algorithm should be really simple, which only should involve 4 numbers, O, H, L, C. The C code involves too much boilerplate code that is not relevant to the actual algorithm. Thus, a verbal or math formula-based explanation is needed in the doc.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.