TA-Lib / ta-lib-python

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

ta-lib avoid unstable period to generate some tech indicators #599

Open makovez opened 1 year ago

makovez commented 1 year ago

Is it possible to avoid the "unstable period" to generate some tech indicators like for HT_TRENDLINE. I would like that it doesen't use dinamically all previous bars but only until a max. Otherwise it will generated different tech indicators based on where you start the generation.

mrjbq7 commented 1 year ago

If you use the streaming API or pass a fixed length array, it would help your issue. On Jun 20, 2023, at 4:13 PM, Makovez @.***> wrote: Is it possible to avoid the "unstable period" to generate some tech indicators like for HT_TRENDLINE. I would like that it doesen't use dinamically all previous bars but only until a max. Otherwise it will generated different tech indicators based on where you start the generation.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>