pub struct IronCondorLegs {
pub long_put: ContractId,
pub short_put: ContractId,
pub short_call: ContractId,
pub long_call: ContractId,
}Expand description
Legs of a SpreadBuilder::iron_condor, by option contract id.
Fields§
§long_put: ContractIdLowest-strike put, bought.
short_put: ContractIdHigher-strike put, sold.
short_call: ContractIdLower-strike call, sold.
long_call: ContractIdHighest-strike call, bought.
Trait Implementations§
Source§impl Clone for IronCondorLegs
impl Clone for IronCondorLegs
impl Copy for IronCondorLegs
Source§impl Debug for IronCondorLegs
impl Debug for IronCondorLegs
impl Eq for IronCondorLegs
Source§impl PartialEq for IronCondorLegs
impl PartialEq for IronCondorLegs
impl StructuralPartialEq for IronCondorLegs
Auto Trait Implementations§
impl Freeze for IronCondorLegs
impl RefUnwindSafe for IronCondorLegs
impl Send for IronCondorLegs
impl Sync for IronCondorLegs
impl Unpin for IronCondorLegs
impl UnsafeUnpin for IronCondorLegs
impl UnwindSafe for IronCondorLegs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.