MCPcopy Create free account

hub / github.com/MarcusRainbow/QuantMath / functions

Functions887 in github.com/MarcusRainbow/QuantMath

Methodinterp_diff
(&self, other: DateDayFraction)
src/dates/datetime.rs:131
Functioninterpolate_dates
()
src/dates/mod.rs:432
Functioninterpolate_floats
()
src/math/interpolation.rs:502
Functioninterpolate_integers
()
src/math/interpolation.rs:472
Functioninterpolate_integers_flyweight
()
src/math/interpolation.rs:457
Functioninterpolated_forward
()
src/data/forward.rs:208
Methodis_driftless
Instruments that are margined at the forward level have a value that is effectively driftless. Examples are equity futures, and options as traded on s
src/instruments/mod.rs:77
Methodis_pure_rates
Return true for instruments that are priced purely from the yield curve. During Monte-Carlo valuation, non-stochastic-rate models can save time by eva
src/instruments/mod.rs:86
Methodis_zero
Returns true if the curve is zero for all dates
src/data/curves.rs:30
Functionlinear_interp_serde
()
src/math/interpolation.rs:566
Functionmain
src/cpp-test/quantmath_runner.cpp:228
Functionmain
()
examples/montecarlo.rs:138
Functionmissing_fixing_past
()
src/data/fixings.rs:293
Functionmissing_fixing_today
()
src/data/fixings.rs:281
Functionmissing_optional_fixing_past
()
src/data/fixings.rs:314
Functionmodified_following
()
src/dates/rules.rs:236
Functionmonte_carlo_price_european_bumped_price
()
src/pricers/montecarlo.rs:209
Functionmonte_carlo_price_forward_european_time_bumped
()
src/pricers/montecarlo.rs:303
Methodname
(&self)
src/dates/calendar.rs:132
Methodnew
Creates a zero coupon bond. It must have an id that uniquely represents it. It is discounted according to the yield curve matching its credit_id: it c
src/instruments/bonds.rs:50
Methodnew
(priceable: &'a Priceable, context: &'a PricingContext, time_of_day: TimeOfDay)
src/instruments/mod.rs:453
Methodnew
(id: &str, credit_id: &str, currency: RcCurrency, settlement: RcDateRule, basket: Vec<(f64, RcInstrum
src/instruments/basket.rs:48
Methodnew
(id: &str, settlement: RcDateRule)
src/instruments/assets.rs:41
Methodnew
(id: &str, credit_id: &str, underlying: RcInstrument, settlement: RcDateRule, expiry: DateTime, put_or
src/instruments/options.rs:67
Methodnew
Creates an empty registry
src/core/factories.rs:30
Methodnew
(control: DedupControl, map: HashMap<String, Drc<T, R>>)
src/core/dedup.rs:35
Methodnew
Creates a flat vol surface. It requires a volatility, plus a calendar and a base date, which are used for calculating the time and hence the variance.
src/data/volsurface.rs:463
Methodnew
Creates a flat smile with the given volatility.
src/data/volsmile.rs:60
Methodnew
(base_date: Date)
src/data/curves.rs:109
Methodnew
Creates an empty fixing table, given a date to which fixings are known.
src/data/fixings.rs:50
Methodnew
(cash: f64, relative: f64, ex_date: Date, pay_date: Date)
src/data/divstream.rs:48
Methodnew
(base_vol: RcVolSurface, vol_time_offset: f64, base_date: DateDayFraction)
src/data/voldecorators.rs:29
Methodnew
(spot_date: Date, spot_dynamics: SpotDynamics)
src/data/bumptime.rs:10
Methodnew
(spot_date: Date, spot_dynamics: SpotDynamics)
src/data/bumpspotdate.rs:15
Methodnew
(value: f64)
src/data/forward.rs:53
Methodnew
()
src/dates/rules.rs:66
Methodnew
(date: Date, time_of_day: TimeOfDay)
src/dates/datetime.rs:47
Methodnew
()
src/dates/calendar.rs:123
Methodnew
Creates an empty timeline. You must write to this timeline by passing it to mc_dependencies on the instrument or instruments you wish to value. Finall
src/models/mod.rs:107
Methodnew
(correlation_substep: usize, path_substep: f64, number_of_paths: usize)
src/models/blackdiffusion.rs:55
Methodnew
Creates an implied vol solver that tries to find a vol within the supplied tolerance. The solver used is quadratic in its convergence, so the result i
src/solvers/impliedvol.rs:25
Methodnew
()
src/math/optionpricing.rs:12
Methodnew
Construct an interpolator given the rules for extrapolation to left and right. This is a flyweight pattern, in that the values are passed to the inter
src/math/interpolation.rs:207
Methodnew
(price: f64, theta: f64, subreports: Vec<BoxReport>)
src/risk/timebumped.rs:39
Methodnew
(price: f64, currency_risk: f64, unit_risk: f64)
src/risk/mod.rs:163
Methodnew
(bumpsize: f64)
src/risk/deltagamma.rs:124
Methodnew
(spot_date: Date)
src/risk/dependencies.rs:25
Methodnew
Creates a market data object. There is normally only one of these supplied to any valuation. Apart from spots, all market data is allowed to have a b
src/risk/marketdata.rs:69
Methodnew
(bump: BumpVol)
src/risk/vegavolga.rs:132
Methodnew
(spot_date: Date, ex_from: Date, spot_dynamics: SpotDynamics)
src/risk/bumptime.rs:26
Methodnew
Creates a context wrapper that prefetches forwards and potentially vol surfaces for efficiency. The MarketData context that is passed in is immediatel
src/risk/cache.rs:39
Methodnew_all_relative
(size: f64)
src/data/bumpdivs.rs:13
Methodnew_back
Creates a rule that steps backward a given number of business days
src/dates/rules.rs:114
Methodnew_borrow
(id: &str, bump: BumpYield)
src/data/bump.rs:26
Methodnew_bump_all
Constructor used when bumping. Applies a relative bump to all dividends and the dividend yield
src/data/divstream.rs:108
Methodnew_divs
(id: &str, bump: BumpDivs)
src/data/bump.rs:22
Methodnew_flat_additive
(size: f64)
src/data/bumpvol.rs:19
Methodnew_flat_annualised
(size: f64)
src/data/bumpyield.rs:15
Methodnew_flat_continuously_compounded
(size: f64)
src/data/bumpyield.rs:19
Methodnew_next
Creates a rule that steps to the next business day or stays put if today is a business day.
src/dates/rules.rs:89
Methodnew_prev
Creates a rule that steps to the previous business day or stays put if today is a business day.
src/dates/rules.rs:98
Methodnew_relative
(bump: f64)
src/data/bumpspot.rs:11
Methodnew_replace
(vol: f64)
src/data/bumpvol.rs:27
Methodnew_replace
(spot: f64)
src/data/bumpspot.rs:15
Methodnew_saveable
(&self)
src/models/blackdiffusion.rs:604
Methodnew_saveable
(&self)
src/risk/marketdata.rs:276
Methodnew_spot
(id: &str, bump: BumpSpot)
src/data/bump.rs:18
Methodnew_spot_date
(bump: BumpSpotDate)
src/data/bump.rs:38
Methodnew_step
Creates a rule that steps forward a given number of business days
src/dates/rules.rs:106
Methodnew_time_scaled
(size: f64, floor: f64)
src/data/bumpvol.rs:23
Methodnew_vol
(id: &str, bump: BumpVol)
src/data/bump.rs:30
Methodnew_yield
(credit_id: &str, bump: BumpYield)
src/data/bump.rs:34
Functionnext_business_date
()
src/dates/rules.rs:176
Functionparallel_bumped_vol_surface
()
src/data/voldecorators.rs:519
Methodpartial_cmp
(&self, other: &Basket)
src/instruments/basket.rs:124
Methodpartial_cmp
(&self, other: &Currency)
src/instruments/assets.rs:98
Methodpay_date
(&self)
src/data/divstream.rs:57
Methodpayoff_currency
(&self)
src/instruments/bonds.rs:65
Methodpayoff_currency
(&self)
src/instruments/basket.rs:64
Methodpayoff_currency
(&self)
src/instruments/assets.rs:60
Functionprev_business_date
()
src/dates/rules.rs:190
Methodprices
The price of a basket is the weighted sum of the components.
src/instruments/basket.rs:147
Methodprices
Currency is worth one currency unit, but only if we are discounting to the date which is when we would receive the currency. This is done outside of t
src/instruments/assets.rs:124
Methodprices
Prices this option with a range of val dates, and given a closure that calculates the strike
src/instruments/options.rs:88
Methodpricing_context
(&self)
src/models/blackdiffusion.rs:541
Functionproblem_of_the_day
()
src/math/brent.rs:128
Functionqm_reports_from_json_file
(source: *const c_char)
src/facade/c_interface.rs:237
Functionrate_curve_serde
()
src/data/curves.rs:320
Functionrate_curve_tagged_serde
()
src/data/curves.rs:343
Methodraw_market_data
(&self)
src/models/blackdiffusion.rs:484
Methodraw_market_data
(&self)
src/risk/marketdata.rs:304
Methodrelative
(&self)
src/data/divstream.rs:55
Methodrelease
src/cpp-test/quantmath_runner.cpp:43
Methodrelease
src/cpp-test/quantmath_runner.cpp:65
Methodrestore
(&mut self, any_saved: &Saveable)
src/models/blackdiffusion.rs:617
Functionrolling_expiry_dynamics
()
src/data/voldecorators.rs:487
Functionrolling_expiry_vol_surface
()
src/data/voldecorators.rs:457
Functionround_trip_date_via_string
()
src/dates/mod.rs:365
Functionround_trip_date_via_ymd
()
src/dates/mod.rs:317
Functionscaled_bumped_vol_surface
()
src/data/voldecorators.rs:540
← previousnext →701–800 of 887, ranked by callers