MCPcopy Create free account

hub / github.com/MarcusRainbow/QuantMath / types & classes

Types & classes167 in github.com/MarcusRainbow/QuantMath

↓ 7 callersClassDate
src/dates/mod.rs:58
↓ 7 callersClassStr
RAII class to encapsulate a string from QuantMath, and prevent leaks.
src/cpp-test/quantmath_runner.cpp:55
↓ 6 callersClassWeekdayCalendar
src/dates/calendar.rs:169
↓ 2 callersClassCurrency
src/instruments/assets.rs:35
↓ 2 callersClassFixingTable
src/data/fixings.rs:11
↓ 2 callersInterfaceInstrument
There are a few controversial design decisions here. The first is to do with the separation of products from indices, which is the case in pricing lib
src/instruments/mod.rs:52
↓ 2 callersClassMarketData
src/risk/marketdata.rs:41
↓ 2 callersInterfacePricerFactory
Pricers are always constructed using a pricer factory. This means that the code to create the pricer is independent of what sort of pricer it is.
src/pricers/mod.rs:20
↓ 2 callersInterfaceReportGenerator
A report generator performs all the calculations needed to produce a report.
src/risk/mod.rs:173
↓ 1 callersClassDrc
Edges in the graph must be contained in our own subclass of Rc, so we can implement our serialize/deserialize methods on it.
src/core/dedup.rs:114
↓ 1 callersClassEveryDayCalendar
src/dates/calendar.rs:116
↓ 1 callersClassQbox
Our own box type, so we can implement serialization and deserialization.
src/core/factories.rs:122
↓ 1 callersClassQrc
Our own reference counted type, so we can implement serialization and deserialization.
src/core/factories.rs:65
↓ 1 callersClassRcDividendStream
src/data/divstream.rs:132
↓ 1 callersClassRcFixingTable
src/data/fixings.rs:114
↓ 1 callersClassRcMarketData
src/risk/marketdata.rs:140
↓ 1 callersClassStringOrStruct
This is a Visitor that forwards string types to T's `FromId` impl and forwards map types to T's `Deserialize` impl. The `PhantomData` is to keep the c
src/instruments/mod.rs:276
↓ 1 callersClassStringOrStruct
This is a Visitor that forwards string types to T's `FromId` impl and forwards map types to T's `Deserialize` impl. The `PhantomData` is to keep the c
src/core/factories.rs:480
↓ 1 callersClassStringOrStruct
This is a Visitor that forwards string types to T's `FromId` impl and forwards map types to T's `Deserialize` impl. The `PhantomData` is to keep the c
src/core/dedup.rs:255
↓ 1 callersClassVolByProbabilityCubicSplineSmile
src/data/volsurface.rs:827
↓ 1 callersClassVolByProbabilityFlatSmile
src/data/volsurface.rs:773
ClassA
src/core/factories.rs:192
ClassAnnualisedFlatBump
src/data/curves.rs:175
InterfaceApproxEq
Are two objects approximately equal? The two objects could be floating point numbers, or risk reports. Returns true if the objects are sufficiently cl
src/math/numerics.rs:18
InterfaceApproxEqReport
Redefine ApproxEqReport because Rust complains about circular type references otherwise
src/risk/mod.rs:145
EnumB
src/core/factories.rs:198
ClassBasket
src/instruments/basket.rs:31
ClassBlack76
The 1976 reformulation of the Black-Scholes formula, where the price of a European option is expressed in terms of the Forward and the Strike.
src/math/optionpricing.rs:7
ClassBlackDiffusion
src/models/blackdiffusion.rs:126
ClassBlackDiffusionFactory
src/models/blackdiffusion.rs:47
EnumBump
Enumeration spanning all bumps of market data
src/data/bump.rs:8
EnumBumpDivs
Bump that defines all the supported bumps and risk transformations of a vol surface.
src/data/bumpdivs.rs:8
EnumBumpSpot
src/data/bumpspot.rs:5
ClassBumpSpotDate
src/data/bumpspotdate.rs:9
ClassBumpTime
Bump that defines all the supported bumps to the spot date
src/data/bumptime.rs:4
ClassBumpTime
src/risk/bumptime.rs:20
EnumBumpVol
src/data/bumpvol.rs:12
EnumBumpYield
Bump that defines all the supported bumps and risk transformations of a rate curve such as a borrow curve or a yield curve.
src/data/bumpyield.rs:9
InterfaceBumpable
Interface that defines all bumps of simple underlying market data. This defines most risks that the analytics outputs. Most methods take a save parame
src/risk/mod.rs:34
InterfaceBumpablePricingContext
src/risk/mod.rs:55
InterfaceBumpablePricingContextClone
src/risk/mod.rs:62
InterfaceBumper
An interface for applying bumps
src/data/bump.rs:44
ClassBusinessDays
src/dates/rules.rs:75
ClassC
src/core/factories.rs:423
InterfaceCalendar
Calendars define when business holidays are scheduled. They are used for business day volatility, settlement calculations, and the roll-out of schedul
src/dates/calendar.rs:19
ClassConstantExpiryTimeEvolution
src/data/voldecorators.rs:22
ClassContinuouslyCompoundedFlatBump
src/data/curves.rs:221
ClassCreditEntity
src/instruments/assets.rs:308
ClassCubicSpline
src/math/interpolation.rs:257
ClassCubicSplineInputs
src/math/interpolation.rs:270
ClassCubicSplineSmile
src/data/volsmile.rs:67
ClassDateDayFraction
src/dates/datetime.rs:84
InterfaceDateRule
Date rules are used for rolling out schedules of dates and for adjusting dates to move them onto business dates.
src/dates/rules.rs:17
ClassDateTime
src/dates/datetime.rs:41
InterfaceDateable
Some instruments such as equities or fx rates have no expiry date. You can trade in or out of them at any time. Similarly, you can trade into a consta
src/instruments/mod.rs:381
InterfaceDated
Some instruments such as vanilla options or futures have an expiry date. Others, such as CMS rates or equities, have an expiry date when you know what
src/instruments/mod.rs:390
ClassDedup
Technology to deduplicate directed acyclic graphs based on Rc pointers during serialization and deserialization.
src/core/dedup.rs:19
EnumDedupControl
src/core/dedup.rs:86
ClassDeltaGamma
src/risk/deltagamma.rs:87
ClassDeltaGammaReport
src/risk/deltagamma.rs:27
ClassDeltaGammaReportGenerator
src/risk/deltagamma.rs:119
ClassDeltaGammaTolerances
src/risk/deltagamma.rs:97
ClassDependencyCollector
Collect the dependencies of an instrument
src/risk/dependencies.rs:11
InterfaceDependencyContext
When an instrument reports its dependencies, it makes calls to a context. These calls should match the calls to the pricing context made during pricin
src/instruments/mod.rs:321
InterfaceDiscount
Low-level interfaces to market data Discount curve. Returns the log of the discount rather than the discount itself, as this is very often what we wan
src/data/interfaces.rs:8
EnumDivAssumptions
src/data/volsurface.rs:267
ClassDividend
src/data/divstream.rs:39
ClassDividendAccumulation
In order to use a dividend stream, we bootstrap its data into a vector of more instantly useable data, one instance for each distinct ex date. Note th
src/data/divstream.rs:168
ClassDividendBootstrap
src/data/divstream.rs:176
ClassDividendStream
src/data/divstream.rs:80
ClassDriftlessForward
Driftless forward, for example for a future, where the expectation on any date is the value today.
src/data/forward.rs:40
ClassEquity
src/instruments/assets.rs:179
ClassEquityForward
An equity forward has a spot, a discount rate which, together with a borrow, defines the rate of growth, plus a dividend stream.
src/data/forward.rs:82
ClassError
src/core/qm.rs:13
EnumExtrap
src/math/interpolation.rs:72
ClassFixings
src/data/fixings.rs:156
ClassFlatSmile
src/data/volsmile.rs:36
ClassFlatVolSurface
src/data/volsurface.rs:407
InterfaceFlyweightInterpolate
Interpolation with date or number for the abscissa and number for the ordinal. In this implementation, the array of points is supplied in the call to
src/math/interpolation.rs:58
ClassFlyweightLinear
Flyweight linear interpolation. In this interpolator, the data is kept externally, and passed into the interpolate function. This avoids the cost of c
src/math/interpolation.rs:196
ClassFmt
src/facade/mod.rs:158
ClassFoo
src/dates/mod.rs:478
InterfaceForward
Forward curve
src/data/interfaces.rs:28
InterfaceForward
Forward curve. This represents the expectation value of some asset over time. It is implemented in different ways for futures (generally driftless) eq
src/data/forward.rs:13
ClassForwardFromPriceable
Sometimes it is useful to treat a priceable as if it were a forward curve. The only issue is that a priceable takes a DateTime and a forward takes a d
src/instruments/mod.rs:446
ClassForwardStartingEuropean
[derive(Clone, SerializeState, DeserializeState, Debug)] [serde(serialize_state = "HashMap<String, RcInstrument>")] [serde(deserialize_state = "HashMa
src/instruments/options.rs:206
InterfaceFromId
Interface that fetches an instance of an object given its ID.
src/core/dedup.rs:237
ClassHandle
RAII class to encapsulate a handle from QuantMath, and prevent leaks.
src/cpp-test/quantmath_runner.cpp:15
EnumHandle
src/facade/handle.rs:13
ClassImpliedVol
Solves for implied volatility given a pricer. The pricer can be anything that gives a price with dependence on volatility, but analytic pricers work b
src/solvers/impliedvol.rs:13
InterfaceInstanceId
Objects that can be deduplicated have to have a unique instance id
src/core/dedup.rs:96
InterfaceInterpolable
To use interpolation, the types along the x axis must be Interpolable
src/math/interpolation.rs:13
InterfaceInterpolate
Interpolation with date or number for the abscissa and number for the ordinal. In this implementation, the array of points is supplied in the construc
src/math/interpolation.rs:66
ClassInterpolatedForward
Forward as an interpolator. For example, this may be used for any asset including equities where we do not care about the dynamics. (Normally we repre
src/data/forward.rs:62
ClassLinear
src/math/interpolation.rs:224
ClassMapVisitor
src/data/fixings.rs:183
ClassModifiedFollowing
src/dates/rules.rs:135
InterfaceMonteCarloContext
Context for Monte-Carlo pricing. The most important thing this gives is the observations, both historical (fixings) and future (paths).
src/instruments/mod.rs:586
InterfaceMonteCarloDependencies
Collects the dependencies needed for Monte-Carlo pricing
src/instruments/mod.rs:563
InterfaceMonteCarloModel
Interface that must be implemented by a model in order to support Monte-Carlo pricing.
src/models/mod.rs:63
next →1–100 of 167, ranked by callers