-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.toml
29 lines (22 loc) · 909 Bytes
/
config.toml
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
[publisher]
# Set it to either 'coin_gecko' or 'pyth_replicator'. You need to provide
# the configuration for the chosen engine as described below.
provider_engine = 'pyth_replicator'
price_update_interval_secs = 1.0
product_update_interval_secs = 60
health_check_port = 8000
# The health check will return a failure status if no price data has been published within the specified time frame.
health_check_threshold_secs = 60
[publisher.pythd]
endpoint = 'ws://127.0.0.1:8910'
# [publisher.coin_gecko]
# update_interval_secs = 15
# confidence_ratio_bps = 10
# [[publisher.coin_gecko.products]]
# symbol = 'Crypto.BTC/USD'
# coin_gecko_id = 'bitcoin'
[publisher.pyth_replicator]
http_endpoint = 'https://api2.pythnet.pyth.network'
ws_endpoint = 'wss://api2.pythnet.pyth.network'
first_mapping = 'AHtgzX45WTKfkPG53L6WYhGEXwQkN1BVknET3sVsLL8J'
program_key = 'FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH'