LUSID C# SDK
Public Member Functions | Protected Member Functions | Properties | List of all members
Lusid.Sdk.Model.Execution Class Reference

The record of a number of executions against a single Placement (directly analogous to a partial or full fill against a street order). More...

Inheritance diagram for Lusid.Sdk.Model.Execution:
Inheritance graph
[legend]

Public Member Functions

 Execution (ResourceId id=default(ResourceId), ResourceId placementId=default(ResourceId), Dictionary< string, PerpetualProperty > properties=default(Dictionary< string, PerpetualProperty >), Dictionary< string, string > instrumentIdentifiers=default(Dictionary< string, string >), string lusidInstrumentId=default(string), decimal quantity=default(decimal), string state=default(string), string side=default(string), string type=default(string), DateTimeOffset createdDate=default(DateTimeOffset), DateTimeOffset? settlementDate=default(DateTimeOffset?), CurrencyAndAmount price=default(CurrencyAndAmount), string settlementCurrency=default(string), decimal settlementCurrencyFxRate=default(decimal), string counterparty=default(string), decimal? averagePrice=default(decimal?), ModelVersion version=default(ModelVersion), List< Link > links=default(List< Link >))
 Initializes a new instance of the Execution class. More...
 
override string ToString ()
 Returns the string presentation of the object More...
 
virtual string ToJson ()
 Returns the JSON string presentation of the object More...
 
override bool Equals (object input)
 Returns true if objects are equal More...
 
bool Equals (Execution input)
 Returns true if Execution instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 Execution ()
 Initializes a new instance of the Execution class. More...
 

Properties

ResourceId Id [get, set]
 Gets or Sets Id More...
 
ResourceId PlacementId [get, set]
 Gets or Sets PlacementId More...
 
Dictionary< string, PerpetualPropertyProperties [get, set]
 Client-defined properties associated with this execution. More...
 
Dictionary< string, string > InstrumentIdentifiers [get, set]
 The instrument ordered. More...
 
string LusidInstrumentId [get, set]
 The LUSID instrument id for the instrument execution. More...
 
decimal Quantity [get, set]
 The quantity of given instrument ordered. More...
 
string State [get, set]
 The state of this execution (typically a FIX state; Open, Filled, etc). More...
 
string Side [get, set]
 The side (Buy, Sell, ...) of this execution. More...
 
string Type [get, set]
 The type of this execution (Market, Limit, etc). More...
 
DateTimeOffset CreatedDate [get, set]
 The active date of this execution. More...
 
DateTimeOffset? SettlementDate [get, set]
 The (optional) settlement date for this execution More...
 
CurrencyAndAmount Price [get, set]
 Gets or Sets Price More...
 
string SettlementCurrency [get, set]
 The execution&#39;s settlement currency. More...
 
decimal SettlementCurrencyFxRate [get, set]
 The exectuion&#39;s settlement currency rate. More...
 
string Counterparty [get, set]
 The market entity this placement is placed with. More...
 
decimal? AveragePrice [get, set]
 The average price of all executions for a given placement at the time of upsert More...
 
ModelVersion _Version [get, set]
 Gets or Sets _Version More...
 
List< LinkLinks [get, set]
 Gets or Sets Links More...
 

Detailed Description

The record of a number of executions against a single Placement (directly analogous to a partial or full fill against a street order).

Constructor & Destructor Documentation

◆ Execution() [1/2]

Lusid.Sdk.Model.Execution.Execution ( )
inlineprotected

Initializes a new instance of the Execution class.

◆ Execution() [2/2]

Lusid.Sdk.Model.Execution.Execution ( ResourceId  id = default(ResourceId),
ResourceId  placementId = default(ResourceId),
Dictionary< string, PerpetualProperty properties = default(Dictionary<string, PerpetualProperty>),
Dictionary< string, string >  instrumentIdentifiers = default(Dictionary<string, string>),
string  lusidInstrumentId = default(string),
decimal  quantity = default(decimal),
string  state = default(string),
string  side = default(string),
string  type = default(string),
DateTimeOffset  createdDate = default(DateTimeOffset),
DateTimeOffset?  settlementDate = default(DateTimeOffset?),
CurrencyAndAmount  price = default(CurrencyAndAmount),
string  settlementCurrency = default(string),
decimal  settlementCurrencyFxRate = default(decimal),
string  counterparty = default(string),
decimal?  averagePrice = default(decimal?),
ModelVersion  version = default(ModelVersion),
List< Link links = default(List<Link>) 
)
inline

Initializes a new instance of the Execution class.

