sdk.lusid.models.accounting_method.AccountingMethod

class AccountingMethod[source]

Attributes

This is a Pydantic class. For now, click on the green [source] link in the class signature above to see descriptions/allowed values for these attributes.

DEFAULT

AVERAGECOST

FIRSTINFIRSTOUT

LASTINFIRSTOUT

HIGHESTCOSTFIRST

LOWESTCOSTFIRST

PRORATEBYUNITS

PRORATEBYCOST

PRORATEBYCOSTPORTFOLIOCURRENCY

INTRADAYTHENFIRSTINFIRSTOUT

LONGTERMHIGHESTCOSTFIRST

LONGTERMHIGHESTCOSTFIRSTPORTFOLIOCURRENCY

HIGHESTCOSTFIRSTPORTFOLIOCURRENCY

LOWESTCOSTFIRSTPORTFOLIOCURRENCY

MAXIMUMLOSSMINIMUMGAIN

MAXIMUMLOSSMINIMUMGAINPORTFOLIOCURRENCY

classmethod from_json(json_str)[source]

Create an instance of AccountingMethod from a JSON string

Return type:

enum