ta.sma() raises a TypeError on Linux/Ubuntu but runs successfully on Windows. The call to lib_math.sum(source, length) inside ta.sma() appears to resolve to Python's built-in sum() on Linux, which only accepts one required argument, causing the crash.
To Reproduce
- Clone the repository (or download zip) and set up the environment:
- Download sample data:
uv run pyne data download ccxt --symbol "BYBIT:BTC/USDT:USDT"
- Run the debug script against the downloaded
.ohlcv file:
uv run debug_pynesys.py workdir/data/demo.ohlcv
- Observe the
TypeError traceback.
Expected behavior
Script v6.5.0 should complete successfully and output a CSV file, as it does on Windows:
Versions prior to v6.5.0 are functioning normally and behaving as expected.
steps_to_reproduce.zip
ta.sma()raises aTypeErroron Linux/Ubuntu but runs successfully on Windows. The call tolib_math.sum(source, length)insideta.sma()appears to resolve to Python's built-insum()on Linux, which only accepts one required argument, causing the crash.To Reproduce
uv run pyne data download ccxt --symbol "BYBIT:BTC/USDT:USDT".ohlcvfile:TypeErrortraceback.Expected behavior
Script v6.5.0 should complete successfully and output a CSV file, as it does on Windows:
Versions prior to v6.5.0 are functioning normally and behaving as expected.
steps_to_reproduce.zip