Order(IExecutionProvider, Instrument, OrderType, OrderSide, Double, Double, Double, TimeInForce, String) Constructor

Initializes a new instance of the Order class.
public Order( 
IExecutionProvider provider
Instrument instrument
OrderType type
OrderSide side
double qty
double price = 0, 
double stopPx = 0, 
TimeInForce timeInForce = TimeInForce.Day, 
string text = "" 
)
This language is not supported or no code example is available.
public:  
Order( 
IExecutionProvider^ provider
Instrument^ instrument
OrderType type
OrderSide side
double qty
double price
double stopPx
TimeInForce timeInForce
String^ text 
)
This language is not supported or no code example is available.
public function Order( 
provider : IExecutionProvider
instrument : Instrument
type : OrderType
side : OrderSide
qty : double
price : double
stopPx : double
timeInForce : TimeInForce
text : String 
);
This language is not supported or no code example is available.

Parameters

provider
IExecutionProvider

The provider.

instrument
Instrument

The instrument.

type
OrderType

The type.

side
OrderSide

The side.

qty
double

The qty.

price
double

The price.

stopPx
double

The stop px.

timeInForce
TimeInForce

The time in force.

text
string

The text.

In this article

Definition