LibreOffice Module scaddins (master) 1
Functions
sca::pricing::bs::internal Namespace Reference

Functions

static double vanilla (double S, double vol, double rd, double rf, double tau, double K, double B1, double B2, types::PutCall pc, types::ForDom fd, types::Greeks greek)
 
static double vanilla_trunc (double S, double vol, double rd, double rf, double tau, double K, double B1, double B2, types::PutCall pc, types::ForDom fd, types::Greeks greek)
 
static double barrier_term (double S, double vol, double rd, double rf, double tau, double K, double B1, double B2, double sc, types::PutCall pc, types::ForDom fd, types::Greeks greek)
 
static double barrier_double_term (double S, double vol, double rd, double rf, double tau, double K, double B1, double B2, double fac, double sc, int i, types::PutCall pc, types::ForDom fd, types::Greeks greek)
 
static double barrier_ko (double S, double vol, double rd, double rf, double tau, double K, double B1, double B2, types::PutCall pc, types::ForDom fd, types::Greeks greek)
 
static double barrier_ki (double S, double vol, double rd, double rf, double tau, double K, double B1, double B2, types::PutCall pc, types::ForDom fd, types::Greeks greek)
 
static double barrier (double S, double vol, double rd, double rf, double tau, double K, double B1, double B2, types::PutCall pc, types::ForDom fd, types::BarrierKIO kio, types::BarrierActive bcont, types::Greeks greek)
 

Function Documentation

◆ barrier()

static double sca::pricing::bs::internal::barrier ( double  S,
double  vol,
double  rd,
double  rf,
double  tau,
double  K,
double  B1,
double  B2,
types::PutCall  pc,
types::ForDom  fd,
types::BarrierKIO  kio,
types::BarrierActive  bcont,
types::Greeks  greek 
)
static

◆ barrier_double_term()

static double sca::pricing::bs::internal::barrier_double_term ( double  S,
double  vol,
double  rd,
double  rf,
double  tau,
double  K,
double  B1,
double  B2,
double  fac,
double  sc,
int  i,
types::PutCall  pc,
types::ForDom  fd,
types::Greeks  greek 
)
static

◆ barrier_ki()

static double sca::pricing::bs::internal::barrier_ki ( double  S,
double  vol,
double  rd,
double  rf,
double  tau,
double  K,
double  B1,
double  B2,
types::PutCall  pc,
types::ForDom  fd,
types::Greeks  greek 
)
static

Definition at line 783 of file black_scholes.cxx.

References barrier_ko(), pc, S, and vanilla().

Referenced by barrier().

◆ barrier_ko()

static double sca::pricing::bs::internal::barrier_ko ( double  S,
double  vol,
double  rd,
double  rf,
double  tau,
double  K,
double  B1,
double  B2,
types::PutCall  pc,
types::ForDom  fd,
types::Greeks  greek 
)
static

◆ barrier_term()

static double sca::pricing::bs::internal::barrier_term ( double  S,
double  vol,
double  rd,
double  rf,
double  tau,
double  K,
double  B1,
double  B2,
double  sc,
types::PutCall  pc,
types::ForDom  fd,
types::Greeks  greek 
)
static

◆ vanilla()

static double sca::pricing::bs::internal::vanilla ( double  S,
double  vol,
double  rd,
double  rf,
double  tau,
double  K,
double  B1,
double  B2,
types::PutCall  pc,
types::ForDom  fd,
types::Greeks  greek 
)
static

◆ vanilla_trunc()

static double sca::pricing::bs::internal::vanilla_trunc ( double  S,
double  vol,
double  rd,
double  rf,
double  tau,
double  K,
double  B1,
double  B2,
types::PutCall  pc,
types::ForDom  fd,
types::Greeks  greek 
)
static