pub struct GetContractStrikesRequestQuery {
pub conid: String,
pub sectype: GetContractStrikesRequestQuerySectype,
pub month: String,
pub exchange: Option<String>,
}Fields§
§conid: StringContract identifier of the underlying. May also pass the final derivative conid directly.
- Example:
"265598".to_string()
sectype: GetContractStrikesRequestQuerySectypeSecurity type of the requested contract of interest. Valid asset classes are:
FOP- Futures OptionOPT- OptionWAR- Warrant
month: StringExpiration month for the given derivative. Expiration months can be retrieved from /iserver/secdef/search under an {object}/sections/{object}/months
- Example:
"JAN24".to_string()
exchange: Option<String>Exchange from which derivatives should be retrieved from. This field is mandatory when requesting Futures Options strikes.
- Example:
Some("CME".to_string())
Trait Implementations§
Source§impl Clone for GetContractStrikesRequestQuery
impl Clone for GetContractStrikesRequestQuery
Source§fn clone(&self) -> GetContractStrikesRequestQuery
fn clone(&self) -> GetContractStrikesRequestQuery
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for GetContractStrikesRequestQuery
impl PartialEq for GetContractStrikesRequestQuery
Source§fn eq(&self, other: &GetContractStrikesRequestQuery) -> bool
fn eq(&self, other: &GetContractStrikesRequestQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'v_a> ValidateArgs<'v_a> for GetContractStrikesRequestQuery
impl<'v_a> ValidateArgs<'v_a> for GetContractStrikesRequestQuery
impl StructuralPartialEq for GetContractStrikesRequestQuery
Auto Trait Implementations§
impl Freeze for GetContractStrikesRequestQuery
impl RefUnwindSafe for GetContractStrikesRequestQuery
impl Send for GetContractStrikesRequestQuery
impl Sync for GetContractStrikesRequestQuery
impl Unpin for GetContractStrikesRequestQuery
impl UnsafeUnpin for GetContractStrikesRequestQuery
impl UnwindSafe for GetContractStrikesRequestQuery
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