thisiscetin / indicado Goto Github PK
View Code? Open in Web Editor NEWTechnical indicator library for Elixir with no dependencies.
License: Apache License 2.0
Technical indicator library for Elixir with no dependencies.
License: Apache License 2.0
Hi!
Thanks for putting up this library, it's very helpful for financial exploration and I would like to use it with Livebook and Nx and Explorer. It's also great to learn how technical analysis works.
One suggestion from my side is that the returned list to be the same size of the input list.
Currently this is the behaviour
iex> [1, 2, 3, 4, 5] |> Indicado.SMA.eval!(3)
iex> [2.0, 3.0, 4.0]
In my opinion, it would be great that the Indicado library returned a list with exactly the same size as the source list, so that you can relate back each data point to the source list by a simple Enum.zip()
and would be very useful for using with a DataFrame library like Explorer.
iex(1)> source = [1, 2, 3, 4, 5]
[1, 2, 3, 4, 5]
iex> sma = source |> Indicado.SMA(3)
[nil, nil, 2.0, 3.0, 4.0]
iex(2)> source |> Enum.zip(sma)
[{1, nil}, {2, nil}, {3, 2.0}, {4, 3.0}, {5, 4.0}]
Any thoughts?
Thanks!
Germán
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.