This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py.example
57 lines (51 loc) · 1.5 KB
/
config.py.example
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
HOST = "https://api.dydx.exchange"
PARAMETERS = {"ORDERS_LIMIT": 2, "POSITION_SIZE": "0.1"}
SELL_MIN_PRICE = "36000" # BTC
BUY_MAX_PRICE = "49000" # BTC
IMR = 0.05 # Initial margin
MMR = 0.03 # Maintenance margin
# SKIP WALLETS
SKIP_WALLETS = ["V_1", "V_2", "V_3", "V_6"]
# WALLET PAIRS USED TO REBALANCE MARGIN
WALLET_PAIRS = [
['LEDGER_1A', 'LEDGER_2A'],
['LEDGER_3A', 'LEDGER_4A'],
['LEDGER_5A', 'LEDGER_6A']
]
# TELEGRAM
BOT_ID = ""
INTERNAL_CHATID_DYDX = ""
MARKET_BTC = {'baseline_position_size': 9,
'incremental_position_size': 1.5,
'max_position_size': 170,
'imf': 0.01}
MARKET_ETH = {'baseline_position_size': 140,
'incremental_position_size': 28,
'max_position_size': 2820,
'imf': 0.01}
WALLETS = [
{"wallet_name": "LEDGER_1A",
"data": {
"DEFAULT_ETHEREUM_ADDRESS": "",
"API_CREDENTIALS": {
"key": "",
"secret": "",
"passphrase": ""
},
"STARK_PRIVATE_KEY": "",
"STARK_PUBLIC_KEY": "",
"STARK_PUBLIC_KEY_Y_COORDINATE": ""
}},
{"wallet_name": "LEDGER_2A",
"data": {
"DEFAULT_ETHEREUM_ADDRESS": "",
"API_CREDENTIALS": {
"key": "",
"secret": "",
"passphrase": ""
},
"STARK_PRIVATE_KEY": "",
"STARK_PUBLIC_KEY": "",
"STARK_PUBLIC_KEY_Y_COORDINATE": ""
}}
]