bta-lib
bta-lib copied to clipboard
Technical Analysis library in pandas for backtesting algotrading and quantitative analysis
Added pandas version to requirements file. Otherwise it would install pandas 1.2.x automatically, which is not compatible with btalib as of now unfortunately.
As I have mentioned on the community forum: https://community.backtrader.com/topic/3687/bta-lib-and-bt-indicators-deliver-different-values-when-using-indicator-on-indicator The bta-lib indicator on indicator gives different results than when using this in backtrader internally. The problem surfaces when you use...
BTA-LIB is running into compatibility issues with Numpy. From backtrader forum: [bta-lib adx() error](https://community.backtrader.com/topic/3665/bta-lib-adx-error/8?_=1617619643509) >@run-out I found the library version incompatibility! I was running with numpy v1.20.1, the latest version....
Hello, I'm trying to use btalib and I'm having some trouble when having it run from inside a thread. The below code works fine: ``` import [...] symbol = 'BTCEUR'...
I am trying to create trailing ATR with fixed multiplier using `mult` function but I failed as it throws `AttributeError: 'float' object has no attribute 'index'` and that makes sense....
When I run btalib.dx(btc_df.high, btc_df.low, btc_df.close) or btalib.dm(btc_df.high, btc_df.low) with btc_df.high, btc_df.low and btc_df.close being columns from a pandas data frame (series of floats). I get: --------------------------------------------------------------------------- TypeError Traceback (most...
The current version of the crossing indicator failed in Python 3.7.6 with numpy 1.18.1 and 0.25.3. The error is due to computing the difference of two boolean arrays in the...
Hi, Thanks for this project! very convenient to use. I am wondering if it supports dynamic update the indicator values as I feed more newly incoming data. If it is...
https://www.metatrader5.com/en/terminal/help/indicators/bw_indicators/fractals Can you add a Bill Williams fractals indicator to the library please?
Traceback (most recent call last): File "/Users/cosmos/GitHub/haasomeapitools/.env/lib/python3.7/site-packages/pandas/core/series.py", line 1014, in __setitem__ self._set_with_engine(key, value) File "/Users/cosmos/GitHub/haasomeapitools/.env/lib/python3.7/site-packages/pandas/core/series.py", line 1054, in _set_with_engine self.index._engine.set_value(values, key, value) File "pandas/_libs/index.pyx", line 96, in pandas._libs.index.IndexEngine.set_value File "pandas/_libs/index.pyx",...