Skip to content

Commit bae0e9d

Browse files
committed
v2.0.2
1 parent 948fbb1 commit bae0e9d

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
recursive-include alpha_homora_v2/abi *
2-
recursive-include alpha_homora_v2/resources *
2+
recursive-include alpha_homora_v2/resources *
3+
include requirements.txt

alpha_homora_v2/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from .position import AvalanchePosition
22

3-
__version__ = "2.0.1"
3+
__version__ = "2.0.2"
44

examples/avalanche/generate_avax_position_report.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from alpha_homora_v2.position import get_avax_positions_by_owner, AvalanchePosition
99

1010

11-
ADDRESS = os.getenv("PUBLIC_WALLET_ADDRESS")
11+
ADDRESS = os.getenv("PUBLIC_WALLET_ADDRESS") # Set your public wallet address
1212
CSV_OUTPUT_FILEPATH = os.path.join(os.path.dirname(__file__), "report.csv") # File will be generated to examples/report.csv
1313

1414

@@ -35,8 +35,8 @@ def build_rows(ahv2_positions: list[AvalanchePosition]):
3535
apys = p.get_current_apy()
3636
farming_apy = apys['farmingAPY']
3737
trading_fee_apy = apys['tradingFeeAPY']
38-
borrow_apy = None # Not yet working
39-
agg_apy = None
38+
borrow_apy = apys['borrowAPY'] # Not yet working
39+
agg_apy = apys['APY']
4040

4141
# Rewards
4242
rewards = p.get_rewards_value()

0 commit comments

Comments
 (0)