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

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

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

Public Member Functions

 PlacementRequest (ResourceId id=default(ResourceId), ResourceId parentPlacementId=default(ResourceId), List< ResourceId > blockIds=default(List< 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 timeInForce=default(string), string type=default(string), DateTimeOffset createdDate=default(DateTimeOffset), CurrencyAndAmount limitPrice=default(CurrencyAndAmount), CurrencyAndAmount stopPrice=default(CurrencyAndAmount), string counterparty=default(string), string executionSystem=default(string), string entryType=default(string))
 Initializes a new instance of the PlacementRequest 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 (PlacementRequest input)
 Returns true if PlacementRequest instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

ResourceId Id [get, set]
 Gets or Sets Id More...
 
ResourceId ParentPlacementId [get, set]
 Gets or Sets ParentPlacementId More...
 
List< ResourceIdBlockIds [get, set]
 The IDs of the Blocks associated with this placement. More...
 
Dictionary< string, PerpetualPropertyProperties [get, set]
 Client-defined properties associated with this order. 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 placement (typically a FIX state; Open, Filled, etc). More...
 
string Side [get, set]
 The side (Buy, Sell, ...) of this placement. More...
 
string TimeInForce [get, set]
 The time in force applicable to this placement (GTC, FOK, Day, etc) More...
 
string Type [get, set]
 The type of this placement (Market, Limit, etc). More...
 
DateTimeOffset CreatedDate [get, set]
 The active date of this placement. More...
 
CurrencyAndAmount LimitPrice [get, set]
 Gets or Sets LimitPrice More...
 
CurrencyAndAmount StopPrice [get, set]
 Gets or Sets StopPrice More...
 
string Counterparty [get, set]
 Optionally specifies the market entity this placement is placed with. More...
 
string ExecutionSystem [get, set]
 Optionally specifies the execution system in use. More...
 
string EntryType [get, set]
 Optionally specifies the entry type of this placement. More...
 

Detailed Description

A request to create or update a Placement.

Constructor & Destructor Documentation

◆ PlacementRequest() [1/2]

Lusid.Sdk.Model.PlacementRequest.PlacementRequest ( )
inlineprotected

Initializes a new instance of the PlacementRequest class.

◆ PlacementRequest() [2/2]

Lusid.Sdk.Model.PlacementRequest.PlacementRequest ( ResourceId  id = default(ResourceId),
ResourceId  parentPlacementId = default(ResourceId),
List< ResourceId blockIds = default(List<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  timeInForce = default(string),
string  type = default(string),
DateTimeOffset  createdDate = default(DateTimeOffset),
CurrencyAndAmount  limitPrice = default(CurrencyAndAmount),
CurrencyAndAmount  stopPrice = default(CurrencyAndAmount),
string  counterparty = default(string),
string  executionSystem = default(string),
string  entryType = default(string) 
)
inline

Initializes a new instance of the PlacementRequest class.

Parameters
idid (required).
parentPlacementIdparentPlacementId.
blockIdsThe IDs of the Blocks associated with this placement. (required).
propertiesClient-defined properties associated with this order..
instrumentIdentifiersThe instrument ordered. (required).
quantityThe quantity of given instrument ordered. (required).
stateThe state of this placement (typically a FIX state; Open, Filled, etc). (required).
sideThe side (Buy, Sell, ...) of this placement. (required).
timeInForceThe time in force applicable to this placement (GTC, FOK, Day, etc) (required).
typeThe type of this placement (Market, Limit, etc). (required).
createdDateThe active date of this placement. (required).
limitPricelimitPrice.
stopPricestopPrice.
counterpartyOptionally specifies the market entity this placement is placed with..
executionSystemOptionally specifies the execution system in use..
entryTypeOptionally specifies the entry type of this placement..

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if PlacementRequest instances are equal

Parameters
inputInstance of PlacementRequest to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ BlockIds

List<ResourceId> Lusid.Sdk.Model.PlacementRequest.BlockIds
getset

The IDs of the Blocks associated with this placement.

The IDs of the Blocks associated with this placement.

◆ Counterparty

string Lusid.Sdk.Model.PlacementRequest.Counterparty
getset

Optionally specifies the market entity this placement is placed with.

Optionally specifies the market entity this placement is placed with.

◆ CreatedDate

DateTimeOffset Lusid.Sdk.Model.PlacementRequest.CreatedDate
getset

The active date of this placement.

The active date of this placement.

◆ EntryType

string Lusid.Sdk.Model.PlacementRequest.EntryType
getset

Optionally specifies the entry type of this placement.

Optionally specifies the entry type of this placement.

◆ ExecutionSystem

string Lusid.Sdk.Model.PlacementRequest.ExecutionSystem
getset

Optionally specifies the execution system in use.

Optionally specifies the execution system in use.

◆ Id

ResourceId Lusid.Sdk.Model.PlacementRequest.Id
getset

Gets or Sets Id

◆ InstrumentIdentifiers

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

The instrument ordered.

The instrument ordered.

◆ LimitPrice

CurrencyAndAmount Lusid.Sdk.Model.PlacementRequest.LimitPrice
getset

Gets or Sets LimitPrice

◆ ParentPlacementId

ResourceId Lusid.Sdk.Model.PlacementRequest.ParentPlacementId
getset

Gets or Sets ParentPlacementId

◆ Properties

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

Client-defined properties associated with this order.

Client-defined properties associated with this order.

◆ Quantity

decimal Lusid.Sdk.Model.PlacementRequest.Quantity
getset

The quantity of given instrument ordered.

The quantity of given instrument ordered.

◆ Side

string Lusid.Sdk.Model.PlacementRequest.Side
getset

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

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

◆ State

string Lusid.Sdk.Model.PlacementRequest.State
getset

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

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

◆ StopPrice

CurrencyAndAmount Lusid.Sdk.Model.PlacementRequest.StopPrice
getset

Gets or Sets StopPrice

◆ TimeInForce

string Lusid.Sdk.Model.PlacementRequest.TimeInForce
getset

The time in force applicable to this placement (GTC, FOK, Day, etc)

The time in force applicable to this placement (GTC, FOK, Day, etc)

◆ Type

string Lusid.Sdk.Model.PlacementRequest.Type
getset

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

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


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