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

Get status from cow API #15

Merged
merged 3 commits into from
Mar 11, 2024
Merged

Conversation

luizakp
Copy link
Contributor

@luizakp luizakp commented Mar 11, 2024

image

@luizakp luizakp requested a review from yvesfracari March 11, 2024 14:29
Copy link

linear bot commented Mar 11, 2024

Copy link

vercel bot commented Mar 11, 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 Mar 11, 2024 5:57pm

return rawOrdersData.orders.items;
const orderData = rawOrdersData.orders.items.map((order) => {
const match = orderFromCowApi.find((cowOrder: CowOrder) => cowOrder.appData === order.stopLossParameters?.appData);
if(match && match.status !== "expired") {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

After a number of orders expired does it get cancelled? @yvesfracari

Copy link
Contributor

Choose a reason for hiding this comment

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

I think not, I think that the watch tower will keep trying to post new orders. But you can also ask on the tech-talk channel of cow discord

@luizakp luizakp mentioned this pull request Mar 11, 2024
Base automatically changed from luiza/cow-187-link-ponder-and-cow-api to main March 11, 2024 17:52
@luizakp luizakp merged commit bc79903 into main Mar 11, 2024
4 checks passed
@ribeirojose ribeirojose deleted the luiza/cow-190-handle-executed-on-ponder branch July 16, 2024 14:50
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