Skip to content

Conversation

@varex83
Copy link
Contributor

@varex83 varex83 commented Jul 23, 2025

Closes #376

@varex83 varex83 requested review from a team as code owners July 23, 2025 17:12
@vercel
Copy link

vercel bot commented Jul 23, 2025

@varex83 is attempting to deploy a commit to the dYdX Trading Team on Vercel.

A member of the Team first needs to authorize it.

- `FILLED`
- `CANCELED`
- `BEST_EFFORT_CANCELED`
- `BEST_EFFORT_OPENED`
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be in oder_status enum. I have created a separate PR: #379

Copy link
Contributor

Choose a reason for hiding this comment

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

is api_order_status enum even used anywhere? If not, i think we can close this pr? @varex83

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is references ApiOrderStatus, which is located here in Rust, it contains two variants OrderStatus and BestEffortOpenedStatus, so that's why it should be here. But I think we should re-think or documentation or Rust implementation, since OrderStatus enum has BestEffortCanceled field, which, I believe, should be part of BestEffortOpenedStatus

Copy link
Contributor

Choose a reason for hiding this comment

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

I see, so in that case, let's merge this one first, as it reflects whats in the rust client. We can revise this if we decide to revise the rust implementation?

Copy link
Contributor

Choose a reason for hiding this comment

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

@varex83 what do you think? seems also now we have some conflicts

@vercel
Copy link

vercel bot commented Aug 14, 2025

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

Project Deployment Preview Comments Updated (UTC)
v4-teacher Ready Preview Comment Aug 14, 2025 3:46am
vocs-docs Ready Preview Comment Aug 14, 2025 3:46am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

missing BEST_EFFORT_OPENED order status

3 participants