-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsample-preprod-maker-bot-config-gens.yaml
93 lines (92 loc) · 2.96 KB
/
sample-preprod-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
# Sample bot configuration for Pre-production testnet.
# 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:
# Maestro API key. Fetching prices from https://docs.gomaestro.org/DefiMarketAPI/mkt-dex-ohlc endpoint requires a paid subscription.
pc_api_key: <<MAESTRO_TOKEN>>
# Resolution parameter of above API call. Note that we take the closing price of latest resolution window.
pc_resolution: 15m
pc_network_id: mainnet
# Supported values of `pc_dex` are `minswap` and `genius-yield`.
# So put either
# pc_dex: minswap
# or
# pc_dex: genius-yield
pc_dex: put either minswap or genius-yield
# Following field (`pc_override`) is not to be provided for Mainnet. It is their when testing market maker bot with dummy tokens.
pc_override:
mpo_pair: ADA-GENS
mpo_commodity_is_first: false
# 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 `tGENS` test token.
ac: c6e65ba7878b2f8ea0ad39287d3e2fd256dc5c4160fc19bdf4c4d87e.7447454e53
# Registered decimal places for the token. As an examples, for `ADA` it is 6 and for `SNEK` it is 0.
precision: 6