Skip to content

Commit 31a36f3

Browse files
committed
Refactored to use typed classes and explicit fields rather than raw dictionaries.
1 parent 37c81b6 commit 31a36f3

File tree

2 files changed

+431
-268
lines changed

2 files changed

+431
-268
lines changed

examples/rest/stocks-stock_financials.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,11 @@
1010
financials = []
1111
for f in client.vx.list_stock_financials("AAPL", filing_date="2024-11-01"):
1212
financials.append(f)
13+
14+
# get diluted_earnings_per_share
15+
# print(f.financials.income_statement.diluted_earnings_per_share)
16+
17+
# get net_income_loss
18+
# print(f.financials.income_statement.net_income_loss)
19+
1320
print(financials)

0 commit comments

Comments
 (0)