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

feature/dq_delay #483

Merged
merged 10 commits into from
Sep 14, 2022
Merged

feature/dq_delay #483

merged 10 commits into from
Sep 14, 2022

Conversation

Ksteeds
Copy link
Contributor

@Ksteeds Ksteeds commented Sep 13, 2022

Adjustment of conditional statement.

@Ksteeds Ksteeds self-assigned this Sep 13, 2022
@Ksteeds
Copy link
Contributor Author

Ksteeds commented Sep 13, 2022

Believe it was caused when a Ticker was not defined over all metrics. Need to understand why a Ticker was missing one of the requested metrics.

@Ksteeds Ksteeds linked an issue Sep 13, 2022 that may be closed by this pull request
rsueppel
rsueppel previously approved these changes Sep 13, 2022
@Ksteeds
Copy link
Contributor Author

Ksteeds commented Sep 13, 2022

Example: 'DB(JPMAQS,COP_DU05YXR_VT10,value)'.

Tickers missing specific metrics from concurrent requests: ['DB(JPMAQS,COP_DU05YXR_VT10,value)', 'DB(JPMAQS,COP_DU05YXR_VT10,grading)', 'DB(JPMAQS,COP_DU05YXR_VT10,mop_lag)'.

@Ksteeds
Copy link
Contributor Author

Ksteeds commented Sep 13, 2022

Determined the cause of the issue. The key line in api.py is 524: if a series is correctly defined but unavailable ("USD_FXXR_NSA"), DataQuery will return the expression with a None Object. However, on a large request, DataQuery is incorrectly returning None Objects for available series.

@rsueppel rsueppel merged commit c1c78bd into develop Sep 14, 2022
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

Successfully merging this pull request may close these issues.

dataquery api "grading" metric error
3 participants