Skip to main content

Module portfolio_service

Module portfolio_service 

Source

Structs§

HypercorePositionUpdate
Perp position update from the Hypercore Position Service.
PortfolioBalance
Core portfolio state for an account.
PortfolioChange
Result of applying an event to the portfolio.
PositionChange
Change to a single position, returned from apply_event.
PositionData
Position data for a single instrument.

Enums§

PortfolioError
Error type for portfolio operations.

Traits§

PortfolioService
Portfolio state management interface.

Functions§

canonical_perp_symbol 🔒