gmx-io/gmx-interface

Minimum price change - timestamp for 24 hour expiration

Closed this issue · 5 comments

According to the minimum price change docs, This requirement only lasts for 24 hours after a position is opened or increased.

Can we add the expiration time somewhere in the position table or in the modal that pops up if you want to remove your position before this 24 hours is up but you're still under the 1.5% price change?

Hi @whatl3y

There is a warning in the Modal already. The message only shows if price change is less than 1.5 %. In case you don't see it please tell us
image

@gkrasulya yes, I'm aware there's a warning if you're still in pending profit, but the docs say minimum price change only lasts for 24 hours after position open/change. As a user I want to know how long I am away from the 24 hours expiring in the UI. So a date/time for when the minimum price change expires and I can close my position in profit with less than 1.5% price movement would be great.

Something like the following would be great (see the end of the message)

WARNING: You have a pending profit of +$XXX.XX.
Profit price: $X,XXX.XX. Current movement: 0.11%.
Pending profit expires 2021-10-09 21:00:00 UTC.

ah got it now. sounds reasonable to me, will add it to our task list. thanks for your suggestion

we've implemented this feature