Skip to content

Commit b737cdc

Browse files
authored
Fix aggregate confidence interval (#51)
* Fix aggregate confidence interval * New version
1 parent 89ce4bf commit b737cdc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ignore_missing_imports = true
44

55
[tool.poetry]
66
name = "pyth-observer"
7-
version = "0.1.5"
7+
version = "0.1.6"
88
description = "Alerts and stuff"
99
authors = []
1010
readme = "README.md"

pyth_observer/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ async def run(self):
135135
symbol=product.attrs["symbol"],
136136
public_key=component.publisher_key,
137137
confidence_interval=component.latest_price_info.confidence_interval,
138-
confidence_interval_aggregate=component.last_aggregate_price_info.confidence_interval,
138+
confidence_interval_aggregate=price_account.aggregate_price_info.confidence_interval,
139139
price=component.latest_price_info.price,
140140
price_aggregate=price_account.aggregate_price_info.price,
141141
slot=component.latest_price_info.pub_slot,

0 commit comments

Comments
 (0)