Skip to content

Commit

Permalink
ADD Binance operations
Browse files Browse the repository at this point in the history
  • Loading branch information
provinzio committed Dec 14, 2024
1 parent 2c3d495 commit f5e1ded
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/book.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ def _read_binance(self, file_path: Path, version: int = 1) -> None:
"Simple Earn Flexible Airdrop": "Airdrop",
"Airdrop Assets": "Airdrop",
"Crypto Box": "Airdrop",
"Launchpool Airdrop": "Airdrop",
"Megadrop Rewards": "Airdrop",
#
"Savings Interest": "CoinLendInterest",
"Savings purchase": "CoinLend",
Expand Down Expand Up @@ -171,6 +173,7 @@ def _read_binance(self, file_path: Path, version: int = 1) -> None:
"Transaction Revenue": "Buy",
"Transaction Sold": "Sell",
"Transaction Fee": "Fee",
"Asset Recovery": "Sell",
}

with open(file_path, encoding="utf8") as f:
Expand Down

0 comments on commit f5e1ded

Please sign in to comment.