pub struct ExposureIntent<'a> {
pub symbol: &'a str,
pub side: Side,
pub kind: IntentKind,
pub requested_risk: Option<f64>,
}Expand description
One request for new exposure as the supervisor sees it.
Fields§
§symbol: &'a str§side: Side§kind: IntentKind§requested_risk: Option<f64>Account-currency risk the request asks for, or None when it cannot be known before the fill, such as a fixed-lot entry or a scale-in of an explicit quantity.
Trait Implementations§
Source§impl<'a> Clone for ExposureIntent<'a>
impl<'a> Clone for ExposureIntent<'a>
Source§impl<'a> Debug for ExposureIntent<'a>
impl<'a> Debug for ExposureIntent<'a>
Source§impl<'a> PartialEq for ExposureIntent<'a>
impl<'a> PartialEq for ExposureIntent<'a>
impl<'a> StructuralPartialEq for ExposureIntent<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExposureIntent<'a>
impl<'a> RefUnwindSafe for ExposureIntent<'a>
impl<'a> Send for ExposureIntent<'a>
impl<'a> Sync for ExposureIntent<'a>
impl<'a> Unpin for ExposureIntent<'a>
impl<'a> UnsafeUnpin for ExposureIntent<'a>
impl<'a> UnwindSafe for ExposureIntent<'a>
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