Git Product home page Git Product logo

polars_ta_extension's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

polars_ta_extension's Issues

Request for ARM-compatible wheels for M1 Macs

Environment

  • Operating System: macOS (Apple M1)
  • Python Version: Python 3.12.3
  • pip Version: pip 24.0

Description

I am trying to install polars-talib==0.1.2 on my M1 Mac but am encountering an error indicating that there are no matching distributions found. This suggests that there might not be pre-built wheels available for ARM architecture.

Steps to Reproduce

  1. Run pip install polars-talib==0.1.2
  2. Encounter error messages indicating incompatibility.

× No solution found when resolving dependencies: ╰─▶ Because polars-talib==0.1.2 is unusable because no wheels are available with a matching Python implementation and you require polars-talib==0.1.2, we can conclude that the requirements are unsatisfiable.

Possible Solution

It would be highly beneficial for Mac users with ARM architecture if ARM-compatible wheels could be made available.

Additional Context

Really appreciate your help in making this library accessible on different architectures.

Failed to install on rust

So, in my project I did cargo add talib-sys
The build fails with this error:

   Compiling talib-sys v0.1.0
error: could not find native static library `ta_lib`, perhaps an -L flag is missing?

error: could not compile `talib-sys` (lib) due to 1 previous error

I figured that the solution is to find out the location. In my case:
~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/talib-sys-0.1.0

Then, i cloned this repo into /tmp, built it myself and did:
cp /tmp/polars_ta_extension/talib-sys/dependencies ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/talib-sys-0.1.0

That allowed me to build properly.
Maybe the cargo version is not up to date?

err: TA_OUT_OF_RANGE_END_INDEX

using this script (based on the example [here]:

df_data = (df_data
.with_columns(pl.col("LDPS_w").ta.wma(lookback_period).over(["ticker", "timeframe"]).alias("LDPS_w")))

I get this error:

"polars.exceptions.ComputeError: the plugin failed with message: Could not compute indicator, err: TA_OUT_OF_RANGE_END_INDEX"

could you please help me understand what I should be doing?

apologies, my mistake, works fine

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.