Helps construct OrderDraft instances
Inheritance Hierarchy
GF.Api.Orders.DraftsOrderDraftBuilder
Namespace: GF.Api.Orders.Drafts
Assembly: GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax
The OrderDraftBuilder type exposes the following members.
Constructors
Methods
| Name | Description | |
|---|---|---|
| AsAutomatic |
Set Automatic | |
| AsManual |
Set Manual | |
| Build |
Create a OrderDraft | |
| Validate |
This method checks whether order draft properties are filled valid and draft is ready to create.
| |
| WithAccountID |
Set AccountID | |
| WithAllocationBlock |
Set AllocationBlock | |
| WithComments |
Set Comments | |
| WithContractID |
Set ContractID | |
| WithCustomCompound |
Set CustomCompound | |
| WithDeltaTicks |
Set DeltaTicks | |
| WithDeltaTicks2 |
Set DeltaTicks2 | |
| WithEnd |
Set [!:OrderDraft.End] | |
| WithExecutionInstruction |
Set ExecInst | |
| WithFlags |
Set [!:OrderDraft.Flags] | |
| WithIceberg |
Set IcebergData | |
| WithOrderType |
Set [!:OrderDraft.Type] | |
| WithPrice |
Set [!:OrderDraft.Price] | |
| WithPrice2 |
Set [!:OrderDraft.Price2] | |
| WithQuantity |
Set [!:OrderDraft.Quantity] | |
| WithSenderLocation |
Set Location | |
| WithSide |
Set Side | |
| WithStart |
Set [!:OrderDraft.Start] | |
| WithSubmissionType |
Set SubmissionType | |
| WithTag50 |
Set Tag50 | |
| WithTrailingStop |
Set TrailingStopData |
See Also