[−][src]Trait xtp::QuoteSpi
Provided methods
fn on_disconnected(&self, reason: i32)
fn on_error(&self, error_info: XTPRspInfoStruct)
fn on_sub_market_data(
&self,
ticker: XTPSpecificTickerStruct,
error_info: XTPRspInfoStruct,
is_last: bool
)
&self,
ticker: XTPSpecificTickerStruct,
error_info: XTPRspInfoStruct,
is_last: bool
)
fn on_unsub_market_data(
&self,
ticker: XTPSpecificTickerStruct,
error_info: XTPRspInfoStruct,
is_last: bool
)
&self,
ticker: XTPSpecificTickerStruct,
error_info: XTPRspInfoStruct,
is_last: bool
)
fn on_depth_market_data(
&self,
market_data: XTPMarketDataStruct,
bid1_qty: &[i64],
max_bid1_count: i32,
ask1_qty: &[i64],
max_ask1_count: i32
)
&self,
market_data: XTPMarketDataStruct,
bid1_qty: &[i64],
max_bid1_count: i32,
ask1_qty: &[i64],
max_ask1_count: i32
)
fn on_sub_order_book(
&self,
ticker: XTPSpecificTickerStruct,
error_info: XTPRspInfoStruct,
is_last: bool
)
&self,
ticker: XTPSpecificTickerStruct,
error_info: XTPRspInfoStruct,
is_last: bool
)
fn on_unsub_order_book(
&self,
ticker: XTPSpecificTickerStruct,
error_info: XTPRspInfoStruct,
is_last: bool
)
&self,
ticker: XTPSpecificTickerStruct,
error_info: XTPRspInfoStruct,
is_last: bool
)
fn on_order_book(&self, _order_book: OrderBookStruct)
fn on_sub_tick_by_tick(
&self,
ticker: XTPSpecificTickerStruct,
error_info: XTPRspInfoStruct,
is_last: bool
)
&self,
ticker: XTPSpecificTickerStruct,
error_info: XTPRspInfoStruct,
is_last: bool
)
fn on_unsub_tick_by_tick(
&self,
ticker: XTPSpecificTickerStruct,
error_info: XTPRspInfoStruct,
is_last: bool
)
&self,
ticker: XTPSpecificTickerStruct,
error_info: XTPRspInfoStruct,
is_last: bool
)
fn on_tick_by_tick(&self, tbt_data: XTPTickByTickStruct)
fn on_subscribe_allmarket_data(
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
fn on_unsubscribe_allmarket_data(
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
fn on_subscribe_all_order_book(
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
fn on_unsubscribe_all_order_book(
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
fn on_subscribe_all_tick_by_tick(
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
fn on_unsubscribe_all_tick_by_tick(
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
fn on_query_alltickers(
&self,
ticker_info: XTPQuoteStaticInfo,
error_info: XTPRspInfoStruct,
is_last: bool
)
&self,
ticker_info: XTPQuoteStaticInfo,
error_info: XTPRspInfoStruct,
is_last: bool
)
fn on_querytickers_price_info(
&self,
ticker_info: XTPTickerPriceInfo,
error_info: XTPRspInfoStruct,
is_last: bool
)
&self,
ticker_info: XTPTickerPriceInfo,
error_info: XTPRspInfoStruct,
is_last: bool
)
fn on_subscribe_all_optionmarket_data(
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
fn on_unsubscribe_all_optionmarket_data(
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
fn on_subscribe_all_option_order_book(
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
fn on_unsubscribe_all_option_order_book(
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
fn on_subscribe_all_option_tick_by_tick(
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
fn on_unsubscribe_all_option_tick_by_tick(
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)
&self,
exchange_id: XTPExchangeType,
error_info: XTPRspInfoStruct
)