-
Notifications
You must be signed in to change notification settings - Fork 1
/
config_example.py
44 lines (33 loc) · 1.08 KB
/
config_example.py
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
config = {
# # coinflex test server
# 'rest_url': 'https://v2stgapi.coinflex.com',
# 'rest_path': 'v2stgapi.coinflex.com',
# # coinflex production api server
# 'rest_url': 'https://v2api.coinflex.com',
# 'rest_path': 'v2api.coinflex.com',
# opnx production api server
'rest_url': 'https://api.opnx.com',
'rest_path': 'api.opnx.com',
# local data filename
'data_filename': 'opnx_data.json',
# create an api key on coinflex.com or opnx.com and put it here
'api_key': "<your api key>",
'api_secret': "<your api secret>",
# list the assets (for mint, redeem, earned)
'assets': [
"FLEX"
],
# list markets you used (for trades)
'markets': [
"FLEX-USDT",
"rvUSD-USDT"
],
# list your amm tokens
'amm_tokens': [
# "CF-BCH-AMM-ABCDE3iy"
]
# data will be pulled starting from this timestamp
't_account_start': int(1680300000 * 1000), # 2023/04/01 Europe/Berlin (output of "date -d 2023-04-01 +%s")
# list of endpoints to sync (look at endpoints.json for which ones are available)
'endpoints_to_sync': 'mint,redeem,earned,trades,withdrawals,deposits,wallet,amm_trades'
}