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

A request to create or update a Execution. More...

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

Public Member Functions

 ExecutionRequest (ResourceId id=default(ResourceId), ResourceId placementId=default(ResourceId), Dictionary< string, PerpetualProperty > properties=default(Dictionary< string, PerpetualProperty >), Dictionary< string, string > instrumentIdentifiers=default(Dictionary< string, 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?))
 Initializes a new instance of the ExecutionRequest 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 (ExecutionRequest input)
 Returns true if ExecutionRequest instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 ExecutionRequest ()
 Initializes a new instance of the ExecutionRequest 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...
 
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...
 

Detailed Description

A request to create or update a Execution.

Constructor & Destructor Documentation

◆ ExecutionRequest() [1/2]

Lusid.Sdk.Model.ExecutionRequest.ExecutionRequest ( )
inlineprotected

Initializes a new instance of the ExecutionRequest class.

◆ ExecutionRequest() [2/2]

Lusid.Sdk.Model.ExecutionRequest.ExecutionRequest ( ResourceId  id = default(ResourceId),
ResourceId  placementId = default(ResourceId),
Dictionary< string, PerpetualProperty properties = default(Dictionary<string, PerpetualProperty>),
Dictionary< string, string >  instrumentIdentifiers = default(Dictionary<string, 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?) 
)
inline

Initializes a new instance of the ExecutionRequest class.

Parameters
idid (required).
placementIdplacementId (required).
propertiesClient-defined properties associated with this execution..
instrumentIdentifiersThe instrument ordered. (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.

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if ExecutionRequest instances are equal

Parameters
inputInstance of ExecutionRequest to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ AveragePrice

decimal? Lusid.Sdk.Model.ExecutionRequest.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.ExecutionRequest.Counterparty
getset

The market entity this placement is placed with.

The market entity this placement is placed with.

◆ CreatedDate

DateTimeOffset Lusid.Sdk.Model.ExecutionRequest.CreatedDate
getset

The active date of this execution.

The active date of this execution.

◆ Id

ResourceId Lusid.Sdk.Model.ExecutionRequest.Id
getset

Gets or Sets Id

◆ InstrumentIdentifiers

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

The instrument ordered.

The instrument ordered.

◆ PlacementId

ResourceId Lusid.Sdk.Model.ExecutionRequest.PlacementId
getset

Gets or Sets PlacementId

◆ Price

CurrencyAndAmount Lusid.Sdk.Model.ExecutionRequest.Price
getset

Gets or Sets Price

◆ Properties

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

Client-defined properties associated with this execution.

Client-defined properties associated with this execution.

◆ Quantity

decimal Lusid.Sdk.Model.ExecutionRequest.Quantity
getset

The quantity of given instrument ordered.

The quantity of given instrument ordered.

◆ SettlementCurrency

string Lusid.Sdk.Model.ExecutionRequest.SettlementCurrency
getset

The execution&#39;s settlement currency.

The execution&#39;s settlement currency.

◆ SettlementCurrencyFxRate

decimal Lusid.Sdk.Model.ExecutionRequest.SettlementCurrencyFxRate
getset

The exectuion&#39;s settlement currency rate.

The exectuion&#39;s settlement currency rate.

◆ SettlementDate

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

The (optional) settlement date for this execution

The (optional) settlement date for this execution

◆ Side

string Lusid.Sdk.Model.ExecutionRequest.Side
getset

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

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

◆ State

string Lusid.Sdk.Model.ExecutionRequest.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.ExecutionRequest.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: