whitethunder / signal_tools Goto Github PK
View Code? Open in Web Editor NEWGem to create MACD, fast stochastic, slow stochastic, and moving average signal tools for a given stock.
License: MIT License
Gem to create MACD, fast stochastic, slow stochastic, and moving average signal tools for a given stock.
License: MIT License
When you get a signal tool, you have to specify the number of days for which you want the tool shown. We need to truncate all the data at that date and also add the option to specify the date instead of number of days.
There are some basic tests already but we need to test with bad inputs and maybe other stuff.
Hi,
I just installed your gem with Ruby 3.0.2 but it does not seem to work as a require 'signal_tools'
spits out the following error:
<internal:/home/user/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- ./lib/signal_tools/technicals/common (LoadError)
from <internal:/home/user/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /home/user/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/signal_tools-0.3.1/lib/signal_tools/stock.rb:1:in `<top (required)>'
from <internal:/home/user/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/home/user/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /home/user/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/signal_tools-0.3.1/lib/signal_tools.rb:2:in `<top (required)>'
from <internal:/home/user/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:160:in `require'
from <internal:/home/user/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require'
from <internal:/home/user/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:149:in `require'
from s.rb:1:in `<main>'
<internal:/home/user/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- signal_tools (LoadError)
from <internal:/home/user/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from s.rb:1:in `<main>'
Is this gem maybe not compatible with Ruby 3?
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.