pub struct StocksClient { /* private fields */ }Implementations§
Source§impl StocksClient
impl StocksClient
pub async fn bars(&self, request: BarsRequest) -> Result<BarsResponse, Error>
pub async fn auctions( &self, request: AuctionsRequest, ) -> Result<AuctionsResponse, Error>
pub async fn auctions_all( &self, request: AuctionsRequest, ) -> Result<AuctionsResponse, Error>
pub async fn auctions_single( &self, request: AuctionsSingleRequest, ) -> Result<AuctionsSingleResponse, Error>
pub async fn auctions_single_all( &self, request: AuctionsSingleRequest, ) -> Result<AuctionsSingleResponse, Error>
pub fn auctions_stream( &self, request: AuctionsRequest, ) -> Pin<Box<dyn Stream<Item = Result<AuctionsResponse, Error>> + Send>>
pub fn auctions_single_stream( &self, request: AuctionsSingleRequest, ) -> Pin<Box<dyn Stream<Item = Result<AuctionsSingleResponse, Error>> + Send>>
pub async fn bars_all( &self, request: BarsRequest, ) -> Result<BarsResponse, Error>
pub async fn bars_single( &self, request: BarsSingleRequest, ) -> Result<BarsSingleResponse, Error>
pub async fn bars_single_all( &self, request: BarsSingleRequest, ) -> Result<BarsSingleResponse, Error>
pub fn bars_stream( &self, request: BarsRequest, ) -> Pin<Box<dyn Stream<Item = Result<BarsResponse, Error>> + Send>>
pub fn bars_single_stream( &self, request: BarsSingleRequest, ) -> Pin<Box<dyn Stream<Item = Result<BarsSingleResponse, Error>> + Send>>
pub async fn quotes( &self, request: QuotesRequest, ) -> Result<QuotesResponse, Error>
pub async fn quotes_all( &self, request: QuotesRequest, ) -> Result<QuotesResponse, Error>
pub async fn quotes_single( &self, request: QuotesSingleRequest, ) -> Result<QuotesSingleResponse, Error>
pub async fn quotes_single_all( &self, request: QuotesSingleRequest, ) -> Result<QuotesSingleResponse, Error>
pub fn quotes_stream( &self, request: QuotesRequest, ) -> Pin<Box<dyn Stream<Item = Result<QuotesResponse, Error>> + Send>>
pub fn quotes_single_stream( &self, request: QuotesSingleRequest, ) -> Pin<Box<dyn Stream<Item = Result<QuotesSingleResponse, Error>> + Send>>
pub async fn trades( &self, request: TradesRequest, ) -> Result<TradesResponse, Error>
pub async fn trades_all( &self, request: TradesRequest, ) -> Result<TradesResponse, Error>
pub async fn trades_single( &self, request: TradesSingleRequest, ) -> Result<TradesSingleResponse, Error>
pub async fn trades_single_all( &self, request: TradesSingleRequest, ) -> Result<TradesSingleResponse, Error>
pub fn trades_stream( &self, request: TradesRequest, ) -> Pin<Box<dyn Stream<Item = Result<TradesResponse, Error>> + Send>>
pub fn trades_single_stream( &self, request: TradesSingleRequest, ) -> Pin<Box<dyn Stream<Item = Result<TradesSingleResponse, Error>> + Send>>
pub async fn latest_bars( &self, request: LatestBarsRequest, ) -> Result<LatestBarsResponse, Error>
pub async fn latest_bar( &self, request: LatestBarRequest, ) -> Result<LatestBarResponse, Error>
pub async fn latest_quotes( &self, request: LatestQuotesRequest, ) -> Result<LatestQuotesResponse, Error>
pub async fn latest_quote( &self, request: LatestQuoteRequest, ) -> Result<LatestQuoteResponse, Error>
pub async fn latest_trades( &self, request: LatestTradesRequest, ) -> Result<LatestTradesResponse, Error>
pub async fn latest_trade( &self, request: LatestTradeRequest, ) -> Result<LatestTradeResponse, Error>
pub async fn snapshots( &self, request: SnapshotsRequest, ) -> Result<SnapshotsResponse, Error>
pub async fn snapshot( &self, request: SnapshotRequest, ) -> Result<SnapshotResponse, Error>
pub async fn condition_codes( &self, request: ConditionCodesRequest, ) -> Result<ConditionCodesResponse, Error>
pub async fn exchange_codes(&self) -> Result<ExchangeCodesResponse, Error>
Trait Implementations§
Source§impl Clone for StocksClient
impl Clone for StocksClient
Source§fn clone(&self) -> StocksClient
fn clone(&self) -> StocksClient
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 moreAuto Trait Implementations§
impl Freeze for StocksClient
impl !RefUnwindSafe for StocksClient
impl Send for StocksClient
impl Sync for StocksClient
impl Unpin for StocksClient
impl !UnwindSafe for StocksClient
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