pub struct PortfolioSyncService;Implementations§
Source§impl PortfolioSyncService
impl PortfolioSyncService
Refreshes the authoritative portfolio snapshot from the exchange.
Example:
- stale local store with outdated positions
- exchange returns fresh snapshot
- store is overwritten and marked
Fresh
pub fn mark_market_data_stale(&self, store: &mut PortfolioStateStore)
pub fn mark_account_state_stale(&self, store: &mut PortfolioStateStore)
pub fn mark_reconciliation_stale(&self, store: &mut PortfolioStateStore)
Trait Implementations§
Source§impl Debug for PortfolioSyncService
impl Debug for PortfolioSyncService
Source§impl Default for PortfolioSyncService
impl Default for PortfolioSyncService
Source§fn default() -> PortfolioSyncService
fn default() -> PortfolioSyncService
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PortfolioSyncService
impl RefUnwindSafe for PortfolioSyncService
impl Send for PortfolioSyncService
impl Sync for PortfolioSyncService
impl Unpin for PortfolioSyncService
impl UnsafeUnpin for PortfolioSyncService
impl UnwindSafe for PortfolioSyncService
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