pub struct SecurityScope<'a> { /* private fields */ }Expand description
Основные paginator-ы и scope-типы блокирующего API.
Блокирующие HTTP-клиенты ISS API.
Blocking scope по engine/market/board/security, владеющий значениями.
Implementations§
Source§impl<'a> OwnedSecurityScope<'a>
impl<'a> OwnedSecurityScope<'a>
Sourcepub fn orderbook(&self) -> Result<Vec<OrderbookLevel>, MoexError>
pub fn orderbook(&self) -> Result<Vec<OrderbookLevel>, MoexError>
Получить стакан (orderbook) по текущему инструменту.
Sourcepub fn candle_borders(&self) -> Result<Vec<CandleBorder>, MoexError>
pub fn candle_borders(&self) -> Result<Vec<CandleBorder>, MoexError>
Получить доступные границы свечей (candleborders) по текущему инструменту.
Sourcepub fn trades(&self, page_request: PageRequest) -> Result<Vec<Trade>, MoexError>
pub fn trades(&self, page_request: PageRequest) -> Result<Vec<Trade>, MoexError>
Получить сделки (trades) по текущему инструменту.
Sourcepub fn trades_pages(&self, page_limit: NonZeroU32) -> TradesPages<'_>
pub fn trades_pages(&self, page_limit: NonZeroU32) -> TradesPages<'_>
Создать ленивый paginator страниц trades по текущему инструменту.
Sourcepub fn candles(
&self,
query: CandleQuery,
page_request: PageRequest,
) -> Result<Vec<Candle>, MoexError>
pub fn candles( &self, query: CandleQuery, page_request: PageRequest, ) -> Result<Vec<Candle>, MoexError>
Получить свечи (candles) по текущему инструменту.
Sourcepub fn candles_pages(
&self,
query: CandleQuery,
page_limit: NonZeroU32,
) -> CandlesPages<'_>
pub fn candles_pages( &self, query: CandleQuery, page_limit: NonZeroU32, ) -> CandlesPages<'_>
Создать ленивый paginator candles по текущему инструменту.
Trait Implementations§
Source§impl<'a> Clone for OwnedSecurityScope<'a>
impl<'a> Clone for OwnedSecurityScope<'a>
Source§fn clone(&self) -> OwnedSecurityScope<'a>
fn clone(&self) -> OwnedSecurityScope<'a>
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<'a> Freeze for OwnedSecurityScope<'a>
impl<'a> !RefUnwindSafe for OwnedSecurityScope<'a>
impl<'a> Send for OwnedSecurityScope<'a>
impl<'a> Sync for OwnedSecurityScope<'a>
impl<'a> Unpin for OwnedSecurityScope<'a>
impl<'a> UnsafeUnpin for OwnedSecurityScope<'a>
impl<'a> !UnwindSafe for OwnedSecurityScope<'a>
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