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

Skip null/None closed price when get_price_series #79

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Zhong-z
Copy link

@Zhong-z Zhong-z commented Sep 10, 2023

https://query1.finance.yahoo.com/v8/finance/chart/BGBL.ax

this ticker has closed price null for some dates/timestamps, resulting in TypeError: conversion from NoneType to Decimal is not supported when pulling the price.

Added if price in the list comprehension to skip null prices.
Also fixed lint complains

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.

1 participant