-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
luizakp
commented
Mar 11, 2024
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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") { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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