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

order.cleared_order is None for replaced orders #620

Open
poklius opened this issue Oct 23, 2022 · 0 comments
Open

order.cleared_order is None for replaced orders #620

poklius opened this issue Oct 23, 2022 · 0 comments

Comments

@poklius
Copy link

poklius commented Oct 23, 2022

order.cleared_order object doesn't get updated for replaced orders, when replacing with market.replace_order()
In screenshot you can see my partially matched original bet that gets replaced at lower price. order.cleared_order.profit is all wrong and order.cleared_order for a new bet is None

bets

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

No branches or pull requests

1 participant