Skip to content

Commit

Permalink
fix: key
Browse files Browse the repository at this point in the history
  • Loading branch information
andoludo committed Nov 28, 2024
1 parent 46893f6 commit 1f7fc6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bearish/sources/alphavantage.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
class AlphaVantageBase(BaseModel):
__source__: str = "AlphaVantage"
fundamentals: ClassVar[FundamentalData] = FundamentalData(
key=os.environ["ALPHAVANTAGE_API_KEY"]
key=os.environ.get("ALPHAVANTAGE_API_KEY")
)
timeseries: ClassVar[TimeSeries] = TimeSeries(
key=os.environ["ALPHAVANTAGE_API_KEY"]
key=os.environ.get("ALPHAVANTAGE_API_KEY")
)


Expand Down

0 comments on commit 1f7fc6d

Please sign in to comment.