Market Insights Hub
At Indian Trade Markets, we provide real-time market indices, stock details, news updates, and investment tools to empower your financial decisions and portfolio management.
Market Insights Delivered
Stay updated with live market indices, gainers, losers, and volume buzzers at your fingertips.
Access detailed stock information, including live prices, charts, and technical indicators for informed decisions.
Utilize our investment tools like portfolio trackers, screeners, and financial calculators for strategic planning.
Market Insights Today
-
Current Market Trends: Analyzing Live Indices and Key Insights
Overview of Live Market Indices In today’s trading environment, keeping track of live market indices like Nifty and Sensex is…
-
Understanding Market Indices: A Guide to Live Updates and Summaries
What are Market Indices? Market indices like Nifty and Sensex play a critical role in tracking stock market performance. They…
Contact Us Today
Support
email@email.com
(123) 123 123
from nsepython import *
# Get Nifty Option Chain data
symbol = “NIFTY”
data = nse_optionchain_scrapper(“nse”, symbol)
# Print basic info
print(f”Expiry Dates Available: {data[‘records’][‘expiryDates’]}”)
print(“\nStrike Prices:”)
# Extract Call and Put data for a specific expiry
expiry_date = data[‘records’][‘expiryDates’][0] # Latest expiry
option_data = data[‘records’][‘data’]
print(f”\nCALL and PUT data for expiry: {expiry_date}\n”)
for item in option_data:
strike = item[‘strikePrice’]
# Call data
if ‘CE’ in item and item[‘CE’][‘expiryDate’] == expiry_date:
ce_data = item[‘CE’]
print(f”CALL – Strike: {strike}, OI: {ce_data[‘openInterest’]}, LTP: {ce_data[‘lastPrice’]}”)
# Put data
if ‘PE’ in item and item[‘PE’][‘expiryDate’] == expiry_date:
pe_data = item[‘PE’]
print(f”PUT – Strike: {strike}, OI: {pe_data[‘openInterest’]}, LTP: {pe_data[‘lastPrice’]}”)