Skip to content

Commit

Permalink
Refactored to use typed classes and explicit fields rather than raw d…
Browse files Browse the repository at this point in the history
…ictionaries.
  • Loading branch information
justinpolygon committed Jan 9, 2025
1 parent 37c81b6 commit 31a36f3
Show file tree
Hide file tree
Showing 2 changed files with 431 additions and 268 deletions.
7 changes: 7 additions & 0 deletions examples/rest/stocks-stock_financials.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,11 @@
financials = []
for f in client.vx.list_stock_financials("AAPL", filing_date="2024-11-01"):
financials.append(f)

# get diluted_earnings_per_share
# print(f.financials.income_statement.diluted_earnings_per_share)

# get net_income_loss
# print(f.financials.income_statement.net_income_loss)

print(financials)
Loading

0 comments on commit 31a36f3

Please sign in to comment.