An Order for a certain quantity of a specific instrument
More...
|
| | Order (Dictionary< string, PerpetualProperty > properties=default(Dictionary< string, PerpetualProperty >), ModelVersion varVersion=default(ModelVersion), Dictionary< string, string > instrumentIdentifiers=default(Dictionary< string, string >), decimal? quantity=default(decimal?), string side=default(string), ResourceId orderBookId=default(ResourceId), ResourceId portfolioId=default(ResourceId), ResourceId id=default(ResourceId), string instrumentScope=default(string), string lusidInstrumentId=default(string), string state=default(string), string type=default(string), string timeInForce=default(string), DateTimeOffset date=default(DateTimeOffset), CurrencyAndAmount price=default(CurrencyAndAmount), CurrencyAndAmount limitPrice=default(CurrencyAndAmount), CurrencyAndAmount stopPrice=default(CurrencyAndAmount), ResourceId orderInstructionId=default(ResourceId), ResourceId packageId=default(ResourceId), decimal? weight=default(decimal?), CurrencyAndAmount amount=default(CurrencyAndAmount), DataModelMembership dataModelMembership=default(DataModelMembership), List< Link > links=default(List< Link >)) |
| | Initializes a new instance of the Order 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 (Order input) |
| | Returns true if Order instances are equal More...
|
| |
| override int | GetHashCode () |
| | Gets the hash code More...
|
| |
|
| Dictionary< string, PerpetualProperty > | Properties [get, set] |
| | Client-defined properties associated with this order. More...
|
| |
| ModelVersion | VarVersion [get, set] |
| | Gets or Sets VarVersion More...
|
| |
| Dictionary< string, string > | InstrumentIdentifiers [get, set] |
| | The instrument ordered. More...
|
| |
| decimal? | Quantity [get, set] |
| | The quantity of the given instrument ordered. More...
|
| |
| string | Side [get, set] |
| | The client's representation of the order's side (buy, sell, short, etc) More...
|
| |
| ResourceId | OrderBookId [get, set] |
| | Gets or Sets OrderBookId More...
|
| |
| ResourceId | PortfolioId [get, set] |
| | Gets or Sets PortfolioId More...
|
| |
| ResourceId | Id [get, set] |
| | Gets or Sets Id 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...
|
| |
| string | State [get, set] |
| | The order's state (examples: New, PartiallyFilled, ...) More...
|
| |
| string | Type [get, set] |
| | The order's type (examples: Limit, Market, ...) More...
|
| |
| string | TimeInForce [get, set] |
| | The order's time in force (examples: Day, GoodTilCancel, ...) More...
|
| |
| DateTimeOffset | Date [get, set] |
| | The date on which the order was made 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...
|
| |
| ResourceId | OrderInstructionId [get, set] |
| | Gets or Sets OrderInstructionId More...
|
| |
| ResourceId | PackageId [get, set] |
| | Gets or Sets PackageId More...
|
| |
| decimal? | Weight [get, set] |
| | The proportion of the total portfolio value ordered for the given instrument ordered. More...
|
| |
| CurrencyAndAmount | Amount [get, set] |
| | Gets or Sets Amount More...
|
| |
| DataModelMembership | DataModelMembership [get, set] |
| | Gets or Sets DataModelMembership More...
|
| |
| List< Link > | Links [get, set] |
| | Gets or Sets Links More...
|
| |
An Order for a certain quantity of a specific instrument
◆ Order() [1/2]
| Lusid.Sdk.Model.Order.Order |
( |
| ) |
|
|
inlineprotected |
Initializes a new instance of the Order class.
◆ Order() [2/2]
| Lusid.Sdk.Model.Order.Order |
( |
Dictionary< string, PerpetualProperty > |
properties = default(Dictionary<string, PerpetualProperty>), |
|
|
ModelVersion |
varVersion = default(ModelVersion), |
|
|
Dictionary< string, string > |
instrumentIdentifiers = default(Dictionary<string, string>), |
|
|
decimal? |
quantity = default(decimal?), |
|
|
string |
side = default(string), |
|
|
ResourceId |
orderBookId = default(ResourceId), |
|
|
ResourceId |
portfolioId = default(ResourceId), |
|
|
ResourceId |
id = default(ResourceId), |
|
|
string |
instrumentScope = default(string), |
|
|
string |
lusidInstrumentId = default(string), |
|
|
string |
state = default(string), |
|
|
string |
type = default(string), |
|
|
string |
timeInForce = default(string), |
|
|
DateTimeOffset |
date = default(DateTimeOffset), |
|
|
CurrencyAndAmount |
price = default(CurrencyAndAmount), |
|
|
CurrencyAndAmount |
limitPrice = default(CurrencyAndAmount), |
|
|
CurrencyAndAmount |
stopPrice = default(CurrencyAndAmount), |
|
|
ResourceId |
orderInstructionId = default(ResourceId), |
|
|
ResourceId |
packageId = default(ResourceId), |
|
|
decimal? |
weight = default(decimal?), |
|
|
CurrencyAndAmount |
amount = default(CurrencyAndAmount), |
|
|
DataModelMembership |
dataModelMembership = default(DataModelMembership), |
|
|
List< Link > |
links = default(List<Link>) |
|
) |
| |
|
inline |
Initializes a new instance of the Order class.
- Parameters
-
| properties | Client-defined properties associated with this order.. |
| varVersion | varVersion. |
| instrumentIdentifiers | The instrument ordered. (required). |
| quantity | The quantity of the given instrument ordered.. |
| side | The client's representation of the order's side (buy, sell, short, etc) (required). |
| orderBookId | orderBookId. |
| portfolioId | portfolioId. |
| id | id (required). |
| instrumentScope | The scope in which the instrument lies. |
| lusidInstrumentId | The LUSID instrument id for the instrument ordered. (required). |
| state | The order's state (examples: New, PartiallyFilled, ...). |
| type | The order's type (examples: Limit, Market, ...). |
| timeInForce | The order's time in force (examples: Day, GoodTilCancel, ...). |
| date | The date on which the order was made. |
| price | price. |
| limitPrice | limitPrice. |
| stopPrice | stopPrice. |
| orderInstructionId | orderInstructionId. |
| packageId | packageId. |
| weight | The proportion of the total portfolio value ordered for the given instrument ordered.. |
| amount | amount. |
| dataModelMembership | dataModelMembership. |
| links | links. |
◆ Equals() [1/2]
| override bool Lusid.Sdk.Model.Order.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
| input | Object to be compared |
- Returns
- Boolean
◆ Equals() [2/2]
| bool Lusid.Sdk.Model.Order.Equals |
( |
Order |
input | ) |
|
|
inline |
Returns true if Order instances are equal
- Parameters
-
| input | Instance of Order to be compared |
- Returns
- Boolean
◆ GetHashCode()
| override int Lusid.Sdk.Model.Order.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code
- Returns
- Hash code
◆ ToJson()
| virtual string Lusid.Sdk.Model.Order.ToJson |
( |
| ) |
|
|
inlinevirtual |
Returns the JSON string presentation of the object
- Returns
- JSON string presentation of the object
◆ ToString()
| override string Lusid.Sdk.Model.Order.ToString |
( |
| ) |
|
|
inline |
Returns the string presentation of the object
- Returns
- String presentation of the object
◆ Amount
◆ DataModelMembership
◆ Date
| DateTimeOffset Lusid.Sdk.Model.Order.Date |
|
getset |
The date on which the order was made
The date on which the order was made
◆ Id
◆ InstrumentIdentifiers
| Dictionary<string, string> Lusid.Sdk.Model.Order.InstrumentIdentifiers |
|
getset |
The instrument ordered.
The instrument ordered.
◆ InstrumentScope
| string Lusid.Sdk.Model.Order.InstrumentScope |
|
getset |
The scope in which the instrument lies
The scope in which the instrument lies
◆ LimitPrice
◆ Links
| List<Link> Lusid.Sdk.Model.Order.Links |
|
getset |
◆ LusidInstrumentId
| string Lusid.Sdk.Model.Order.LusidInstrumentId |
|
getset |
The LUSID instrument id for the instrument ordered.
The LUSID instrument id for the instrument ordered.
◆ OrderBookId
◆ OrderInstructionId
| ResourceId Lusid.Sdk.Model.Order.OrderInstructionId |
|
getset |
Gets or Sets OrderInstructionId
◆ PackageId
◆ PortfolioId
◆ Price
◆ Properties
Client-defined properties associated with this order.
Client-defined properties associated with this order.
◆ Quantity
| decimal? Lusid.Sdk.Model.Order.Quantity |
|
getset |
The quantity of the given instrument ordered.
The quantity of the given instrument ordered.
◆ Side
| string Lusid.Sdk.Model.Order.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)
◆ State
| string Lusid.Sdk.Model.Order.State |
|
getset |
The order's state (examples: New, PartiallyFilled, ...)
The order's state (examples: New, PartiallyFilled, ...)
◆ StopPrice
◆ TimeInForce
| string Lusid.Sdk.Model.Order.TimeInForce |
|
getset |
The order's time in force (examples: Day, GoodTilCancel, ...)
The order's time in force (examples: Day, GoodTilCancel, ...)
◆ Type
| string Lusid.Sdk.Model.Order.Type |
|
getset |
The order's type (examples: Limit, Market, ...)
The order's type (examples: Limit, Market, ...)
◆ VarVersion
◆ Weight
| decimal? Lusid.Sdk.Model.Order.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/Order.cs