pub struct HomeConversionFactors {
pub gain_quote_home: Option<ConversionFactor>,
pub loss_quote_home: Option<ConversionFactor>,
pub gain_base_home: Option<ConversionFactor>,
pub loss_base_home: Option<ConversionFactor>,
}Expand description
A HomeConversionFactors message contains information used to convert amounts, from an Instrument’s base or quote currency, to the home currency of an Account.
Fields§
§gain_quote_home: Option<ConversionFactor>The ConversionFactor in effect for the Account for converting any gains realized in Instrument quote units into units of the Account’s home currency.
loss_quote_home: Option<ConversionFactor>The ConversionFactor in effect for the Account for converting any losses realized in Instrument quote units into units of the Account’s home currency.
gain_base_home: Option<ConversionFactor>The ConversionFactor in effect for the Account for converting any gains realized in Instrument base units into units of the Account’s home currency.
loss_base_home: Option<ConversionFactor>The ConversionFactor in effect for the Account for converting any losses realized in Instrument base units into units of the Account’s home currency.