Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions vocs-docs/docs/pages/types/api_order_status.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@

`ApiOrderStatus` is an enum consists of the following values

- `OrderStatus`
- `BestEffort`
- `OPEN`
- `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

- `UNTRIGGERED`
10 changes: 5 additions & 5 deletions vocs-docs/docs/pages/types/order_status.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

`OrderStatus` is an enum consists of the following values

- `Open`
- `Filled`
- `Canceled`
- `BestEffortCanceled`
- `Untriggered`
- `OPEN`
- `FILLED`
- `CANCELED`
- `BEST_EFFORT_CANCELED`
- `UNTRIGGERED`