Skip to main content

PortfolioSnapshotWriter

Trait PortfolioSnapshotWriter 

Source
pub trait PortfolioSnapshotWriter: Send + Sync {
    // Required method
    fn write_portfolio_snapshot_sync(
        &self,
        input: &PortfolioSnapshotInput,
    ) -> Result<i64>;
}
Expand description

Portfolio snapshot persistence.

Required Methods§

Source

fn write_portfolio_snapshot_sync( &self, input: &PortfolioSnapshotInput, ) -> Result<i64>

Write a complete portfolio snapshot in a single transaction. Returns the new snapshot ID.

Implementors§