New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

historic

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

historic - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

7

package.json
{
"name": "historic",
"version": "0.0.1",
"version": "0.0.2",
"description": "Fetch historic stock data from yahoo",

@@ -24,4 +24,5 @@ "main": "lib/historic.js",

"license": "Beerware",
"gitHead": "ae6f6f037e48319900269f618eec865189a90425",
"readmeFilename": "README.md"
"dependencies": {
"csv": "0.3.6"
}
}

@@ -10,13 +10,7 @@ #Yahoo Historic Stock Quote Data

var symbol = 'TSLA';
var start = new Date();
var end = new Date();
start.setMonth(7); // zero indexed
start.setDate(27);
start.setFullYear(2013);
// Note: months are zero indexed
var start = new Date(2013, 7, 27);
var end = new Date(2013, 7, 30);
end.setMonth(7); // zero indexed
end.setDate(30);
end.setFullYear(2013);
historic(symbol, start, end, function (err, data) {

@@ -23,0 +17,0 @@ console.log(err ? err : data);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc