Skip to content

lvzzzx/YieldAnalysis

This branch is up to date with xben12/YieldAnalysis:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Ben Liu
Jan 15, 2024
9a63cd3 · Jan 15, 2024

History

10 Commits
Jan 15, 2024
Dec 18, 2023
Dec 27, 2023
Dec 27, 2023
Dec 27, 2023
Dec 27, 2023
Jan 15, 2024
Dec 27, 2023
Jan 15, 2024
Jan 15, 2024
Jan 15, 2024
Jan 15, 2024

Repository files navigation

how to run it

  • poetry install
  • 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:

Code:

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%