Whatever the cost is a deduction against other share sale profits...of no profits then loss sits in your tax return until you report a share sale profit to offset against the loss