Security

class pyfolio_performance.Security(xml)[source]

A class that manages securities.

getMostRecentValue()[source]
Returns:

Current security price from the file in Euro.

Type:

float

getName() str[source]
Returns:

Name of the security

Type:

str

static getSecurityByIsin(isin)[source]
Param:

Isin of security that should be returned.

Type:

str

Returns:

existing security object or None

Type:

Security

static getSecurityByName(name)[source]
Param:

Name of security that should be returned.

Type:

str

Returns:

existing security object or None

Type:

Security

static getSecurityByWkn(wkn)[source]
Param:

Wkn of security that should be returned.

Type:

str

Returns:

existing security object or None

Type:

Security