# Kraken API showing trading fee as "cost" on separate line item

**URL:** <https://discuss.koinly.io/t/kraken-api-showing-trading-fee-as-cost-on-separate-line-item/850>\
**Category:** Koinly Support\
**Created:** [December 11, 2020, 9:01am UTC](https://discuss.koinly.io/t/kraken-api-showing-trading-fee-as-cost-on-separate-line-item/850 "2020-12-11T09:01:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cheddarsuave](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/cheddarsuave/32/493_2.png) [@cheddarsuave](https://discuss.koinly.io/u/cheddarsuave)\
**Post date:** [December 11, 2020, 9:01am UTC](https://discuss.koinly.io/t/kraken-api-showing-trading-fee-as-cost-on-separate-line-item/850/1 "2020-12-11T09:01:54Z")

</div>

**Describe the problem:**  
I just connected the Kraken API, but it’s showing the fee for a trade as a “cost” on a completely separate line. I tried to manually edit the trade transaction to add that cost as a fee so the cost basis would be correct, but that option is grayed-out for some reason.

How can I fix this fee showing up as a separate line item problem? Thanks.

**Which exchange/wallet is this regarding?**  
Kraken (possibly relevant for others too)

**How did you import data into this wallet?**  
API

**What have you tried to fix this so far?**  
Manually editing the trade transaction to add the fee, but it was impossible (grayed out).

---

<div class="post-metadata">

**Author:** ![koinly](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@koinly](https://discuss.koinly.io/u/koinly)\
**Post date:** [December 17, 2020, 4:49pm UTC](https://discuss.koinly.io/t/kraken-api-showing-trading-fee-as-cost-on-separate-line-item/850/2 "2020-12-17T16:49:31Z")

</div>

Hi, this is how we currently import kraken fees. We will be making some improvements so that the fee is included in the traded amount. The csv option may be an alternative in the meantime.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex052/uploads/koinly_app/original/1X/7ac58e5593a7122893d066794a7254dcdb5ddb31.png) [@system](https://discuss.koinly.io/u/system)\
**Post date:** [February 15, 2021, 4:49pm UTC](https://discuss.koinly.io/t/kraken-api-showing-trading-fee-as-cost-on-separate-line-item/850/3 "2021-02-15T16:49:33Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
