jorgerance / asset-track

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Asset Tracking

Track your asset in BSC.

Install dependencies by pip3

pip3 install rich web3 requests

Use the following to show assets in BSC.

python3 portfolio.py 'example_account'

Add --save to make a checkpont.

python3 portfolio.py 'example_account' --save

Each single asset can have a list of yield farming strategies. And each strategy contains at most three fields:

  • type is the type of this strategy, which is one of stake, loan or lend.
  • yield is the original protocol where you stake/supply/borrow the token.
  • optimizer is the protocol where you put the yield protocol's token, such as Autofarm and Beefy. This is optional.

See accounts/example_account.json for more details.

Supported Protocols

TODO:

  • add more protocols
  • add liquidity pool
  • add ETH
  • add CFX

About


Languages

Language:Python 100.0%