Swap

Swap.Swap(**kwargs)

The Swap model holds data for each swap (if any) involved in mitigating project market risk (e.g. interest rate, FX risk etc.)

class portfolio.Swap.Swap(*args, **kwargs)

The Swap model holds data for each swap (if any) involved in mitigating project market risk (e.g. interest rate, FX risk etc.)

exception DoesNotExist
exception MultipleObjectsReturned
creation_date

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

currency_of_institution_leg

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

currency_of_project_leg

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

currency_of_swap

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

current_notional

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

end_date_of_swap

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

get_absolute_url()
get_next_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=True, **kwargs)
get_next_by_last_change_date(*, field=<django.db.models.fields.DateTimeField: last_change_date>, is_next=True, **kwargs)
get_previous_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=False, **kwargs)
get_previous_by_last_change_date(*, field=<django.db.models.fields.DateTimeField: last_change_date>, is_next=False, **kwargs)
get_type_of_swap_display(*, field=<django.db.models.fields.IntegerField: type_of_swap>)
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

interest_rate_cap

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

interest_rate_floor

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

interest_rate_of_institution_leg

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

interest_rate_of_project_leg

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

last_change_date

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

mark_to_market

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

notional_schedule

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
project_company

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

project_company_id
start_date_of_swap

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

swap_identifier

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

type_of_interest_rate_institution

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

type_of_interest_rate_of_project_leg

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

type_of_swap

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.