-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathjit-maker-config.yaml
50 lines (40 loc) · 1.43 KB
/
jit-maker-config.yaml
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
global:
driftEnv: mainnet-beta
endpoint:
wsEndpoint:
# Private key to use to sign transactions.
# will load from KEEPER_PRIVATE_KEY env var if null
keeperPrivateKey:
initUser: false # set to true if you are starting with a fresh keypair and want to initialize a user
testLiveness: false # test liveness, by failing liveness test after 1 min
cancelOpenOrders: false # cancel open orders on startup
closeOpenPositions: false # close all open positions
websocket: true # use websocket for account loading and events (limited support)
resubTimeoutMs: 30000
debug: false # Enable debug logging
# subaccountIDs to load, if null will load subaccount 0 (default).
subaccounts:
- 0
maxPriorityFeeMicroLamports: 100000
# Which bots to run, be careful with this, running multiple bots in one instance
# might use more resources than expected.
# Bot specific configs are below
enabledBots:
- jitMaker
# below are bot configs
botConfigs:
jitMaker:
botId: "jitMaker"
dryRun: false # no effect for jit maker
metricsPort: 9464
# will jit make on perp market 20 (JTO-PERP) on subaccount 0
marketType: "perp"
marketIndexes:
- 1
subaccounts:
- 2
# bot will try to buy 30 bps above the best bid, and sell 30 bps below the best bid.
aggressivenessBps: 100
# CU limit to set for jit fill, you might need to increase it
# if your account has many positions
jitCULimit: 800000