Constructor
Namespace: GF.Api.Orders.Drafts
Assembly: GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax
public OrderDraft( OrderSide side, ContractID contractID, string comments, AccountID accountID, AllocationBlockTemplate allocationBlockTemplate, CustomCompoundTemplate customCompoundTemplate, int quantity, OrderType type, Nullable<double> price, Nullable<double> price2, OrderFlags flags, ExecInst execInst, TrailingStopData trailingStopData, IcebergData icebergData, Nullable<int> deltaTicks, Nullable<int> deltaTicks2, Nullable<DateTime> start, Nullable<DateTime> end, SubmissionType submissionType, Location senderLocation, Tag50 tag50 )
Parameters
- side
- Type: GF.Api.Values.OrdersOrderSide
- contractID
- Type: GF.Api.ContractsContractID
- comments
- Type: SystemString
- accountID
- Type: GF.Api.AccountsAccountID
- allocationBlockTemplate
- Type: GF.Api.AllocationAllocationBlockTemplate
- customCompoundTemplate
- Type: GF.Api.Contracts.CustomCompoundsCustomCompoundTemplate
- quantity
- Type: SystemInt32
- type
- Type: GF.Api.Values.OrdersOrderType
- price
- Type: SystemNullableDouble
- price2
- Type: SystemNullableDouble
- flags
- Type: GF.Api.Values.OrdersOrderFlags
- execInst
- Type: GF.Api.Values.OrdersExecInst
- trailingStopData
- Type: GF.Api.Orders.ExtendedDataTrailingStopData
- icebergData
- Type: GF.Api.Orders.ExtendedDataIcebergData
- deltaTicks
- Type: SystemNullableInt32
- deltaTicks2
- Type: SystemNullableInt32
- start
- Type: SystemNullableDateTime
- end
- Type: SystemNullableDateTime
- submissionType
- Type: GF.Api.Values.OrdersSubmissionType
- senderLocation
- Type: GF.Api.UtilsLocation
- tag50
- Type: GF.Api.UtilsTag50
See Also