AssetReinforcementLearning
Create AssetReinforcementLearning pricer object for an equity
instrument using a BlackScholes or Heston
model
Since R2026a
Description
Create and price a Vanilla instrument object with a
BlackScholes or Heston model and a
AssetReinforcementLearning pricing method using this
workflow:
Use
fininstrumentto create aVanillainstrument object with anExerciseStyleof"American"or"Bermudan".Use
finmodelto specify aBlackScholesorHestonmodel for theVanillainstrument object.When using a
BlackScholesorHestonmodel, usefinpricerto specify anAssetReinforcementLearningpricer object for theVanillainstrument object.Note
The
AssetReinforcementLearningpricer and the associatedpricefunction require the installation of Reinforcement Learning Toolbox™.
For more information on this workflow, see Get Started with Workflows Using Object-Based Framework for Pricing Financial Instruments.
For more information on the available instruments, models, and pricing methods for a
Vanilla instruments, see Choose Instruments, Models, and Pricers.
Creation
Syntax
Description
creates an AssetReinforcementLearningPricerObj = finpricer(PricerType,Model=model,DiscountCurve=ratecurve_obj,SpotPrice=spotprice_value,SimulationDates=simulation_dates)AssetReinforcementLearning pricer object by
specifying PricerType and sets the properties using the required name-value arguments
Model, DiscountCurve,
SpotPrice, and
SimulationDates.
sets optional properties using additional name-value arguments in addition to
the required arguments in the previous syntax. For example,
IRMonteCarloPricerObj = finpricer(___,Name=Value)AssetReinforcementLearningPricerObj =
finpricer("AssetReinforcementLearning",Model=HestonModel,DiscountCurve=ratecurve_obj,SpotPrice=500,SimulationDates=[datetime(2018,1,30);
datetime(2019,1,30)],NumTrials=500) creates an
AssetReinforcementLearning pricer object using a
Heston model. You can specify multiple name-value
arguments.
Input Arguments
Name-Value Arguments
Output Arguments
Properties
Object Functions
price | Compute price for equity instrument with
AssetReinforcementLearning pricer |
Examples
More About
Version History
Introduced in R2026a