Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Filterable ¶
type Filterable interface { GetMeasurements(field1 string, field2 string, since time.Time) ([]byte, error) GetHoldings(frequency dataframe.Frequency, since time.Time) ([]byte, error) GetTransactions(since time.Time) ([]byte, error) }
func New ¶
func New(portfolioID string, userID string) Filterable
type InMemory ¶
type InMemory struct { Portfolio *portfolio.Portfolio Performance *portfolio.Performance }
func (*InMemory) GetHoldings ¶
GetHoldings returns holdings at the requested `frequency` after `since`
func (*InMemory) GetMeasurements ¶
Click to show internal directories.
Click to hide internal directories.