Koinly does not recognize complex trades on DeX involving multiple contracts (e.g. with 1inch) as being trades.
So it misses a lot of trades, and the result is incorrect capital gain/loss calculations 
One example of trade that is not recognized as a trade: https://etherscan.io/tx/0x37214671c178233261acc057cc61a05672cfa2b91c5e7ee35a2867ee9f30a4a9
(Trade OCEAN to OGN with 1inch)