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

Fix: Clear trading state on connection reset #52

Open
f3rno opened this issue Feb 25, 2020 · 0 comments
Open

Fix: Clear trading state on connection reset #52

f3rno opened this issue Feb 25, 2020 · 0 comments
Assignees

Comments

@f3rno
Copy link
Owner

f3rno commented Feb 25, 2020

Currently when the connection resets (i.e. due to a DMS change), the open orders/positions/etc are not cleared and instead are updated after reconnection. This leaves invalid state in the UI (orders may have been cancelled) for a short period of time.

Create a new redux action for clearing trading data on disconnect, and fire it appropriately.

@f3rno f3rno self-assigned this Feb 25, 2020
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