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

feat: fetch discrete orders for conditional order of generator type #144

Open
mfw78 opened this issue Aug 16, 2023 · 0 comments
Open

feat: fetch discrete orders for conditional order of generator type #144

mfw78 opened this issue Aug 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mfw78
Copy link
Contributor

mfw78 commented Aug 16, 2023

Problem

Some conditional orders, such as TWAP, are known as "generator" types in ComposableCoW lingo. That is, they are a conditional order that produces a known set of discrete orders. User interfaces that want to track discrete order settlement effectively have to reproduce the TWAP logic to generate these discrete orders for monitoring.

Solution

Define an abstract discreteOrders function that all generator conditional order types implement.

@mfw78 mfw78 added the enhancement New feature or request label Aug 16, 2023
@mfw78 mfw78 mentioned this issue Aug 16, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant