PINE LIBRARY
Updated

DRCID_OptionData

264
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:
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
v3

Added:
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()

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.