Skip to content

Commit 40b3a0a

Browse files
authored
Update README.rst
1 parent 19935e2 commit 40b3a0a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.rst

+13
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,19 @@ Note that, if any *optional* fields are left empty, the API will assign them tod
110110
.. code:: python
111111
112112
portfolio.create_portfolio('<portfolio-name>', '<path-to-csv-file>')
113+
114+
Individual stocks
115+
=====
116+
117+
.. code:: pycon
118+
119+
>>> import finviz
120+
>>> finviz.get_stock('AAPL')
121+
{'Index': 'DJIA S&P500', 'P/E': '12.91', 'EPS (ttm)': '12.15',...
122+
>>> finviz.get_insider('АAPL')
123+
[{'Insider Trading': 'KONDO CHRIS', 'Relationship': 'Principal Accounting Officer', 'Date': 'Nov 19', 'Transaction': 'Sale', 'Cost': '190.00', '#Shares': '3,408', 'Value ($)': '647,520', '#Shares Total': '8,940', 'SEC Form 4': 'Nov 21 06:31 PM'},...
124+
>>> finviz.get_news('AAPL')
125+
[('Chinas Economy Slows to the Weakest Pace Since 2009', 'https://finance.yahoo.com/news/china-economy-slows-weakest-pace- 020040147.html'),...
113126
114127
Downloading charts
115128
=====

0 commit comments

Comments
 (0)