pub struct InstrumentFinancing {
pub long_rate: Option<Decimal>,
pub short_rate: Option<Decimal>,
pub financing_days_of_week: Option<Vec<FinancingDayOfWeek>>,
}Expand description
Financing data for the instrument.
Fields§
§long_rate: Option<Decimal>The financing rate to be used for a long position for the instrument. The value is in decimal rather than percentage points, i.e. 5% is represented as 0.05.
short_rate: Option<Decimal>The financing rate to be used for a short position for the instrument. The value is in decimal rather than percentage points, i.e. 5% is represented as 0.05.
financing_days_of_week: Option<Vec<FinancingDayOfWeek>>The days of the week to debit or credit financing charges; the exact time of day at which to charge the financing is set in the DivisionTradingGroup for the client’s account.
Trait Implementations§
Source§impl Clone for InstrumentFinancing
impl Clone for InstrumentFinancing
Source§impl Debug for InstrumentFinancing
impl Debug for InstrumentFinancing
Source§impl<'de> Deserialize<'de> for InstrumentFinancing
impl<'de> Deserialize<'de> for InstrumentFinancing
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InstrumentFinancing
impl PartialEq for InstrumentFinancing
Source§impl Serialize for InstrumentFinancing
impl Serialize for InstrumentFinancing
impl StructuralPartialEq for InstrumentFinancing
Auto Trait Implementations§
impl Freeze for InstrumentFinancing
impl RefUnwindSafe for InstrumentFinancing
impl Send for InstrumentFinancing
impl Sync for InstrumentFinancing
impl Unpin for InstrumentFinancing
impl UnsafeUnpin for InstrumentFinancing
impl UnwindSafe for InstrumentFinancing
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more