PINE LIBRARY
Updated DRCID_OptionData

Library "DRCID_OptionData"
get_StrikeData(symbol)
Parameters:
symbol (string)
DRCID_OptionData is a centralized strike configuration library designed for NSE equity and index option symbols.
It provides pre-defined option parameters including:
• Base Strike Reference
• Strike Step Size
• Lot Size
• Upper Strike Reference
• Custom Reference Level
This library is built to standardize option data handling across all DRCID CLUB indicators, dashboards, ATM calculators, and strategy engines.
It allows seamless integration using:
get_StrikeData(symbol)
Parameters:
symbol (string)
DRCID_OptionData is a centralized strike configuration library designed for NSE equity and index option symbols.
It provides pre-defined option parameters including:
• Base Strike Reference
• Strike Step Size
• Lot Size
• Upper Strike Reference
• Custom Reference Level
This library is built to standardize option data handling across all DRCID CLUB indicators, dashboards, ATM calculators, and strategy engines.
It allows seamless integration using:
Release Notes
v2DRCID_OptionData is a centralized strike configuration library designed for NSE equity and index option symbols.It provides pre-defined option parameters including:
• Base Strike Reference
• Strike Step Size
• Lot Size
• Upper Strike Reference
• Custom Reference Level
This library is built to standardize option data handling across all DRCID CLUB indicators, dashboards, ATM calculators, and strategy engines.
Release Notes
v3Added:
getATM(price, step)
Parameters:
price (float)
step (float)
getWeeklyExpiry()
formatManualExpiry(d, m, y)
Parameters:
d (string)
m (string)
y (string)
getOptionData(symbol, price, useRefATM, useManualExp, d, m, y)
Parameters:
symbol (string)
price (float)
useRefATM (bool)
useManualExp (bool)
d (string)
m (string)
y (string)
getGlobalExpiry()
Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.