这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ZIMkaRU
Copy link
Member

@ZIMkaRU ZIMkaRU commented Jun 28, 2024

This PR fixes pub-trade price lookup for the trx tax report


The issue is the following:

  • eg user can have transactions with LNX ccy, but public trades endpoint does not provide price for it
  • as a workaround, we can use ccy synonymous with conversion
  • eg for LNX price is BTC = 1

Screenshot from 2024-06-28 13-36-43


Basic changes:

  • Improve PubTradeFindForTrxTaxError error log
  • Fixes pub-trade price lookup for trx tax report
  • Add pair separator if ccy length is more than 3

Copy link
Contributor

@ezewer ezewer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants