It can only be taken if you are a trader and you do it for living.otherwise it will be a loss which you will be able to take forward/balance against your next return if you make profits next year.