BlockAndOrdersRequest
More...
|
| BlockAndOrdersRequest (ResourceId blockId=default(ResourceId), List< BlockedOrderRequest > orders=default(List< BlockedOrderRequest >), Dictionary< string, PerpetualProperty > blockProperties=default(Dictionary< string, PerpetualProperty >), Dictionary< string, string > instrumentIdentifiers=default(Dictionary< string, string >), string side=default(string), string type=default(string), string timeInForce=default(string), DateTimeOffset date=default(DateTimeOffset), CurrencyAndAmount limitPrice=default(CurrencyAndAmount), CurrencyAndAmount stopPrice=default(CurrencyAndAmount)) |
| Initializes a new instance of the BlockAndOrdersRequest 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 (BlockAndOrdersRequest input) |
| Returns true if BlockAndOrdersRequest instances are equal More...
|
|
override int | GetHashCode () |
| Gets the hash code More...
|
|
|
ResourceId | BlockId [get, set] |
| Gets or Sets BlockId More...
|
|
List< BlockedOrderRequest > | Orders [get, set] |
| An order which belongs to a block. Fields common to both entities (such as instrument) should be derived from the block. More...
|
|
Dictionary< string, PerpetualProperty > | BlockProperties [get, set] |
| Client-defined properties associated with this block. More...
|
|
Dictionary< string, string > | InstrumentIdentifiers [get, set] |
| The 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 | Date [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...
|
|
◆ BlockAndOrdersRequest() [1/2]
Lusid.Sdk.Model.BlockAndOrdersRequest.BlockAndOrdersRequest |
( |
| ) |
|
|
inlineprotected |
◆ BlockAndOrdersRequest() [2/2]
Lusid.Sdk.Model.BlockAndOrdersRequest.BlockAndOrdersRequest |
( |
ResourceId |
blockId = default(ResourceId) , |
|
|
List< BlockedOrderRequest > |
orders = default(List<BlockedOrderRequest>) , |
|
|
Dictionary< string, PerpetualProperty > |
blockProperties = default(Dictionary<string, PerpetualProperty>) , |
|
|
Dictionary< string, string > |
instrumentIdentifiers = default(Dictionary<string, string>) , |
|
|
string |
side = default(string) , |
|
|
string |
type = default(string) , |
|
|
string |
timeInForce = default(string) , |
|
|
DateTimeOffset |
date = default(DateTimeOffset) , |
|
|
CurrencyAndAmount |
limitPrice = default(CurrencyAndAmount) , |
|
|
CurrencyAndAmount |
stopPrice = default(CurrencyAndAmount) |
|
) |
| |
|
inline |
Initializes a new instance of the BlockAndOrdersRequest class.
- Parameters
-
blockId | blockId (required). |
orders | An order which belongs to a block. Fields common to both entities (such as instrument) should be derived from the block. (required). |
blockProperties | Client-defined properties associated with this block.. |
instrumentIdentifiers | The 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, ...). |
timeInForce | The block orders' time in force (examples: Day, GoodTilCancel, ...). |
date | The date on which the block was made. |
limitPrice | limitPrice. |
stopPrice | stopPrice. |
◆ Equals() [1/2]
◆ Equals() [2/2]
override bool Lusid.Sdk.Model.BlockAndOrdersRequest.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
input | Object to be compared |
- Returns
- Boolean
◆ GetHashCode()
override int Lusid.Sdk.Model.BlockAndOrdersRequest.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code
- Returns
- Hash code
◆ ToJson()
virtual string Lusid.Sdk.Model.BlockAndOrdersRequest.ToJson |
( |
| ) |
|
|
inlinevirtual |
Returns the JSON string presentation of the object
- Returns
- JSON string presentation of the object
◆ ToString()
override string Lusid.Sdk.Model.BlockAndOrdersRequest.ToString |
( |
| ) |
|
|
inline |
Returns the string presentation of the object
- Returns
- String presentation of the object
◆ BlockId
ResourceId Lusid.Sdk.Model.BlockAndOrdersRequest.BlockId |
|
getset |
◆ BlockProperties
Dictionary<string, PerpetualProperty> Lusid.Sdk.Model.BlockAndOrdersRequest.BlockProperties |
|
getset |
Client-defined properties associated with this block.
Client-defined properties associated with this block.
◆ Date
DateTimeOffset Lusid.Sdk.Model.BlockAndOrdersRequest.Date |
|
getset |
The date on which the block was made
The date on which the block was made
◆ InstrumentIdentifiers
Dictionary<string, string> Lusid.Sdk.Model.BlockAndOrdersRequest.InstrumentIdentifiers |
|
getset |
The instrument ordered.
The instrument ordered.
◆ LimitPrice
◆ Orders
An order which belongs to a block. Fields common to both entities (such as instrument) should be derived from the block.
An order which belongs to a block. Fields common to both entities (such as instrument) should be derived from the block.
◆ Side
string Lusid.Sdk.Model.BlockAndOrdersRequest.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.BlockAndOrdersRequest.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.BlockAndOrdersRequest.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/BlockAndOrdersRequest.cs