Parameters
idid (required).
placementIdplacementId (required).
propertiesClient-defined properties associated with this execution..
instrumentIdentifiersThe instrument ordered. (required).
lusidInstrumentIdThe LUSID instrument id for the instrument execution. (required).
quantityThe quantity of given instrument ordered. (required).
stateThe state of this execution (typically a FIX state; Open, Filled, etc). (required).
sideThe side (Buy, Sell, ...) of this execution. (required).
typeThe type of this execution (Market, Limit, etc). (required).
createdDateThe active date of this execution. (required).
settlementDateThe (optional) settlement date for this execution.
priceprice (required).
settlementCurrencyThe execution&#39;s settlement currency. (required).
settlementCurrencyFxRateThe exectuion&#39;s settlement currency rate. (required).
counterpartyThe market entity this placement is placed with. (required).
averagePriceThe average price of all executions for a given placement at the time of upsert.
versionversion.
linkslinks.

Member Function Documentation

◆ Equals() [1/2]

bool Lusid.Sdk.Model.Execution.Equals ( Execution  input)
inline

Returns true if Execution instances are equal

Parameters
inputInstance of Execution to be compared
Returns
Boolean

◆ Equals() [2/2]

override bool Lusid.Sdk.Model.Execution.Equals ( object  input)
inline

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

override int Lusid.Sdk.Model.Execution.GetHashCode ( )
inline

Gets the hash code

Returns
Hash code

◆ ToJson()

virtual string Lusid.Sdk.Model.Execution.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

override string Lusid.Sdk.Model.Execution.ToString ( )
inline

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ _Version

ModelVersion Lusid.Sdk.Model.Execution._Version
getset

Gets or Sets _Version

◆ AveragePrice

decimal? Lusid.Sdk.Model.Execution.AveragePrice
getset

The average price of all executions for a given placement at the time of upsert

The average price of all executions for a given placement at the time of upsert

◆ Counterparty

string Lusid.Sdk.Model.Execution.Counterparty
getset

The market entity this placement is placed with.

The market entity this placement is placed with.

◆ CreatedDate

DateTimeOffset Lusid.Sdk.Model.Execution.CreatedDate
getset

The active date of this execution.

The active date of this execution.

◆ Id

ResourceId Lusid.Sdk.Model.Execution.Id
getset

Gets or Sets Id

◆ InstrumentIdentifiers

Dictionary<string, string> Lusid.Sdk.Model.Execution.InstrumentIdentifiers
getset

The instrument ordered.

The instrument ordered.

◆ Links

List<Link> Lusid.Sdk.Model.Execution.Links
getset

Gets or Sets Links

◆ LusidInstrumentId

string Lusid.Sdk.Model.Execution.LusidInstrumentId
getset

The LUSID instrument id for the instrument execution.

The LUSID instrument id for the instrument execution.

◆ PlacementId

ResourceId Lusid.Sdk.Model.Execution.PlacementId
getset

Gets or Sets PlacementId

◆ Price

CurrencyAndAmount Lusid.Sdk.Model.Execution.Price
getset

Gets or Sets Price

◆ Properties

Dictionary<string, PerpetualProperty> Lusid.Sdk.Model.Execution.Properties
getset

Client-defined properties associated with this execution.

Client-defined properties associated with this execution.

◆ Quantity

decimal Lusid.Sdk.Model.Execution.Quantity
getset

The quantity of given instrument ordered.

The quantity of given instrument ordered.

◆ SettlementCurrency

string Lusid.Sdk.Model.Execution.SettlementCurrency
getset

The execution&#39;s settlement currency.

The execution&#39;s settlement currency.

◆ SettlementCurrencyFxRate

decimal Lusid.Sdk.Model.Execution.SettlementCurrencyFxRate
getset

The exectuion&#39;s settlement currency rate.

The exectuion&#39;s settlement currency rate.

◆ SettlementDate

DateTimeOffset? Lusid.Sdk.Model.Execution.SettlementDate
getset

The (optional) settlement date for this execution

The (optional) settlement date for this execution

◆ Side

string Lusid.Sdk.Model.Execution.Side
getset

The side (Buy, Sell, ...) of this execution.

The side (Buy, Sell, ...) of this execution.

◆ State

string Lusid.Sdk.Model.Execution.State
getset

The state of this execution (typically a FIX state; Open, Filled, etc).

The state of this execution (typically a FIX state; Open, Filled, etc).

◆ Type

string Lusid.Sdk.Model.Execution.Type
getset

The type of this execution (Market, Limit, etc).

The type of this execution (Market, Limit, etc).


The documentation for this class was generated from the following file: