-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
74 lines (66 loc) · 907 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// `futures` or `spot`
const market = 'futures';
// only applicable if market parameter is `futures`
// parameter `um` for USD-M, `cm` for COIN-M
const futuresType = 'um';
const period = 'monthly'; // `monthly` or `daily`
/*
aggTrades
indexPriceKlines
klines
markPriceKlines
premiumIndexKlines
trades
*/
const dataType = 'klines';
const pairs = [
'BTCUSDT',
'ETHUSDT',
'AVAXUSDT',
'SOLUSDT'
];
const intervals = [
'12h',
'15m',
'1d',
'1h',
'1m',
'1mo',
'1w',
'2h',
'30m',
'3d',
'3m',
'4h',
'5m',
'6h',
'8h'
];
const years = [
'2022',
'2021'
];
const months = [
'12',
'11',
'10',
'09',
'08',
'07',
'06',
'05',
'04',
'03',
'02',
'01'
];
module.exports = {
market,
futuresType,
period,
dataType,
pairs,
intervals,
years,
months
};