-
Notifications
You must be signed in to change notification settings - Fork 24
/
stablesats.yml
87 lines (79 loc) · 1.9 KB
/
stablesats.yml
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
## This file documents the defaults:
# db:
# pool_size: 20
# migrate_on_start: true
#
# galoy:
# api: galoy-endpoint
# phone_number: "+0123456"
#
# bria:
# url:
# wallet_name:
# payout_queue_name:
# onchain_address_external_id:
# user_trades:
# enabled: true
# config:
# balance_publish_frequency: 5
# galoy_poll_frequency: 5
#
# hedging:
# enabled: true
# config:
# health:
# unhealthy_msg_interval_liability: 20
# unhealthy_msg_interval_position: 20
# unhealthy_msg_interval_price: 20
# price_server:
# enabled: true
# server:
# listen_port: 3325
# health:
# unhealthy_msg_interval_price: 20
# fees:
# base_fee_rate: 0.0005
# immediate_fee_rate: 0.0005
# delayed_fee_rate: 0.0007
# price_cache:
# stale_after: 30
# okex_price_feed:
# enabled: true
# config:
# url: "wss://ws.okx.com:8443/ws/v5/public"
# bitfinex_price_feed:
# enabled: true
# config:
# url: "wss://api-pub.bitfinex.com/ws/2"
# tracing:
# host: "localhost"
# port: 6831
# service_name: "stablesats-dev"
# exchanges:
# okex:
# weight: 1.0
# config:
# client:
# api_key: okex api
# simulated: false
# poll_frequency: 10
# hedging:
# low_bound_ratio_shorting: 0.98
# low_safebound_ratio_shorting: 1.00
# high_safebound_ratio_shorting: 1.00
# high_bound_ratio_shorting: 1.02
# minimum_liability_threshold_cents: 5000
# funding:
# minimum_transfer_amount_cents: 10000
# minimum_funding_balance_btc: 1.0
# low_bound_ratio_leverage: 2.0
# low_safebound_ratio_leverage: 3.0
# high_safebound_ratio_leverage: 3.0
# high_bound_ratio_leverage: 4.0
# high_bound_buffer_percentage: 0.9
# deposit_lost_timeout_seconds: 3600
# bitfinex:
# weight: 0.0
# config:
# api_key: bitfinex api
# simulated: false