Skip to content

Commit

Permalink
frank/0.7.41 (#146)
Browse files Browse the repository at this point in the history
* remove debug prints

* fix
  • Loading branch information
soundsonacid committed Mar 15, 2024
1 parent 541ca84 commit de671e6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.7.40
current_version = 0.7.41
commit = True
tag = True
tag_name = {new_version}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "driftpy"
version = "0.7.40"
version = "0.7.41"
description = "A Python client for the Drift DEX"
authors = ["x19 <https://twitter.com/0xNineteen@gmail.com>", "bigz <https://twitter.com/bigz_pubkey>", "frank <https://twitter.com/soundsonacid>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/driftpy/__init__.py
@@ -1 +1 @@
__version__ = "0.7.40"
__version__ = "0.7.41"
4 changes: 0 additions & 4 deletions src/driftpy/math/oracles.py
Expand Up @@ -104,12 +104,8 @@ def is_oracle_valid(

is_oracle_price_too_volatile = lhs or rhs

print(market.contract_tier)
max_confidence_multiplier = get_max_confidence_interval_multiplier(market)

print(oracle_guard_rails.validity.confidence_interval_max_size)
print(max_confidence_multiplier)

is_confidence_too_large = (
(max(1, oracle_price_data.confidence) * BID_ASK_SPREAD_PRECISION)
// oracle_price_data.price
Expand Down

0 comments on commit de671e6

Please sign in to comment.