"Wallet Profit and Loss Script" to evaluate Binance Smart Chain wallets for profitability. The script should extract all the relevant transactions (only buys and sells) and evaluate how much BNB the wallet has made or loss. Basically, I need to know the performance of the trades the wallet performs. The bot must ignore a sell if there is no buy (e.g. if I send a BNB to your wallet, you did not buy the BNB), but if there is a buy and no sell, then the bot uses current BNB price to calculate the profit. If the person buys the BNB but transfers it to someone else, the price of the BNB at the time he transfers out. The bot will also ignore all pairs where BNB is not one of the currency. The output must be a ledger style that shows each token that has been traded in the wallet and the cumulative profit/loss in BNB and all fees associate with the trade. The output must be for the complete history of the wallet. My budget for this is $250. To be written in Python, with output in a formatted command line interface and log for easy reading.