Koinly imports all the operations as buys when the file clearly lists sell operations too.
Developers are notified and will patch up the import.
A workaround would involve a Trades template: