PINE LIBRARY
已更新 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:
版本注释
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.
版本注释
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脚本库
秉承TradingView的精神,作者已将此Pine代码作为开源库发布,以便我们社区的其他Pine程序员可以重用它。向作者致敬!您可以私下或在其他开源出版物中使用此库,但在出版物中重用此代码须遵守网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
Pine脚本库
秉承TradingView的精神,作者已将此Pine代码作为开源库发布,以便我们社区的其他Pine程序员可以重用它。向作者致敬!您可以私下或在其他开源出版物中使用此库,但在出版物中重用此代码须遵守网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。