-
Notifications
You must be signed in to change notification settings - Fork 4
/
sample-mainnet-maker-bot-config-gens.yaml
108 lines (107 loc) · 3.63 KB
/
sample-mainnet-maker-bot-config-gens.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
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
# Sample bot configuration for Mainnet.
# Please see README file in project's root for thorough explanation of below fields.
# Wallet configuration.
mbc_user:
# Either load wallet from signing key generated using `cardano-cli` (normal or extended).
ur_s_key_path: path-to-skey
# Or load the wallet from mnemonic seed phrase.
ur_mnemonic:
mnemonic:
- health
- unable
- dog
- lend
- artefact
- arctic
- dinner
- energy
- silent
- wealth
- shock
- safe
- glad
- mail
- gas
- flag
- beauty
- penalty
- mixed
- garbage
- erupt
- wonder
- magnet
- around
# Account index.
acc_ix: 0
# Payment address index.
addr_ix: 0
# Reserved collateral UTxO.
ur_coll: tx-id#tx-ix
# Stake credential to generate for bot's address and to place orders at a mangled address.
ur_stake_address: bech32-encoded-stake-address
# Delay in microseconds after which strategy is reran, below example value means 2 minutes (120 seconds).
mbc_delay: 120000000
# Price provider configuration.
mbc_price_config:
# Prices providers' common configuration parameters.
pc_price_common_cfg:
pcc_network_id: mainnet
# Difference threshold triggering automatic cancelation of open orders, without warning.
pcc_price_diff_threshold1: 0.3
# Difference threshold triggering automatic cancelation of open orders, sending a warning. Should not be smaller than Threshold1.
pcc_price_diff_threshold2: 0.6
# Relaxation time (in cycles) to return to normal after piercing threshold1.
pcc_after_exit_relax_aim1: 4
# Waiting time (in cycles) to start warning after piercing threshold1.
pcc_after_exit_worse_max1: 5
# Relaxation time (in cycles) to return to normal after piercing threshold2.
pcc_after_exit_relax_aim2: 8
# Relative weights in the computation of average price. Example: 50% (maestro) + 50% (taptools).
pcc_prices_providers_weights:
- 50 # Maestro
- 50 # Taptools
# Configuration parameters for each prices provider
pc_prices_provider_cfgs:
- tag: MaestroPPC
contents:
# Maestro API key. Fetching prices from https://docs.gomaestro.org/DefiMarketAPI/mkt-dex-ohlc endpoint requires a paid subscription.
mc_api_key: <<MAESTRO_TOKEN>>
# Maestro resolution
mc_resolution: 5m
mc_dex: minswap
- tag: TaptoolsPPC
contents:
# Taptools API key.
ttc_api_key: <<TAPTOOLS_TOKEN>>
# Please see description following this sample for details regarding `mbc_strategy_config` field.
mbc_strategy_config:
sc_spread:
# Can simple write
# numerator: 1
# denominator: 100
# To specify same spread for both sell and buy side. Or can individually specify for each like done below.
sell_side_spread:
numerator: 2
denominator: 100
buy_side_spread:
numerator: 1
denominator: 100
sc_token_volume:
tv_sell_min_vol: 1000000000
tv_buy_min_vol: 2000000000
tv_sell_budget: 3500000000
tv_buy_budget: 6600000000
tv_sell_vol_threshold: 10000000000
tv_buy_vol_threshold: 20000000000
sc_price_check_product: 9
sc_cancel_threshold_product: 4
sc_preemptive_cancel_spread_ratio:
numerator: 1
denominator: 10
# Token details.
mbc_token:
# Asset class represented as concatenation of currency symbol and asset name with dot separator.
# Below sample is of `GENS` token.
ac: dda5fdb1002f7389b33e036b6afee82a8189becb6cba852e8b79b4fb.0014df1047454e53
# Registered decimal places for the token. As an examples, for `ADA` it is 6 and for `SNEK` it is 0.
precision: 6