yahoo-exchange
Advanced tools
Comparing version 1.7.2 to 1.7.3
@@ -19,3 +19,5 @@ "use strict"; | ||
const open = sd('open').raw; | ||
list.push((previousClose + open) / 2); | ||
const bid = sd('bid').raw; | ||
const ask = sd('ask').raw; | ||
list.push((bid + ask) / 2); | ||
list.push(html['price']['regularMarketChange'].raw); | ||
@@ -25,4 +27,4 @@ list.push(html['price']['regularMarketChangePercent'].raw * 100); | ||
list.push(open); | ||
list.push(sd('bid').raw); | ||
list.push(sd('ask').raw); | ||
list.push(bid); | ||
list.push(ask); | ||
list.push(sd('dayLow').raw); | ||
@@ -29,0 +31,0 @@ list.push(sd('dayHigh').raw); |
@@ -17,3 +17,5 @@ import request = require('request'); | ||
const open = sd('open').raw; | ||
list.push((previousClose + open) / 2); | ||
const bid = sd('bid').raw; | ||
const ask = sd('ask').raw; | ||
list.push((bid + ask) / 2); | ||
list.push(html['price']['regularMarketChange'].raw); | ||
@@ -23,4 +25,4 @@ list.push(html['price']['regularMarketChangePercent'].raw * 100); | ||
list.push(open); | ||
list.push(sd('bid').raw); | ||
list.push(sd('ask').raw); | ||
list.push(bid); | ||
list.push(ask); | ||
list.push(sd('dayLow').raw); | ||
@@ -27,0 +29,0 @@ list.push(sd('dayHigh').raw); |
@@ -14,3 +14,3 @@ { | ||
"main": "index.js", | ||
"version": "1.7.2", | ||
"version": "1.7.3", | ||
"license": "MIT", | ||
@@ -17,0 +17,0 @@ "dependencies": { |
78463
1144