Ruby Technical Stock Indicators Library

I am looking for a “stock indicator library” written in ruby. A technical indicator can be anything from a moving average to Williams% R.

I need a library where I can provide historical data for stock (input) and get the last value for any technical indicators as an output.

I am also interested in any such open source libraries written in any other language.

I did some searches and I searched here, but so far no luck.

Thanks.

+4
source share
2 answers

There is a TA-Lib Ruby gem that wraps the already well-developed technical analysis of the C ++ library http://ta-lib.org/

Having said that installing all the components on Ubuntu was painless or absent from working with its own packages (there is a third-party Debian repo, but ymmv).

Quantlib in R seems to be open source. In fact, it prompted me to learn how to embed certain R-operations in Ruby, until I was completely discarded by crutches and code in R.

+1
source

For some reason, the Python community is much more prone to crunching than the Ruby community, see this for information on what Python support has: Financial technical analysis in python

If you don't mind some of your own calculations, a ruby ​​is a great choice.

Check out the ruby ​​project I wrote that updates the csv table with new daily values ​​and calculates some moving averages. It is used to generate this page daily: https://sites.google.com/site/sandp500daily/fri-sep-21-2012-snp-500

Code here: https://github.com/rschultheis/DailyDoseBlogGenerator

+1
source

Source: https://habr.com/ru/post/1389000/


All Articles