Module barter::portfolio::repository[][src]

Modules

Traits

Handles the reading & writing of a Portfolio’s current cash to/from the persistence layer.

Handles the reading & writing of a Position to/from the persistence layer.

Handles the reading & writing of a Portfolio’s current value to/from the persistence layer.

Functions

Returns a unique identifier for a Portfolio’s current cash, given a portfolio_id.\

Returns a unique identifier for a Portfolio’s closed positions, given a portfolio_id.

Returns a Position unique identifier given a portfolio_id, exchange & symbol.

Returns a unique identifier for a Portfolio’s current value, given a portfolio_id.