Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate frontend with new stoploss contract #63

Merged

Conversation

yvesfracari
Copy link
Contributor

@yvesfracari yvesfracari commented Jul 19, 2024

Integrate order creation

  • Valid to parameter with max validity of 6 months

Integrate new ponder api

  • Remove calls to cow orderbook api

Copy link

linear bot commented Jul 19, 2024

Copy link

vercel bot commented Jul 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
composable-cow-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2024 1:08pm
composable-cow-hub-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2024 1:08pm

@yvesfracari yvesfracari changed the title Pedro/cow 325 integrate validto parameter on frontend Integrate frontend with new stoploss contract Jul 22, 2024
MAX_TIME_SINCE_LAST_ORACLE_UPDATE = "The maximum time since the last oracle update. If the oracle has not been updated in this time, the order will not be executed.",
TYPE = "The order can be fill or kill (entire order must be filled) or partial fill (part of the order can be filled respecting the limit price).",
VALID_TO = "The date and time at which the order will expire if not filled.",
VALID_TO_INPUT = "The time at which the order can be filled. After this time, the order will expire. This not take into account the transaction signing time.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
VALID_TO_INPUT = "The time at which the order can be filled. After this time, the order will expire. This not take into account the transaction signing time.",
VALID_TO_INPUT = "The absolute date and time before which the order can be filled. After this time, the order will expire.",

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually this input is a select with time periods (6 months, 1 month, etc). Think that your suggestion would be better for a exact time. What you say about

How long the order will be valid and can be filled starting now. After this, the order will expire.

@yvesfracari yvesfracari marked this pull request as ready for review July 23, 2024 12:26
@yvesfracari yvesfracari merged commit 522f068 into main Jul 23, 2024
4 of 5 checks passed
@yvesfracari yvesfracari deleted the pedro/cow-325-integrate-validto-parameter-on-frontend branch July 23, 2024 13:11
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