UNPKG
okcoin.com
Version:
latest (0.1.0)
0.1.0
0.0.8
0.0.7
0.0.6
0.0.4
0.0.3
0.0.2
0.0.1
Promise-base trade api for okcoin.com
github.com/you21979/node-okcoin
you21979/node-okcoin
okcoin.com
/
lib
/
system.js
11 lines
(9 loc)
•
265 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
"use strict"
;
var
LimitRequestPromise
=
require
(
'limit-request-promise'
);
var
constant =
require
(
'./constant'
);
var
lp =
exports
.
lp
=
new
LimitRequestPromise
(
1
,
1
); lp.
setup
([ {
host
:constant.
OPT_LIMIT_HOST
,
max
:
1
,
sec
:constant.
OPT_LIMIT_SEC
, } ]);