bta-lib icon indicating copy to clipboard operation
bta-lib copied to clipboard

Is this library active?

Open adrianog opened this issue 3 years ago • 4 comments

adrianog avatar Apr 11 '21 19:04 adrianog

No, unfortunately it isn't. :(

drhighliner avatar Apr 13 '21 10:04 drhighliner

ahh pity! what happened to the author? no announcements in that respect? The author seemed to know what he was doing.

I notice you've forked and "reloaded" - is there any reason why we should NOT use your library?

adrianog avatar Apr 13 '21 22:04 adrianog

Indeed it is. :/

Feel free to use it. I just implemented the threading improvements from the PR section, but it is still missing any update for the newest pandas and numpy versions and fixes for memory leaks, which you could experience if you run the indicators in a loop. (which I do) But if you have any ideas or fixes, feel free to contribute. :)

For the moment I switched to pandas-ta (bc of the memory leak issue), but it is drastically slower than the bta-lib implementation...

drhighliner avatar Apr 14 '21 21:04 drhighliner

Ah yeah, I came to the same conclusion - using pandas-ta. But the news that is drastically slower isn't a good one.

I assume you've considered other alternatives?

  1. The TAlib wrapper https://github.com/mrjbq7/ta-lib
  2. Using Backtrader itself (https://www.backtrader.com/docu/indautoref/) (which I believe re-implements them AND wraps the TAlib ones)
  3. pandas-ta - rubbish performance? (can we run with pypy?)
  4. switch to another language/library?

adrianog avatar Apr 14 '21 23:04 adrianog