Function ib_client::apis::contract_api::iserver_secdef_info_get[][src]

pub async fn iserver_secdef_info_get(
    configuration: &Configuration,
    conid: &str,
    sectype: &str,
    month: Option<&str>,
    exchange: Option<&str>,
    strike: Option<&str>,
    right: Option<&str>
) -> Result<Value, Error<IserverSecdefInfoGetError>>

Provides Contract Details of Futures, Options, Warrants, Cash and CFDs based on conid. To get the strike price for Options/Warrants use "/iserver/secdef/strikes" endpoint. Must call /secdef/search for the underlying contract first.