UNPKG
stock-directory
Version:
latest (1.2.4)
1.2.4
1.2.3
1.2.2
1.2.1
1.1.1
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
get current stocks details
stock-directory
/
testing.js
10 lines
(7 loc)
•
210 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
var
a =
require
(
'./index'
); a.
getDetailsDailyTimeSeries
(
'aapl'
).
then
(
function
(
res
){
console
.
log
(res) }) a.
getSimpleMovingAdjustedValues
(
'aapl'
,
5
,
60
,
"close"
).
then
(
function
(
res
){
console
.
log
(res) })