You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the subgraph, price updates for funds can have different sources: the priceUpdate event, trading events, and investment events. However, we currently don't track the source of the price update in the melon subgraph.
I have deployed a short term fix to the frontend, which does the following:
the share price change shown is still the price change between the last two price updates (of any kind, because we currently have no way of telling where a price update comes from)
the share price change is not extrapolated to a daily value to prevent spikes when trades happen in quick succession (the regular price update happens quite regular now, almost daily, so that's still fine).
I am also adding a tracking field to the price update data in the melon subgraph, so that we know what the source of each price update is, and that we can change the share price change function to the daily price update changes.
Daily price change at time N should only be calculated with share price at N-1 price update and share price at N price update
The text was updated successfully, but these errors were encountered: