-
Currently, we do the profit calculation based on the current price. Given, that a taker could still collaboratively settle after the attestation we might have to display both possible profit outputs. Potentially show them upon clicking the action. What do you think? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
To answer my own question: There are several dimension to this.
Once we publish a transaction that, once final, put the cfd into a final state the profit should not change anymore, but the profit should be the |
Beta Was this translation helpful? Give feedback.
To answer my own question:
There are several dimension to this.
First, the price alone is not enough, but the price defines the range of the payout curve that defines the profit (as value and percentage).
Second, we have to take certain events happening into account. Initially, the profit is defined by the current price, but once we know what the actual payout will be we have to lock the price (i.e. not let it fluctuate on the current price anymore).
There are several events that can lock the price:
Once we publish a transaction that, once final, put the cfd into a final…