A request to create or update a Order Instruction.
More...
|
| | OrderInstructionRequest (ResourceId id=default(ResourceId), DateTimeOffset createdDate=default(DateTimeOffset), ResourceId portfolioId=default(ResourceId), Dictionary< string, string > instrumentIdentifiers=default(Dictionary< string, string >), decimal? quantity=default(decimal?), decimal? weight=default(decimal?), CurrencyAndAmount price=default(CurrencyAndAmount), Dictionary< string, PerpetualProperty > properties=default(Dictionary< string, PerpetualProperty >)) |
| | Initializes a new instance of the OrderInstructionRequest 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 (OrderInstructionRequest input) |
| | Returns true if OrderInstructionRequest instances are equal More...
|
| |
| override int | GetHashCode () |
| | Gets the hash code More...
|
| |
|
| ResourceId | Id [get, set] |
| | Gets or Sets Id More...
|
| |
| DateTimeOffset | CreatedDate [get, set] |
| | The active date of this order instruction. 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 proportion of the total portfolio value ordered for the given instrument ordered. More...
|
| |
| CurrencyAndAmount | Price [get, set] |
| | Gets or Sets Price More...
|
| |
| Dictionary< string, PerpetualProperty > | Properties [get, set] |
| | Client-defined properties associated with this execution. More...
|
| |
A request to create or update a Order Instruction.
◆ OrderInstructionRequest() [1/2]
| Lusid.Sdk.Model.OrderInstructionRequest.OrderInstructionRequest |
( |
| ) |
|
|
inlineprotected |
◆ OrderInstructionRequest() [2/2]
| Lusid.Sdk.Model.OrderInstructionRequest.OrderInstructionRequest |
( |
ResourceId |
id = default(ResourceId), |
|
|
DateTimeOffset |
createdDate = default(DateTimeOffset), |
|
|
ResourceId |
portfolioId = default(ResourceId), |
|
|
Dictionary< string, string > |
instrumentIdentifiers = default(Dictionary<string, string>), |
|
|
decimal? |
quantity = default(decimal?), |
|
|
decimal? |
weight = default(decimal?), |
|
|
CurrencyAndAmount |
price = default(CurrencyAndAmount), |
|
|
Dictionary< string, PerpetualProperty > |
properties = default(Dictionary<string, PerpetualProperty>) |
|
) |
| |
|
inline |
Initializes a new instance of the OrderInstructionRequest class.
- Parameters
-
| id | id (required). |
| createdDate | The active date of this order instruction. (required). |
| portfolioId | portfolioId. |
| instrumentIdentifiers | The instrument ordered.. |
| quantity | The quantity of given instrument ordered.. |
| weight | The proportion of the total portfolio value ordered for the given instrument ordered.. |
| price | price. |
| properties | Client-defined properties associated with this execution.. |
◆ Equals() [1/2]
| override bool Lusid.Sdk.Model.OrderInstructionRequest.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
| input | Object to be compared |
- Returns
- Boolean
◆ Equals() [2/2]
◆ GetHashCode()
| override int Lusid.Sdk.Model.OrderInstructionRequest.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code
- Returns
- Hash code
◆ ToJson()
| virtual string Lusid.Sdk.Model.OrderInstructionRequest.ToJson |
( |
| ) |
|
|
inlinevirtual |
Returns the JSON string presentation of the object
- Returns
- JSON string presentation of the object
◆ ToString()
| override string Lusid.Sdk.Model.OrderInstructionRequest.ToString |
( |
| ) |
|
|
inline |
Returns the string presentation of the object
- Returns
- String presentation of the object
◆ CreatedDate
| DateTimeOffset Lusid.Sdk.Model.OrderInstructionRequest.CreatedDate |
|
getset |
The active date of this order instruction.
The active date of this order instruction.
◆ Id
| ResourceId Lusid.Sdk.Model.OrderInstructionRequest.Id |
|
getset |
◆ InstrumentIdentifiers
| Dictionary<string, string> Lusid.Sdk.Model.OrderInstructionRequest.InstrumentIdentifiers |
|
getset |
The instrument ordered.
The instrument ordered.
◆ PortfolioId
| ResourceId Lusid.Sdk.Model.OrderInstructionRequest.PortfolioId |
|
getset |
◆ Price
◆ Properties
| Dictionary<string, PerpetualProperty> Lusid.Sdk.Model.OrderInstructionRequest.Properties |
|
getset |
Client-defined properties associated with this execution.
Client-defined properties associated with this execution.
◆ Quantity
| decimal? Lusid.Sdk.Model.OrderInstructionRequest.Quantity |
|
getset |
The quantity of given instrument ordered.
The quantity of given instrument ordered.
◆ Weight
| decimal? Lusid.Sdk.Model.OrderInstructionRequest.Weight |
|
getset |
The proportion of the total portfolio value ordered for the given instrument ordered.
The proportion of the total portfolio value ordered for the given instrument ordered.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/lusid-sdk-csharp/checkouts/latest/sdk/Lusid.Sdk/Model/OrderInstructionRequest.cs