Typically, brokers do not provide the cost of transactions, only sale price.
My code automatically calculates the cost and generates CSV file in the format that can be imported to TaxAct.com. But it does not count wash sale. So it is just for day trader only so far unless you want to modify the code by yourself.