Struct quantmath::data::fixings::FixingTable[][src]

pub struct FixingTable { /* fields omitted */ }

A fixing table is a collection of fixing curves, keyed by instrument id.

Methods

impl FixingTable
[src]

Creates a fixing table, given a date to which fixings are known and an array of fixing curve data keyed by instrument id.

Creates a fixing table from a source such as a HashMap iterator, or an iterator from a slice of pairs of ids and slices of Date

Creates an empty fixing table, given a date to which fixings are known.

Adds a fixings curve

Tries to get a fixing for the given instrument and date. Returns None if it was absent today, or an error if it was absent in the past.

Tries to get a fixing for the given instrument and date. Returns None if the fixing is not found.

Tries to get an entire fixing curve by id. Return None if there is none.

Gets the date to which fixings are known. Fixings on this date may or may not be known.

Trait Implementations

impl Debug for FixingTable
[src]

Formats the value using the given formatter. Read more

impl Clone for FixingTable
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for FixingTable

impl Sync for FixingTable