Skip to content

Commit

Permalink
added work on get average yield
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Liu authored and Ben Liu committed Dec 27, 2023
1 parent 6150096 commit 9cd78c0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# how to run it
* poetry install
* poetry run python main.py
* poetry run python main.py (get monthly optimal yield with trading off between capital efficiency and imp loss)
* poetry run python main_avg_yld.py (range to get average yeild)

# detail
methodology explanation can be found in medium article: https://medium.com/@xben12/defi-decode-liquidity-mining-yield-impermanent-loss-and-set-optimal-range-e20c3472d2bb
methodology explanation can be found in medium article:
* https://medium.com/@xben12/defi-decode-liquidity-mining-yield-impermanent-loss-and-set-optimal-range-e20c3472d2bb
*

Code:
* main: main.py
* main: main.py, main_avg_yld.py
* data: use library_data.py. This file will pre save data into csv in the output folder.
* logic (imp loss, range, coverage %): library_logic.py

0 comments on commit 9cd78c0

Please sign in to comment.