Skip to content

fallback to twelvedata api on zero price and skip publishing zero quotes - #37

Merged
jppade merged 1 commit into
masterfrom
fix_zero_price_issue
Jul 17, 2026
Merged

fallback to twelvedata api on zero price and skip publishing zero quotes#37
jppade merged 1 commit into
masterfrom
fix_zero_price_issue

Conversation

@syan177

@syan177 syan177 commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

The diadata rwa endpoint returns HTTP 200 with an empty quote for
unknown symbols (e.g. newly added ETFs SGOV/QQQM/ARKK/VWO), so the
twelvedata fallback was never triggered and zero prices were published.

  • trigger the twelvedata fallback also when diadata returns price 0
  • skip publishing a quote if the price is still 0 after fallback
  • demote the fallback log message from warn to debug
Screenshot 2026-07-16 at 7 35 22 PM

@syan177 syan177 self-assigned this Jul 16, 2026
@jppade
jppade merged commit 61f7412 into master Jul 17, 2026
2 checks passed
@jppade
jppade deleted the fix_zero_price_issue branch July 17, 2026 10:01
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.

2 participants