-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtradezap.config.ts
159 lines (157 loc) · 3.56 KB
/
tradezap.config.ts
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
import type { TradezapConfig } from 'common/types';
const TRADEZAP_CONFIG: TradezapConfig = [
{
provider: 'binance',
settings: {
outputDirectory: 'example/dataset',
shouldUnzipDatasets: true,
},
datasets: [
// Download AVAX-BUSD spot trades for:
{
asset: 'spot',
assetType: 'trades',
tradingPair: 'AVAX-BUSD',
timeSpans: [
// - 1st, 2nd and 3td of April and May for 2022 and 2023
{
period: 'daily',
years: [2022, 2023],
months: [4, 5],
days: [1, 2, 3],
},
// - All days in October 2022
{
period: 'daily',
years: [2022],
months: [10],
days: [],
},
// - Every 1st of the month in 2021
{
period: 'daily',
years: [2021],
months: [],
days: [1],
},
// - Every 1st of March for all years available
{
period: 'daily',
years: [],
months: [3],
days: [1],
},
],
},
// Download ETH-BUSD daily spot trades for 1st of January 2021, 2022 and 2023
{
tradingPair: 'ETH-BUSD',
asset: 'spot',
assetType: 'trades',
timeSpans: [
{
period: 'daily',
years: [2021, 2022, 2023],
months: [1],
days: [1],
},
],
},
// Download AVAX-BUSD monthly spot trades for August and September 2023
{
tradingPair: 'AVAX-BUSD',
asset: 'spot',
assetType: 'trades',
timeSpans: [
{
period: 'monthly',
years: [2023],
months: [8, 9],
},
],
},
// Non existent data (will be reported as not found by CLI)
{
tradingPair: 'AVAX-BUSD',
asset: 'spot',
assetType: 'trades',
timeSpans: [
{
period: 'daily',
years: [2017],
months: [1],
days: [1],
},
],
},
{
asset: 'spot',
assetType: 'aggTrades',
tradingPair: 'AVAX-BUSD',
timeSpans: [
{
period: 'daily',
years: [2023],
months: [10],
days: [15],
},
],
},
{
asset: 'spot',
assetType: 'klines',
interval: '1m',
tradingPair: 'AVAX-BUSD',
timeSpans: [
{
period: 'daily',
years: [2023],
months: [10],
days: [15],
},
],
},
{
asset: 'spot',
assetType: 'klines',
interval: '1h',
tradingPair: 'AVAX-BUSD',
timeSpans: [
{
period: 'daily',
years: [2023],
months: [10],
days: [15],
},
],
},
{
asset: 'spot',
assetType: 'klines',
interval: '1d',
tradingPair: 'AVAX-BUSD',
timeSpans: [
{
period: 'monthly',
years: [2023],
months: [9],
},
],
},
// {
// asset: 'option',
// optionType: 'bvol-index',
// tradingPair: 'AVAX-BUSD',
// timeSpans: [
// {
// period: 'daily',
// years: [2023],
// months: [10],
// days: [15],
// },
// ],
// },
],
},
];
export default TRADEZAP_CONFIG;