One of the objectives is to identify securities that are highly correlated together.
- Node.js v10
npm install
Run tests
# Run all the tests
npm test
# Run one test
npm test -- test/test-financials.js
With test data
./scripts/parser.js
With production data
NODE_ENV=production ./scripts/parser.js
or
export NODE_ENV=production
./scripts/parser.js
Extract data from one page
./scripts/parser-ng.js <URL>
./scripts/analyzer.js --begin <date> --end <date>