pub trait MarketDataApi {
fn iserver_marketdata_conid_unsubscribe_get(
&self,
conid: &str
) -> Box<dyn Future<Item = InlineResponse20026, Error = Error<Value>>>;
fn iserver_marketdata_history_get(
&self,
conid: &str,
period: &str,
exchange: &str,
bar: &str,
outside_rth: bool
) -> Box<dyn Future<Item = HistoryData, Error = Error<Value>>>;
fn iserver_marketdata_snapshot_get(
&self,
conids: &str,
since: i32,
fields: &str
) -> Box<dyn Future<Item = Vec<InlineResponse20024>, Error = Error<Value>>>;
fn iserver_marketdata_unsubscribeall_get(
&self
) -> Box<dyn Future<Item = InlineResponse20025, Error = Error<Value>>>;
}