From e632f590358c4943a9290c85d7ac6e26308bb836 Mon Sep 17 00:00:00 2001 From: 0xbigz <83473873+0xbigz@users.noreply.github.com> Date: Thu, 30 Nov 2023 16:22:25 -0500 Subject: [PATCH] driftpy/math/margin.py: add numeric constant imports --- src/driftpy/math/margin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/driftpy/math/margin.py b/src/driftpy/math/margin.py index 11f96120..0caac162 100644 --- a/src/driftpy/math/margin.py +++ b/src/driftpy/math/margin.py @@ -3,6 +3,7 @@ from enum import Enum from driftpy.types import OraclePriceData +from driftpy.constants.numeric_constants import PRICE_TO_QUOTE_PRECISION_RATIO, BASE_PRECISION, SPOT_IMF_PRECISION, SPOT_WEIGHT_PRECISION, MARGIN_PRECISION, AMM_RESERVE_PRECISION def calculate_size_discount_asset_weight(