csupnig / ta-lib Goto Github PK
View Code? Open in Web Editor NEWA technical analysis library written in JavaScript/TypeScript
License: MIT License
A technical analysis library written in JavaScript/TypeScript
License: MIT License
Please update the library version in npm.
In npm version 0.9.0 no new functionality.
Thank you.
If i try to run the example from the demo: talib.SMA([23,34,12,34,23], 12)
it will yield an error:
TypeError: Reduce of empty array with no initial value
at Array.reduce (native)
at Object.SMA (/Users/h/git/makers_demo/node_modules/ta-lib/index.js:142:24)
at repl:1:11
at ContextifyScript.Script.runInThisContext (vm.js:25:33)
at Object.exports.runInThisContext (vm.js:77:17)
at runInContext (/Users/h/.nvm/versions/node/v6.9.5/lib/node_modules/coffee-script/lib/coffee-script/repl.js:58:17)
at REPLServer.eval (/Users/h/.nvm/versions/node/v6.9.5/lib/node_modules/coffee-script/lib/coffee-script/repl.js:47:25)
at bound (domain.js:280:14)
....
Hello, thanks for this great project!
I'm wondering were did you port the code from ? And how would you suggest adding more indicators?
Would be nice to port more functions from talib soure code in a reliable way
There are quite a lot of rounding errors for calculations when compared to other sources like excel. For example while extending this library, I found that a particular calculation returns -29.45736 in Javascript and -29.56 in Excel. This can throw quite a few indicators off.
I was wondering where this gulp-angular-filesort
title came from, in the project README file. :)
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.