summaryrefslogtreecommitdiffstats
path: root/examples/findSymbols.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'examples/findSymbols.ipynb')
-rw-r--r--examples/findSymbols.ipynb1180
1 files changed, 25 insertions, 1155 deletions
diff --git a/examples/findSymbols.ipynb b/examples/findSymbols.ipynb
index 1a4eeb196fd..3e26d5896de 100644
--- a/examples/findSymbols.ipynb
+++ b/examples/findSymbols.ipynb
@@ -16,7 +16,7 @@
},
{
"cell_type": "code",
- "execution_count": 1,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
@@ -40,20 +40,9 @@
},
{
"cell_type": "code",
- "execution_count": 2,
+ "execution_count": null,
"metadata": {},
- "outputs": [
- {
- "data": {
- "text/plain": [
- "10840"
- ]
- },
- "execution_count": 2,
- "metadata": {},
- "output_type": "execute_result"
- }
- ],
+ "outputs": [],
"source": [
"all_companies = obb.equity.search(\"\", provider=\"sec\")\n",
"\n",
@@ -69,119 +58,9 @@
},
{
"cell_type": "code",
- "execution_count": 3,
+ "execution_count": null,
"metadata": {},
- "outputs": [
- {
- "data": {
- "text/html": [
- "<div>\n",
- "<style scoped>\n",
- " .dataframe tbody tr th:only-of-type {\n",
- " vertical-align: middle;\n",
- " }\n",
- "\n",
- " .dataframe tbody tr th {\n",
- " vertical-align: top;\n",
- " }\n",
- "\n",
- " .dataframe thead th {\n",
- " text-align: right;\n",
- " }\n",
- "</style>\n",
- "<table border=\"1\" class=\"dataframe\">\n",
- " <thead>\n",
- " <tr style=\"text-align: right;\">\n",
- " <th></th>\n",
- " <th>symbol</th>\n",
- " <th>name</th>\n",
- " <th>cik</th>\n",
- " </tr>\n",
- " </thead>\n",
- " <tbody>\n",
- " <tr>\n",
- " <th>0</th>\n",
- " <td>AAPL</td>\n",
- " <td>Apple Inc.</td>\n",
- " <td>320193</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>1</th>\n",
- " <td>MSFT</td>\n",
- " <td>MICROSOFT CORP</td>\n",
- " <td>789019</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>2</th>\n",
- " <td>GOOGL</td>\n",
- " <td>Alphabet Inc.</td>\n",
- " <td>1652044</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>3</th>\n",
- " <td>AMZN</td>\n",
- " <td>AMAZON COM INC</td>\n",
- " <td>1018724</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>4</th>\n",
- " <td>NVDA</td>\n",
- " <td>NVIDIA CORP</td>\n",
- " <td>1045810</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>5</th>\n",
- " <td>META</td>\n",
- " <td>Meta Platforms, Inc.</td>\n",
- " <td>1326801</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>6</th>\n",
- " <td>BRK-B</td>\n",
- " <td>BERKSHIRE HATHAWAY INC</td>\n",
- " <td>1067983</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>7</th>\n",
- " <td>TSLA</td>\n",
- " <td>Tesla, Inc.</td>\n",
- " <td>1318605</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>8</th>\n",
- " <td>LLY</td>\n",
- " <td>ELI LILLY &amp; Co</td>\n",
- " <td>59478</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>9</th>\n",
- " <td>V</td>\n",
- " <td>VISA INC.</td>\n",
- " <td>1403161</td>\n",
- " </tr>\n",
- " </tbody>\n",
- "</table>\n",
- "</div>"
- ],
- "text/plain": [
- " symbol name cik\n",
- "0 AAPL Apple Inc. 320193\n",
- "1 MSFT MICROSOFT CORP 789019\n",
- "2 GOOGL Alphabet Inc. 1652044\n",
- "3 AMZN AMAZON COM INC 1018724\n",
- "4 NVDA NVIDIA CORP 1045810\n",
- "5 META Meta Platforms, Inc. 1326801\n",
- "6 BRK-B BERKSHIRE HATHAWAY INC 1067983\n",
- "7 TSLA Tesla, Inc. 1318605\n",
- "8 LLY ELI LILLY & Co 59478\n",
- "9 V VISA INC. 1403161"
- ]
- },
- "execution_count": 3,
- "metadata": {},
- "output_type": "execute_result"
- }
- ],
+ "outputs": [],
"source": [
"all_companies.to_df().head(10)\n"
]
@@ -197,96 +76,9 @@
},
{
"cell_type": "code",
- "execution_count": 4,
+ "execution_count": null,
"metadata": {},
- "outputs": [
- {
- "data": {
- "text/html": [
- "<div>\n",
- "<style scoped>\n",
- " .dataframe tbody tr th:only-of-type {\n",
- " vertical-align: middle;\n",
- " }\n",
- "\n",
- " .dataframe tbody tr th {\n",
- " vertical-align: top;\n",
- " }\n",
- "\n",
- " .dataframe thead th {\n",
- " text-align: right;\n",
- " }\n",
- "</style>\n",
- "<table border=\"1\" class=\"dataframe\">\n",
- " <thead>\n",
- " <tr style=\"text-align: right;\">\n",
- " <th></th>\n",
- " <th>name</th>\n",
- " <th>cik</th>\n",
- " </tr>\n",
- " </thead>\n",
- " <tbody>\n",
- " <tr>\n",
- " <th>0</th>\n",
- " <td>BERKSHIRE HATHAWAY ENERGY CO</td>\n",
- " <td>0001081316</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>1</th>\n",
- " <td>BERKSHIRE HATHAWAY FINANCE CORP</td>\n",
- " <td>0001274791</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>2</th>\n",
- " <td>BERKSHIRE HATHAWAY HOMESTATE INSURANCE CO.</td>\n",
- " <td>0000829771</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>3</th>\n",
- " <td>BERKSHIRE HATHAWAY INC /DE/</td>\n",
- " <td>0000109694</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>4</th>\n",
- " <td>BERKSHIRE HATHAWAY INC/DE</td>\n",
- " <td>0000109694</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>5</th>\n",
- " <td>BERKSHIRE HATHAWAY INC</td>\n",
- " <td>0001067983</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>6</th>\n",
- " <td>BERKSHIRE HATHAWAY LIFE INSURANCE CO OF NEBRASKA</td>\n",
- " <td>0001015867</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>7</th>\n",
- " <td>LMZ &amp; BERKSHIRE HATHAWAY CO</td>\n",
- " <td>0001652795</td>\n",
- " </tr>\n",
- " </tbody>\n",
- "</table>\n",
- "</div>"
- ],
- "text/plain": [
- " name cik\n",
- "0 BERKSHIRE HATHAWAY ENERGY CO 0001081316\n",
- "1 BERKSHIRE HATHAWAY FINANCE CORP 0001274791\n",
- "2 BERKSHIRE HATHAWAY HOMESTATE INSURANCE CO. 0000829771\n",
- "3 BERKSHIRE HATHAWAY INC /DE/ 0000109694\n",
- "4 BERKSHIRE HATHAWAY INC/DE 0000109694\n",
- "5 BERKSHIRE HATHAWAY INC 0001067983\n",
- "6 BERKSHIRE HATHAWAY LIFE INSURANCE CO OF NEBRASKA 0001015867\n",
- "7 LMZ & BERKSHIRE HATHAWAY CO 0001652795"
- ]
- },
- "execution_count": 4,
- "metadata": {},
- "output_type": "execute_result"
- }
- ],
+ "outputs": [],
"source": [
"instututions = obb.regulators.sec.institutions_search(\"Berkshire Hathaway\").to_df()\n",
"instututions\n"
@@ -303,36 +95,9 @@
},
{
"cell_type": "code",
- "execution_count": 11,
+ "execution_count": null,
"metadata": {},
- "outputs": [
- {
- "data": {
- "text/plain": [
- "type 13F-NT\n",
- "link https://www.sec.gov/Archives/edgar/data/000082...\n",
- "report_date 2023-09-30\n",
- "accepted_date 2023-11-14 16:15:06+00:00\n",
- "act 34\n",
- "items \n",
- "primary_doc_description \n",
- "primary_doc xslForm13F_X02/primary_doc.xml\n",
- "accession_number 0000950123-23-010929\n",
- "file_number 028-02226\n",
- "film_number 231406391\n",
- "is_inline_xbrl 0\n",
- "is_xbrl 0\n",
- "size 2960\n",
- "complete_submission_url https://www.sec.gov/Archives/edgar/data/000082...\n",
- "filing_detail_url https://www.sec.gov/Archives/edgar/data/000082...\n",
- "Name: 2023-11-14 00:00:00, dtype: object"
- ]
- },
- "execution_count": 11,
- "metadata": {},
- "output_type": "execute_result"
- }
- ],
+ "outputs": [],
"source": [
"homestate_filings = obb.equity.fundamental.filings(cik=\"0000829771\", provider=\"sec\")\n",
"\n",
@@ -348,36 +113,9 @@
},
{
"cell_type": "code",
- "execution_count": 13,
+ "execution_count": null,
"metadata": {},
- "outputs": [
- {
- "data": {
- "text/plain": [
- "type 4\n",
- "link https://www.sec.gov/Archives/edgar/data/000032...\n",
- "report_date 2023-11-10\n",
- "accepted_date 2023-11-14 18:31:09+00:00\n",
- "act \n",
- "items \n",
- "primary_doc_description FORM 4\n",
- "primary_doc xslF345X05/wk-form4_1700004649.xml\n",
- "accession_number 0000320193-23-000109\n",
- "file_number \n",
- "film_number \n",
- "is_inline_xbrl 0\n",
- "is_xbrl 0\n",
- "size 5066\n",
- "complete_submission_url https://www.sec.gov/Archives/edgar/data/000032...\n",
- "filing_detail_url https://www.sec.gov/Archives/edgar/data/000032...\n",
- "Name: 2023-11-14 00:00:00, dtype: object"
- ]
- },
- "execution_count": 13,
- "metadata": {},
- "output_type": "execute_result"
- }
- ],
+ "outputs": [],
"source": [
"aapl_filings = obb.equity.fundamental.filings(\"AAPL\", type=\"4\", provider=\"sec\")\n",
"\n",
@@ -397,180 +135,9 @@
},
{
"cell_type": "code",
- "execution_count": 16,
+ "execution_count": null,
"metadata": {},
- "outputs": [
- {
- "data": {
- "text/plain": [
- "1822"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "data": {
- "text/html": [
- "<div>\n",
- "<style scoped>\n",
- " .dataframe tbody tr th:only-of-type {\n",
- " vertical-align: middle;\n",
- " }\n",
- "\n",
- " .dataframe tbody tr th {\n",
- " vertical-align: top;\n",
- " }\n",
- "\n",
- " .dataframe thead th {\n",
- " text-align: right;\n",
- " }\n",
- "</style>\n",
- "<table border=\"1\" class=\"dataframe\">\n",
- " <thead>\n",
- " <tr style=\"text-align: right;\">\n",
- " <th></th>\n",
- " <th>symbol</th>\n",
- " <th>name</th>\n",
- " <th>market_cap</th>\n",
- " <th>sector</th>\n",
- " <th>industry</th>\n",
- " <th>beta</th>\n",
- " <th>price</th>\n",
- " <th>last_annual_dividend</th>\n",
- " <th>volume</th>\n",
- " <th>exchange</th>\n",
- " <th>exchange_name</th>\n",
- " <th>country</th>\n",
- " <th>is_etf</th>\n",
- " <th>actively_trading</th>\n",
- " </tr>\n",
- " </thead>\n",
- " <tbody>\n",
- " <tr>\n",
- " <th>0</th>\n",
- " <td>RELIANCE.NS</td>\n",
- " <td>Reliance Industries Limited</td>\n",
- " <td>15895961017165</td>\n",
- " <td>Energy</td>\n",
- " <td>Oil &amp; Gas Refining &amp; Marketing</td>\n",
- " <td>0.721409</td>\n",
- " <td>2349.35</td>\n",
- " <td>9</td>\n",
- " <td>2244671</td>\n",
- " <td>NSE</td>\n",
- " <td>National Stock Exchange of India</td>\n",
- " <td>IN</td>\n",
- " <td>False</td>\n",
- " <td>True</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>1</th>\n",
- " <td>TCS.NS</td>\n",
- " <td>Tata Consultancy Services Limited</td>\n",
- " <td>12878392323686</td>\n",
- " <td>Technology</td>\n",
- " <td>Information Technology Services</td>\n",
- " <td>0.528</td>\n",
- " <td>3519.6</td>\n",
- " <td>36</td>\n",
- " <td>1473232</td>\n",
- " <td>NSE</td>\n",
- " <td>National Stock Exchange of India</td>\n",
- " <td>IN</td>\n",
- " <td>False</td>\n",
- " <td>True</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>2</th>\n",
- " <td>HDFCBANK.NS</td>\n",
- " <td>HDFC Bank Limited</td>\n",
- " <td>11345550050918</td>\n",
- " <td>Financial Services</td>\n",
- " <td>Banks—Regional</td>\n",
- " <td>0.714285</td>\n",
- " <td>1505.2</td>\n",
- " <td>19</td>\n",
- " <td>9665132</td>\n",
- " <td>NSE</td>\n",
- " <td>National Stock Exchange of India</td>\n",
- " <td>IN</td>\n",
- " <td>False</td>\n",
- " <td>True</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>3</th>\n",
- " <td>ICICIBANK.NS</td>\n",
- " <td>ICICI Bank Limited</td>\n",
- " <td>6456176076595</td>\n",
- " <td>Financial Services</td>\n",
- " <td>Banks—Regional</td>\n",
- " <td>0.808</td>\n",
- " <td>921.45</td>\n",
- " <td>8</td>\n",
- " <td>10561389</td>\n",
- " <td>NSE</td>\n",
- " <td>National Stock Exchange of India</td>\n",
- " <td>IN</td>\n",
- " <td>False</td>\n",
- " <td>True</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>4</th>\n",
- " <td>INFY.NS</td>\n",
- " <td>Infosys Limited</td>\n",
- " <td>5945857635942</td>\n",
- " <td>Technology</td>\n",
- " <td>Information Technology Services</td>\n",
- " <td>0.596</td>\n",
- " <td>1436.6</td>\n",
- " <td>36</td>\n",
- " <td>3584088</td>\n",
- " <td>NSE</td>\n",
- " <td>National Stock Exchange of India</td>\n",
- " <td>IN</td>\n",
- " <td>False</td>\n",
- " <td>True</td>\n",
- " </tr>\n",
- " </tbody>\n",
- "</table>\n",
- "</div>"
- ],
- "text/plain": [
- " symbol name market_cap \\\n",
- "0 RELIANCE.NS Reliance Industries Limited 15895961017165 \n",
- "1 TCS.NS Tata Consultancy Services Limited 12878392323686 \n",
- "2 HDFCBANK.NS HDFC Bank Limited 11345550050918 \n",
- "3 ICICIBANK.NS ICICI Bank Limited 6456176076595 \n",
- "4 INFY.NS Infosys Limited 5945857635942 \n",
- "\n",
- " sector industry beta price \\\n",
- "0 Energy Oil & Gas Refining & Marketing 0.721409 2349.35 \n",
- "1 Technology Information Technology Services 0.528 3519.6 \n",
- "2 Financial Services Banks—Regional 0.714285 1505.2 \n",
- "3 Financial Services Banks—Regional 0.808 921.45 \n",
- "4 Technology Information Technology Services 0.596 1436.6 \n",
- "\n",
- " last_annual_dividend volume exchange exchange_name \\\n",
- "0 9 2244671 NSE National Stock Exchange of India \n",
- "1 36 1473232 NSE National Stock Exchange of India \n",
- "2 19 9665132 NSE National Stock Exchange of India \n",
- "3 8 10561389 NSE National Stock Exchange of India \n",
- "4 36 3584088 NSE National Stock Exchange of India \n",
- "\n",
- " country is_etf actively_trading \n",
- "0 IN False True \n",
- "1 IN False True \n",
- "2 IN False True \n",
- "3 IN False True \n",
- "4 IN False True "
- ]
- },
- "execution_count": 16,
- "metadata": {},
- "output_type": "execute_result"
- }
- ],
+ "outputs": [],
"source": [
"results = obb.equity.screener(country=\"IN\", provider=\"fmp\").to_df()\n",
"display(len(results))\n",
@@ -586,180 +153,9 @@
},
{
"cell_type": "code",
- "execution_count": 17,
+ "execution_count": null,
"metadata": {},
- "outputs": [
- {
- "data": {
- "text/plain": [
- "190"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "data": {
- "text/html": [
- "<div>\n",
- "<style scoped>\n",
- " .dataframe tbody tr th:only-of-type {\n",
- " vertical-align: middle;\n",
- " }\n",
- "\n",
- " .dataframe tbody tr th {\n",
- " vertical-align: top;\n",
- " }\n",
- "\n",
- " .dataframe thead th {\n",
- " text-align: right;\n",
- " }\n",
- "</style>\n",
- "<table border=\"1\" class=\"dataframe\">\n",
- " <thead>\n",
- " <tr style=\"text-align: right;\">\n",
- " <th></th>\n",
- " <th>symbol</th>\n",
- " <th>name</th>\n",
- " <th>market_cap</th>\n",
- " <th>sector</th>\n",
- " <th>industry</th>\n",
- " <th>beta</th>\n",
- " <th>price</th>\n",
- " <th>last_annual_dividend</th>\n",
- " <th>volume</th>\n",
- " <th>exchange</th>\n",
- " <th>exchange_name</th>\n",
- " <th>country</th>\n",
- " <th>is_etf</th>\n",
- " <th>actively_trading</th>\n",
- " </tr>\n",
- " </thead>\n",
- " <tbody>\n",
- " <tr>\n",
- " <th>0</th>\n",
- " <td>HDFCBANK.NS</td>\n",
- " <td>HDFC Bank Limited</td>\n",
- " <td>11345550050918</td>\n",
- " <td>Financial Services</td>\n",
- " <td>Banks—Regional</td>\n",
- " <td>0.714285</td>\n",
- " <td>1505.2</td>\n",
- " <td>19.0</td>\n",
- " <td>9665132</td>\n",
- " <td>NSE</td>\n",
- " <td>National Stock Exchange of India</td>\n",
- " <td>IN</td>\n",
- " <td>False</td>\n",
- " <td>True</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>1</th>\n",
- " <td>ICICIBANK.NS</td>\n",
- " <td>ICICI Bank Limited</td>\n",
- " <td>6456176076595</td>\n",
- " <td>Financial Services</td>\n",
- " <td>Banks—Regional</td>\n",
- " <td>0.808</td>\n",
- " <td>921.45</td>\n",
- " <td>8.0</td>\n",
- " <td>10561389</td>\n",
- " <td>NSE</td>\n",
- " <td>National Stock Exchange of India</td>\n",
- " <td>IN</td>\n",
- " <td>False</td>\n",
- " <td>True</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>2</th>\n",
- " <td>SBIN.NS</td>\n",
- " <td>State Bank of India</td>\n",
- " <td>5031248625920</td>\n",
- " <td>Financial Services</td>\n",
- " <td>Banks—Regional</td>\n",
- " <td>0.74</td>\n",
- " <td>563.75</td>\n",
- " <td>11.3</td>\n",
- " <td>12710950</td>\n",
- " <td>NSE</td>\n",
- " <td>National Stock Exchange of India</td>\n",
- " <td>IN</td>\n",
- " <td>False</td>\n",
- " <td>True</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>3</th>\n",
- " <td>BAJFINANCE.NS</td>\n",
- " <td>Bajaj Finance Limited</td>\n",
- " <td>4282998873754</td>\n",
- " <td>Financial Services</td>\n",
- " <td>Credit Services</td>\n",
- " <td>0.947</td>\n",
- " <td>7068.6</td>\n",
- " <td>30.0</td>\n",
- " <td>1901753</td>\n",
- " <td>NSE</td>\n",
- " <td>National Stock Exchange of India</td>\n",
- " <td>IN</td>\n",
- " <td>False</td>\n",
- " <td>True</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>4</th>\n",
- " <td>LICI.NS</td>\n",
- " <td>Life Insurance Corporation of India</td>\n",
- " <td>3870900117504</td>\n",
- " <td>Financial Services</td>\n",
- " <td>Insurance—Life</td>\n",
- " <td>&lt;NA&gt;</td>\n",
- " <td>612.0</td>\n",
- " <td>3.0</td>\n",
- " <td>500820</td>\n",
- " <td>NSE</td>\n",
- " <td>National Stock Exchange of India</td>\n",
- " <td>IN</td>\n",
- " <td>False</td>\n",
- " <td>True</td>\n",
- " </tr>\n",
- " </tbody>\n",
- "</table>\n",
- "</div>"
- ],
- "text/plain": [
- " symbol name market_cap \\\n",
- "0 HDFCBANK.NS HDFC Bank Limited 11345550050918 \n",
- "1 ICICIBANK.NS ICICI Bank Limited 6456176076595 \n",
- "2 SBIN.NS State Bank of India 5031248625920 \n",
- "3 BAJFINANCE.NS Bajaj Finance Limited 4282998873754 \n",
- "4 LICI.NS Life Insurance Corporation of India 3870900117504 \n",
- "\n",
- " sector industry beta price \\\n",
- "0 Financial Services Banks—Regional 0.714285 1505.2 \n",
- "1 Financial Services Banks—Regional 0.808 921.45 \n",
- "2 Financial Services Banks—Regional 0.74 563.75 \n",
- "3 Financial Services Credit Services 0.947 7068.6 \n",
- "4 Financial Services Insurance—Life <NA> 612.0 \n",
- "\n",
- " last_annual_dividend volume exchange exchange_name \\\n",
- "0 19.0 9665132 NSE National Stock Exchange of India \n",
- "1 8.0 10561389 NSE National Stock Exchange of India \n",
- "2 11.3 12710950 NSE National Stock Exchange of India \n",
- "3 30.0 1901753 NSE National Stock Exchange of India \n",
- "4 3.0 500820 NSE National Stock Exchange of India \n",
- "\n",
- " country is_etf actively_trading \n",
- "0 IN False True \n",
- "1 IN False True \n",
- "2 IN False True \n",
- "3 IN False True \n",
- "4 IN False True "
- ]
- },
- "execution_count": 17,
- "metadata": {},
- "output_type": "execute_result"
- }
- ],
+ "outputs": [],
"source": [
"sector_results = obb.equity.screener(country=\"IN\", sector=\"Financial Services\", provider=\"fmp\").to_df()\n",
"display(len(sector_results))\n",
@@ -775,180 +171,9 @@
},
{
"cell_type": "code",
- "execution_count": 20,
+ "execution_count": null,
"metadata": {},
- "outputs": [
- {
- "data": {
- "text/plain": [
- "119"
- ]
- },
- "metadata": {},
- "output_type": "display_data"
- },
- {
- "data": {
- "text/html": [
- "<div>\n",
- "<style scoped>\n",
- " .dataframe tbody tr th:only-of-type {\n",
- " vertical-align: middle;\n",
- " }\n",
- "\n",
- " .dataframe tbody tr th {\n",
- " vertical-align: top;\n",
- " }\n",
- "\n",
- " .dataframe thead th {\n",
- " text-align: right;\n",
- " }\n",
- "</style>\n",
- "<table border=\"1\" class=\"dataframe\">\n",
- " <thead>\n",
- " <tr style=\"text-align: right;\">\n",
- " <th></th>\n",
- " <th>symbol</th>\n",
- " <th>name</th>\n",
- " <th>market_cap</th>\n",
- " <th>sector</th>\n",
- " <th>industry</th>\n",
- " <th>beta</th>\n",
- " <th>price</th>\n",
- " <th>last_annual_dividend</th>\n",
- " <th>volume</th>\n",
- " <th>exchange</th>\n",
- " <th>exchange_name</th>\n",
- " <th>country</th>\n",
- " <th>is_etf</th>\n",
- " <th>actively_trading</th>\n",
- " </tr>\n",
- " </thead>\n",
- " <tbody>\n",
- " <tr>\n",
- " <th>0</th>\n",
- " <td>PAGEIND.NS</td>\n",
- " <td>Page Industries Limited</td>\n",
- " <td>418555116755</td>\n",
- " <td>Consumer Cyclical</td>\n",
- " <td>Apparel Manufacturing</td>\n",
- " <td>0.462</td>\n",
- " <td>37525.45</td>\n",
- " <td>300.0</td>\n",
- " <td>11199</td>\n",
- " <td>NSE</td>\n",
- " <td>National Stock Exchange of India</td>\n",
- " <td>IN</td>\n",
- " <td>False</td>\n",
- " <td>True</td>\n",
- " </tr>\n",
- " <tr>\n",
- " <th>1</th>\n",
- " <td>KPRMILL.NS</td>\n",
- " <td>K.P.R. Mill Limited</td>\n",
- " <td>284132900800</td>\n",
- " <td>Consumer Cyclical</td>\n",
- " <td>Apparel Manufacturing</td>\n",
- " <td>0.689</td>\n",
- " <td>831.25</td>\n",
- " <td>4.15</td>\n",