Skip to content

PortfolioSummary

Thiago W. Alves edited this page Feb 6, 2019 · 6 revisions

Constructors:

Member Functions:


PortfolioSummary(totalBP, totalShares, totalRealizedPL)

Parameters

  • totalBP : float

    A

  • totalShares : int

    A

  • totalRealizedPL : float

    A

Return Value

None


getTotalBP()

A

Parameters

NA

Return Value

float : A


gettotalshares()

A

Parameters

NA

Return Value

int : A


getTotalRealizedPL()

A

Parameters

NA

Return Value

float : A


getTimestamp()

This method returns the timestamp of when the portfolio summary was last updated.

Parameters

NA

Return Value

datetime.datetime : Timestamp of when the portfolio summary was last updated.


Clone this wiki locally