IOrderDraftsApiGetPriceCount Method

GF API Documentation
Required order prices per type.

Namespace:  GF.Api.Orders.Drafts
Assembly:  GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax

int GetPriceCount(
	OrderType orderType
)

Parameters

orderType
Type: GF.Api.Values.OrdersOrderType
order type

Return Value

Type: Int32
0,1,2
Remarks

Number of price fields required for an order of given type.
Market orders does not require any price, STPLMT orders require 2 price fields.
See Also

Reference