Get Symbols
On this page
How to fetch market symbols
Parameters
Attribute | Type | Requirement | Notes |
---|---|---|---|
filters | dict | Optional | Filter parameters supports following filters - 1) sector - This parameter helps you in filtering out stocks from specific sectors. For example, You can use it to filter out stocks from sectors like - ‘FINANCE’,‘TECHNOLOGY SERVICES’, etc. 2) market_cap_above - This parameter will help you in finding out stocks that are above a certain market cap |
universe | string | Optional | This parameter will help you in selecting any stock that are registered on the NSE |
example :
from quantplay.service import market
market.symbols(
universe="NSE_ALL_STOCKS",
filters={
"sector": "FINANCE",
"market_cap_above": 100 * 10000000
},
)
Here are the possible sector values -
[‘ENERGY MINERALS’, ‘TECHNOLOGY SERVICES’, ‘FINANCE’, ‘COMMERCIAL SERVICES’, ‘CONSUMER NON-DURABLES’, ‘COMMUNICATIONS’, ‘UTILITIES’, ‘PROCESS INDUSTRIES’, ‘DISTRIBUTION SERVICES’, ‘RETAIL TRADE’,‘CONSUMER DURABLES’, ‘INDUSTRIAL SERVICES’,‘HEALTH TECHNOLOGY’, ‘NON-ENERGY MINERALS’, ‘TRANSPORTATION’, ‘PRODUCER MANUFACTURING’, ‘ELECTRONIC TECHNOLOGY’, ‘HEALTH SERVICES’, ‘CONSUMER SERVICES’, ‘MISCELLANEOUS’, ‘GOVERNMENT’]