Skip to content

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