Skip to content

Extend reporting values #6

@saschb2b

Description

@saschb2b

The current reporting fetches the total amount of USDT in the balances and the current BTC price.
For better tracking we need more values that could be sent.

  • Array of coins bought (name, market, price, quantity)
  • Array of coins sold (name, market, price, quantity)
    e.g.
[
{
  symbol: "BTC-USDT",
  direction: "SELL",
  amount: "0.01",
  price: "40.000"
}
]
  • Earned revenue in USDT e.g. revenue: "7.36"

The problem I see with these metrics is, that we don't know if we actually sold it YET.
We only know we've made an order and hope it goes through. But it should be fine for the first iteration.

Introducing a ReportMetric type would be a good idea

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions