You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Pricing models should extend the <code>OptionPriceModel</code> class. Extensions of the <code>OptionPriceModel</code> class must implement the <codeclass="csharp">Evaluate</code><codeclass="python">evaluate</code> method, which receives <code>OptionPriceModelParameters</code> and returns an <code>OptionPriceModelResult</code> that contains the theoretical price, the implied volatility, and Greeks.</p>
2
+
<divclass="section-example-container">
3
+
<preclass="csharp">public class CustomOptionPriceModelExampleAlgorithm : QCAlgorithm
4
+
{
5
+
public override void Initialize()
6
+
{
7
+
// In the Initialize method, set the custom option price model for an added option chain to use the custom model
0 commit comments