[StockGainCalculator] Fix new IB format starting on 2017/02
[StockGainCalculator] Fix new IB format starting on 2017/02

Also make sure only process entries for stocks, since the bond symbols
have interest rates attached to the symbols, which messes up inventory
management.

hermantai/beta-programs,hermantai/beta-programs,hermantai/beta-programs