-
Notifications
You must be signed in to change notification settings - Fork 0
/
cfg.yaml
86 lines (86 loc) · 3.41 KB
/
cfg.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
rpc_endpoint:
http:
ankr: "https://rpc.ankr.com/moonbeam"
blast: "https://moonbeam.public.blastapi.io"
dwellir: "https://moonbeam-rpc.dwellir.com"
onfinality: "https://moonbeam.api.onfinality.io/public"
pokt: "https://moonbeam-mainnet.gateway.pokt.network/v1/lb/629a2b5650ec8c0039bb30f0"
publicrpc: "https://moonbeam.public-rpc.com"
allthatnode: "https://moonbeam-mainnet-rpc.allthatnode.com:9933"
lan: "http://192.168.0.102:9033"
blast-private: "https://moonbeam.blastapi.io/8bc0b9b2-3ca5-4a46-8e45-bae79244991a"
ws:
blast: "wss://moonbeam.public.blastapi.io"
dwellir: "wss://moonbeam-rpc.dwellir.com"
onfinality: "wss://moonbeam.api.onfinality.io/public-ws"
lan: "ws://192.168.0.102:9044"
blast-private: "wss://moonbeam.blastapi.io/8bc0b9b2-3ca5-4a46-8e45-bae79244991a"
venue:
stellaswap:
token_trading_universe:
- "0x818ec0A7Fe18Ff94269904fCED6AE3DaE6d6dC0b" # USDC multi 100059900
- "0xAcc15dC74880C9944775448304B263D191c6077F" # wGLMR 86170833928555164034
- "0x0E358838ce72d5e61E0018a2ffaC4bEC5F4c88d2" # STELLA 252737768152886094298
- "0x27292cf0016E5dF1d8b37306B2A98588aCbD6fCA" # axlATOM 1608458
- "0xfA9343C3897324496A05fC75abeD6bAC29f8A40f" # ETH_multi 13271113431432677
data_path:
liquid_pairs: "data/stellaswap_liquid_pairs.csv"
contract_address:
factory: "0x68A384D826D3678f78BB9FB1533c7E9577dACc0E"
router: "0x70085a09D30D6f8C4ecF6eE10120d1847383BB57"
token: "0x0E358838ce72d5e61E0018a2ffaC4bEC5F4c88d2"
abi_path:
factory: "abi/stellaswap_factory_abi.json"
router: "abi/stellaswap_router_abi.json"
token: "abi/stellaswap_token_abi.json"
pair: "abi/stellaswap_pair_abi.json"
order_sender:
wallet_address: "0x05a81d8564a3eA298660e34e03E5Eff9a29d7a2A"
should_send_orders: false # sends orders (live trading) if true!
simple_simulate_fills: true # can only be true if should_send_orders == false
max_txn_fee_proportion_of_pnl: 0.5
max_fee_per_gas_gwei: 2000
min_glmr_balance: 2
strategy:
cyclic_arbitrage:
amount_in_lower_bound_usd: 0.01
amount_in_upper_bound_usd: 200 # 10,000 for prod
min_expected_profit_usd: 0.03
acceptable_slippage_rate: 0.5
order_timeout_seconds: 45
binance_alpha:
wglmr_xcdot:
acceptable_slippage_bps: 10
allow_consecutive_same_side_orders: false
allow_opposite_side_order_to_close: false
allowance:
'0xAcc15dC74880C9944775448304B263D191c6077F': 80000000000000000000
'0xFfFFfFff1FcaCBd218EDc0EbA20Fc2308C778080': 80000000000
binance_quote_calculation:
denominator:
price_data_pull_rate_seconds: 2.75
price_exp_smooth_factor: 0.5
symbol: DOTUSDT
type: binance
numerator:
price_data_pull_rate_seconds: 2.75
price_exp_smooth_factor: 0.5
symbol: GLMRUSDT
type: binance
max_our_trade_impact_rate_bps: 15
order_timeout_seconds: 60
pair_address: '0xa927E1e1E044CA1D9fe1854585003477331fE2Af'
risk: 0.9
trigger_close_order:
- alpha_bps: 0
name: combined_price_alpha_growth_target
price_delta_bps: 96
- alpha_bps: 6
name: combined_price_alpha_decay_target
price_delta_bps: 70
- alpha_bps: 0
name: combined_price_alpha_stop_loss
price_delta_bps: -37
trigger_open_order:
alpha_bps: 80
name: price_movement_predictor