A request to create or update an Order.
More...
|
| BlockRequest (ResourceId id=default(ResourceId), List< ResourceId > orderIds=default(List< ResourceId >), Dictionary< string, PerpetualProperty > properties=default(Dictionary< string, PerpetualProperty >), Dictionary< string, string > instrumentIdentifiers=default(Dictionary< string, string >), decimal quantity=default(decimal), string side=default(string), string type=default(string), string timeInForce=default(string), DateTimeOffset createdDate=default(DateTimeOffset), CurrencyAndAmount limitPrice=default(CurrencyAndAmount), CurrencyAndAmount stopPrice=default(CurrencyAndAmount)) |
| Initializes a new instance of the BlockRequest 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 (BlockRequest input) |
| Returns true if BlockRequest instances are equal More...
|
|
override int | GetHashCode () |
| Gets the hash code More...
|
|
|
ResourceId | Id [get, set] |
| Gets or Sets Id More...
|
|
List< ResourceId > | OrderIds [get, set] |
| The related order ids. More...
|
|
Dictionary< string, PerpetualProperty > | Properties [get, set] |
| Client-defined properties associated with this block. More...
|
|
Dictionary< string, string > | InstrumentIdentifiers [get, set] |
| The instrument ordered. More...
|
|
decimal | Quantity [get, set] |
| The total quantity of given instrument ordered. More...
|
|
string | Side [get, set] |
| The client's representation of the block's side (buy, sell, short, etc) More...
|
|
string | Type [get, set] |
| The block order's type (examples: Limit, Market, ...) More...
|
|
string | TimeInForce [get, set] |
| The block orders' time in force (examples: Day, GoodTilCancel, ...) More...
|
|
DateTimeOffset | CreatedDate [get, set] |
| The date on which the block was made More...
|
|
CurrencyAndAmount | LimitPrice [get, set] |
| Gets or Sets LimitPrice More...
|
|
CurrencyAndAmount | StopPrice [get, set] |
| Gets or Sets StopPrice More...
|
|
A request to create or update an Order.
◆ BlockRequest() [1/2]
Lusid.Sdk.Model.BlockRequest.BlockRequest |
( |
| ) |
|
|
inlineprotected |
◆ BlockRequest() [2/2]
Lusid.Sdk.Model.BlockRequest.BlockRequest |
( |
ResourceId |
id = default(ResourceId) , |
|
|
List< ResourceId > |
orderIds = default(List<ResourceId>) , |
|
|
Dictionary< string, PerpetualProperty > |
properties = default(Dictionary<string, PerpetualProperty>) , |
|
|
Dictionary< string, string > |
instrumentIdentifiers = default(Dictionary<string, string>) , |
|
|
decimal |
quantity = default(decimal) , |
|
|
string |
side = default(string) , |
|
|
string |
type = default(string) , |
|
|
string |
timeInForce = default(string) , |
|
|
DateTimeOffset |
createdDate = default(DateTimeOffset) , |
|
|
CurrencyAndAmount |
limitPrice = default(CurrencyAndAmount) , |
|
|
CurrencyAndAmount |
stopPrice = default(CurrencyAndAmount) |
|
) |
| |
|
inline |
Initializes a new instance of the BlockRequest class.
- Parameters
-
id | id (required). |
orderIds | The related order ids. (required). |
properties | Client-defined properties associated with this block.. |
instrumentIdentifiers | The instrument ordered. (required). |
quantity | The total quantity of given instrument ordered. (required). |
side | The client's representation of the block's side (buy, sell, short, etc) (required). |
type | The block order's type (examples: Limit, Market, ...) (required). |
timeInForce | The block orders' time in force (examples: Day, GoodTilCancel, ...) (required). |
createdDate | The date on which the block was made (required). |
limitPrice | limitPrice. |
stopPrice | stopPrice. |
◆ Equals() [1/2]
bool Lusid.Sdk.Model.BlockRequest.Equals |
( |
BlockRequest |
input | ) |
|
|
inline |
Returns true if BlockRequest instances are equal
- Parameters
-
- Returns
- Boolean
◆ Equals() [2/2]
override bool Lusid.Sdk.Model.BlockRequest.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
input | Object to be compared |
- Returns
- Boolean
◆ GetHashCode()
override int Lusid.Sdk.Model.BlockRequest.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code
- Returns
- Hash code
◆ ToJson()
virtual string Lusid.Sdk.Model.BlockRequest.ToJson |
( |
| ) |
|
|
inlinevirtual |
Returns the JSON string presentation of the object
- Returns
- JSON string presentation of the object
◆ ToString()
override string Lusid.Sdk.Model.BlockRequest.ToString |
( |
| ) |
|
|
inline |
Returns the string presentation of the object
- Returns
- String presentation of the object
◆ CreatedDate
DateTimeOffset Lusid.Sdk.Model.BlockRequest.CreatedDate |
|
getset |
The date on which the block was made
The date on which the block was made
◆ Id
◆ InstrumentIdentifiers
Dictionary<string, string> Lusid.Sdk.Model.BlockRequest.InstrumentIdentifiers |
|
getset |
The instrument ordered.
The instrument ordered.
◆ LimitPrice
◆ OrderIds
List<ResourceId> Lusid.Sdk.Model.BlockRequest.OrderIds |
|
getset |
The related order ids.
The related order ids.
◆ Properties
Client-defined properties associated with this block.
Client-defined properties associated with this block.
◆ Quantity
decimal Lusid.Sdk.Model.BlockRequest.Quantity |
|
getset |
The total quantity of given instrument ordered.
The total quantity of given instrument ordered.
◆ Side
string Lusid.Sdk.Model.BlockRequest.Side |
|
getset |
The client's representation of the block's side (buy, sell, short, etc)
The client's representation of the block's side (buy, sell, short, etc)
◆ StopPrice
◆ TimeInForce
string Lusid.Sdk.Model.BlockRequest.TimeInForce |
|
getset |
The block orders' time in force (examples: Day, GoodTilCancel, ...)
The block orders' time in force (examples: Day, GoodTilCancel, ...)
◆ Type
string Lusid.Sdk.Model.BlockRequest.Type |
|
getset |
The block order's type (examples: Limit, Market, ...)
The block order's type (examples: Limit, Market, ...)
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/BlockRequest.cs