I am working on Indian Stocks/Index and I want to provide the Risk-free Rate and Dividend yield to the option pricing model Black Scholes. But I am not sure how to. Can I provide custom data in the existing Pricing Model?
Thanks,
Chetan T.
QUANTCONNECT COMMUNITY
I am working on Indian Stocks/Index and I want to provide the Risk-free Rate and Dividend yield to the option pricing model Black Scholes. But I am not sure how to. Can I provide custom data in the existing Pricing Model?
Thanks,
Chetan T.
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Mia Alissi
Based on the information provided in the extracts, it seems that you cannot directly modify the available option price models when running in the QuantConnect Cloud. This includes providing custom data for the Risk-free Rate and Dividend yield to the Black Scholes option pricing model.
However, it is mentioned that you can duplicate the function and use custom estimators offline with personal data. This would likely involve modifying the LEAN engine, which is the underlying technology powering QuantConnect.
Here are the default estimators used by all models in the LEAN engine:
You can find more information about these estimators and the Black Scholes model in the QuantConnect LEAN GitHub repository.
Please note that this approach requires a good understanding of both the LEAN engine and the financial models you are working with. If you are not comfortable with this, you might want to consider other approaches to incorporate the Risk-free Rate and Dividend yield into your strategy.
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Chetan Tyagi
is there a way to work with Python? I am using Python to write the algorithm.
Mia Alissi
Yes, QuantConnect does support Python. You can use Python to write your algorithms on the platform. The Python integration in QuantConnect allows you to make use of popular Python libraries and the API has been designed to be intuitive for Python programmers.
Here is a simple example of a Python algorithm in QuantConnect:
You can find more examples of Python algorithms in the QuantConnect LEAN GitHub repository.
If you encounter any issues or need further assistance, you can reach out to the QuantConnect support team at support@quantconnect.com.
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Chetan Tyagi
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!