Pricing American options with multiple spots

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Pricing American options with multiple spots

Amine Tazi Mzaalek

Hi all,

 

I am a new user of QuantLib. I am trying to parse American options using the FDAmericanEngine<CrankNicolson> Engine.

Since this engine use a grid to price the option I was wondering if I can price my option with different spots without going through all the calculations?

 

Thank you for your help,

 

Amine


Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection Antivirus avast! est active.



------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Pricing American options with multiple spots

Peter Caspers-4

Hi Amine,

you should be able to get this by

option->result<SampledCurve>("priceCurve")

best regards
Peter




On 23 December 2013 04:14, Amine Tazi Mzaalek <[hidden email]> wrote:

Hi all,

 

I am a new user of QuantLib. I am trying to parse American options using the FDAmericanEngine<CrankNicolson> Engine.

Since this engine use a grid to price the option I was wondering if I can price my option with different spots without going through all the calculations?

 

Thank you for your help,

 

Amine


Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection Antivirus avast! est active.



------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Pricing American options with multiple spots

Amine Tazi Mzaalek
Hello Peter,

Thank you for your response. 

I can indeed access the SampledCurve but I dont know how to access the price for a specific spot. The .values() function return an array of values but I dont know what they represent either prices or spots ? I would like to know i there is a way knowing the spot access the corresponding price using the grid. 

Again thank you for your help.

Best regards,
Amine

On Dec 23, 2013, at 12:41, Peter Caspers <[hidden email]> wrote:


Hi Amine,

you should be able to get this by

option->result<SampledCurve>("priceCurve")

best regards
Peter




On 23 December 2013 04:14, Amine Tazi Mzaalek <[hidden email]> wrote:

Hi all,

 

I am a new user of QuantLib. I am trying to parse American options using the FDAmericanEngine<CrankNicolson> Engine.

Since this engine use a grid to price the option I was wondering if I can price my option with different spots without going through all the calculations?

 

Thank you for your help,

 

Amine


Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection Antivirus avast! est active.



------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Pricing American options with multiple spots

Luigi Ballabio
Hello Amine,
    the values() method returns the prices of the option; the grid() method returns the corresponding spots.

Luigi


On Mon, Dec 23, 2013 at 9:46 PM, Amine Tazi Mzaalek <[hidden email]> wrote:
Hello Peter,

Thank you for your response. 

I can indeed access the SampledCurve but I dont know how to access the price for a specific spot. The .values() function return an array of values but I dont know what they represent either prices or spots ? I would like to know i there is a way knowing the spot access the corresponding price using the grid. 

Again thank you for your help.

Best regards,
Amine

On Dec 23, 2013, at 12:41, Peter Caspers <[hidden email]> wrote:


Hi Amine,

you should be able to get this by

option->result<SampledCurve>("priceCurve")

best regards
Peter




On 23 December 2013 04:14, Amine Tazi Mzaalek <[hidden email]> wrote:

Hi all,

 

I am a new user of QuantLib. I am trying to parse American options using the FDAmericanEngine<CrankNicolson> Engine.

Since this engine use a grid to price the option I was wondering if I can price my option with different spots without going through all the calculations?

 

Thank you for your help,

 

Amine


Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection Antivirus avast! est active.



------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users




--
<https://implementingquantlib.blogspot.com>
<https://twitter.com/lballabio>

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users