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

sell fill timestamp incorrect #262

Open
dfelton opened this issue Jun 27, 2023 · 0 comments
Open

sell fill timestamp incorrect #262

dfelton opened this issue Jun 27, 2023 · 0 comments

Comments

@dfelton
Copy link
Owner

dfelton commented Jun 27, 2023

trade_repeater_archive.sell_fill_timestamp seems to occasionally get incorrect values. Observed this column getting populated with the 2nd to last transaction of an order in it's corresponding trade_history_* table.

Suspect that the job responsible for filling this column is sometimes running into a race condition with the trade-history:logger job it needs for the data.

A more reliable approach would be if the repeater:archiver:fill-time job were to query the exchange for the order status, have the exchange include transactions in it's response back (a feature added to Gemini's API since this aspect of the kobens-gemini app was written), and use this information rather than relying on our history table to be up to date.

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