LUSID C# SDK
|
Record of an order instruction More...
Public Member Functions | |
OrderInstruction (ResourceId id=default(ResourceId), DateTimeOffset createdDate=default(DateTimeOffset), Dictionary< string, PerpetualProperty > properties=default(Dictionary< string, PerpetualProperty >), ResourceId portfolioId=default(ResourceId), Dictionary< string, string > instrumentIdentifiers=default(Dictionary< string, string >), decimal? quantity=default(decimal?), decimal? weight=default(decimal?), CurrencyAndAmount price=default(CurrencyAndAmount), string instrumentScope=default(string), string lusidInstrumentId=default(string), ModelVersion version=default(ModelVersion), List< Link > links=default(List< Link >)) | |
Initializes a new instance of the OrderInstruction 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 (OrderInstruction input) |
Returns true if OrderInstruction instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
OrderInstruction () | |
Initializes a new instance of the OrderInstruction class. More... | |
Properties | |
ResourceId | Id [get, set] |
Gets or Sets Id More... | |
DateTimeOffset | CreatedDate [get, set] |
The active date of this order instruction. More... | |
Dictionary< string, PerpetualProperty > | Properties [get, set] |
Client-defined properties associated with this execution. More... | |
ResourceId | PortfolioId [get, set] |
Gets or Sets PortfolioId More... | |
Dictionary< string, string > | InstrumentIdentifiers [get, set] |
The instrument ordered. More... | |
decimal? | Quantity [get, set] |
The quantity of given instrument ordered. More... | |
decimal? | Weight [get, set] |
The weight of given instrument ordered. More... | |
CurrencyAndAmount | Price [get, set] |
Gets or Sets Price More... | |
string | InstrumentScope [get, set] |
The scope in which the instrument lies More... | |
string | LusidInstrumentId [get, set] |
The LUSID instrument id for the instrument ordered. More... | |
ModelVersion | _Version [get, set] |
Gets or Sets _Version More... | |
List< Link > | Links [get, set] |
Gets or Sets Links More... | |
Record of an order instruction
|
inlineprotected |
Initializes a new instance of the OrderInstruction class.
|
inline |
Initializes a new instance of the OrderInstruction class.
id | id (required). |
createdDate | The active date of this order instruction. (required). |
properties | Client-defined properties associated with this execution.. |
portfolioId | portfolioId. |
instrumentIdentifiers | The instrument ordered. (required). |
quantity | The quantity of given instrument ordered.. |
weight | The weight of given instrument ordered.. |
price | price. |
instrumentScope | The scope in which the instrument lies. |
lusidInstrumentId | The LUSID instrument id for the instrument ordered.. |
version | version. |
links | links. |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Returns true if OrderInstruction instances are equal
input | Instance of OrderInstruction to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
|
inline |
Returns the string presentation of the object
|
getset |
Gets or Sets _Version
|
getset |
The active date of this order instruction.
The active date of this order instruction.
|
getset |
Gets or Sets Id
|
getset |
The instrument ordered.
The instrument ordered.
|
getset |
The scope in which the instrument lies
The scope in which the instrument lies
|
getset |
Gets or Sets Links
|
getset |
The LUSID instrument id for the instrument ordered.
The LUSID instrument id for the instrument ordered.
|
getset |
Gets or Sets PortfolioId
|
getset |
Gets or Sets Price
|
getset |
Client-defined properties associated with this execution.
Client-defined properties associated with this execution.
|
getset |
The quantity of given instrument ordered.
The quantity of given instrument ordered.
|
getset |
The weight of given instrument ordered.
The weight of given instrument ordered.