Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

NULL value in match_order_id #30

Open
hlford opened this issue Jul 19, 2022 · 0 comments
Open

NULL value in match_order_id #30

hlford opened this issue Jul 19, 2022 · 0 comments

Comments

@hlford
Copy link

hlford commented Jul 19, 2022

I noticed the bot forgot to update match_order_id in the order table. I'm trying to figure out how to add some maintenance function in the bot to let it populate the match_order_id from current_order_id from pair table when it detects the match_order_id is blank...

Once in a while, the stop loss is putting a the buy match_order_id in sell match_order_id during cancel sell but the bot didn't notice it forgot to submit the order, which caused the match_order_id different from the order.id.

I was able to copy and paste the id into match_order_id manually to get the bot to stop screaming about orders not found. There's a lot of manual update on the database by hand because I can't seem to find the codes to fix the bott so it won't have mismatch id or NULL id.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant