A request to create or update a Order.
More...
|
| | OrderUpdateRequest (ResourceId id=default(ResourceId), decimal? quantity=default(decimal?), ResourceId portfolioId=default(ResourceId), Dictionary< string, PerpetualProperty > properties=default(Dictionary< string, PerpetualProperty >), CurrencyAndAmount price=default(CurrencyAndAmount), CurrencyAndAmount limitPrice=default(CurrencyAndAmount), CurrencyAndAmount stopPrice=default(CurrencyAndAmount), DateTimeOffset? date=default(DateTimeOffset?), string side=default(string)) |
| | Initializes a new instance of the OrderUpdateRequest 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 (OrderUpdateRequest input) |
| | Returns true if OrderUpdateRequest instances are equal More...
|
| |
| override int | GetHashCode () |
| | Gets the hash code More...
|
| |
|
| ResourceId | Id [get, set] |
| | Gets or Sets Id More...
|
| |
| decimal? | Quantity [get, set] |
| | The quantity of the given instrument ordered. More...
|
| |
| ResourceId | PortfolioId [get, set] |
| | Gets or Sets PortfolioId More...
|
| |
| Dictionary< string, PerpetualProperty > | Properties [get, set] |
| | Client-defined properties associated with this order. More...
|
| |
| CurrencyAndAmount | Price [get, set] |
| | Gets or Sets Price More...
|
| |
| CurrencyAndAmount | LimitPrice [get, set] |
| | Gets or Sets LimitPrice More...
|
| |
| CurrencyAndAmount | StopPrice [get, set] |
| | Gets or Sets StopPrice More...
|
| |
| DateTimeOffset? | Date [get, set] |
| | The date on which the order was made More...
|
| |
| string | Side [get, set] |
| | The client's representation of the order's side (buy, sell, short, etc) More...
|
| |
A request to create or update a Order.
◆ OrderUpdateRequest() [1/2]
| Lusid.Sdk.Model.OrderUpdateRequest.OrderUpdateRequest |
( |
| ) |
|
|
inlineprotected |
◆ OrderUpdateRequest() [2/2]
| Lusid.Sdk.Model.OrderUpdateRequest.OrderUpdateRequest |
( |
ResourceId |
id = default(ResourceId), |
|
|
decimal? |
quantity = default(decimal?), |
|
|
ResourceId |
portfolioId = default(ResourceId), |
|
|
Dictionary< string, PerpetualProperty > |
properties = default(Dictionary<string, PerpetualProperty>), |
|
|
CurrencyAndAmount |
price = default(CurrencyAndAmount), |
|
|
CurrencyAndAmount |
limitPrice = default(CurrencyAndAmount), |
|
|
CurrencyAndAmount |
stopPrice = default(CurrencyAndAmount), |
|
|
DateTimeOffset? |
date = default(DateTimeOffset?), |
|
|
string |
side = default(string) |
|
) |
| |
|
inline |
Initializes a new instance of the OrderUpdateRequest class.
- Parameters
-
| id | id (required). |
| quantity | The quantity of the given instrument ordered.. |
| portfolioId | portfolioId. |
| properties | Client-defined properties associated with this order.. |
| price | price. |
| limitPrice | limitPrice. |
| stopPrice | stopPrice. |
| date | The date on which the order was made. |
| side | The client's representation of the order's side (buy, sell, short, etc). |
◆ Equals() [1/2]
| override bool Lusid.Sdk.Model.OrderUpdateRequest.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.OrderUpdateRequest.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code
- Returns
- Hash code
◆ ToJson()
| virtual string Lusid.Sdk.Model.OrderUpdateRequest.ToJson |
( |
| ) |
|
|
inlinevirtual |
Returns the JSON string presentation of the object
- Returns
- JSON string presentation of the object
◆ ToString()
| override string Lusid.Sdk.Model.OrderUpdateRequest.ToString |
( |
| ) |
|
|
inline |
Returns the string presentation of the object
- Returns
- String presentation of the object
◆ Date
| DateTimeOffset? Lusid.Sdk.Model.OrderUpdateRequest.Date |
|
getset |
The date on which the order was made
The date on which the order was made
◆ Id
◆ LimitPrice
◆ PortfolioId
| ResourceId Lusid.Sdk.Model.OrderUpdateRequest.PortfolioId |
|
getset |
◆ Price
◆ Properties
Client-defined properties associated with this order.
Client-defined properties associated with this order.
◆ Quantity
| decimal? Lusid.Sdk.Model.OrderUpdateRequest.Quantity |
|
getset |
The quantity of the given instrument ordered.
The quantity of the given instrument ordered.
◆ Side
| string Lusid.Sdk.Model.OrderUpdateRequest.Side |
|
getset |
The client's representation of the order's side (buy, sell, short, etc)
The client's representation of the order's side (buy, sell, short, etc)
◆ StopPrice
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/OrderUpdateRequest.cs