This code in PHP is for import the data from Trade History of binance in Excel to My Sql.
This is what Binance give to you on an export file, but you cant know how much ins dollar do you spend on fees. 2021-11-30 20:34:35; HIVE/BUSD; Buy ; 2.666 ; 76 ; 0 ; BNB ; 202.616 BUSD
So e made the code to import anda search the price o fee in the coin at teh time of trade.