We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44a3189 commit b849fd6Copy full SHA for b849fd6
1 file changed
alpha_homora_v2/position.py
@@ -159,6 +159,10 @@ def get_debt_ratio(self) -> float:
159
160
return borrow_credit / collateral_credit
161
162
+ def get_current_apy(self) -> float:
163
+ """Return the current APY for the LP"""
164
+ raise NotImplementedError
165
+
166
def get_position_value(self) -> dict:
167
"""
168
Get equity, debt, and total position value in AVAX and USD.
0 commit comments