src.data_sources.annuity.model_points.model_point.accounts.account.Account

class src.data_sources.annuity.model_points.model_point.accounts.account.Account(data: Dict)

Inheritance Diagram

Inheritance diagram of Account

Variables & Properties

account_date

Date the account was, or will be opened.

account_name

Human-readable account name.

account_type

Account type.

account_value

Current account value.

id

Unique identifier for a single account.

premiums

Premiums associated with this account.

Methods

__init__(data)

Constructor method.

Details

__init__(data: Dict)

Constructor method. Initializes a collection of premiums based on data within an annuity model point file.

Parameters:

data – Data for a single account.

property account_date: date

Date the account was, or will be opened.

Returns:

Account opening date.

property account_name: str

Human-readable account name.

Returns:

Friendly account name.

property account_type: AccountType

Account type. This field is currently used to indicate crediting strategies for a particular account.

Returns:

Account type.

property account_value: float

Current account value. For new business model points, this should always be 0.0.

Returns:

Account value.

cache: DataFrame

Internal cache, populated at runtime.

property id: str

Unique identifier for a single account. For example, this could be a CUSIP or a GUID.

Returns:

Account ID.

premiums: Premiums

Premiums associated with this account.