C# Class FastQuant.Order

Inheritance: DataObject
Datei anzeigen Open project: fastquant/fastquant.dll Class Usage Examples

Private Properties

Property Type Description
EnsureNotSent void

Public Methods

Method Description
GetSideAsString ( ) : string
GetStatusAsString ( ) : string
GetTypeAsString ( ) : string
OnExecutionCommand ( ExecutionCommand command ) : void
OnExecutionReport ( ExecutionReport report ) : void
Order ( ) : System
Order ( ExecutionCommand command ) : System
Order ( IExecutionProvider provider, Instrument instrument, OrderType type, OrderSide side, double qty, double price, double stopPx, TimeInForce timeInForce = TimeInForce.Day, string text = "" ) : System
Order ( IExecutionProvider provider, Portfolio portfolio, Instrument instrument, OrderType type, OrderSide side, double qty, double price, double stopPx, TimeInForce timeInForce = TimeInForce.Day, byte routeId, string text = "" ) : System
Order ( Order order ) : System
ToString ( ) : string
this ( int index ) : object

Private Methods

Method Description
EnsureNotSent ( ) : void

Method Details

GetSideAsString() public method

public GetSideAsString ( ) : string
return string

GetStatusAsString() public method

public GetStatusAsString ( ) : string
return string

GetTypeAsString() public method

public GetTypeAsString ( ) : string
return string

OnExecutionCommand() public method

public OnExecutionCommand ( ExecutionCommand command ) : void
command ExecutionCommand
return void

OnExecutionReport() public method

public OnExecutionReport ( ExecutionReport report ) : void
report ExecutionReport
return void

Order() public method

public Order ( ) : System
return System

Order() public method

public Order ( ExecutionCommand command ) : System
command ExecutionCommand
return System

Order() public method

public Order ( IExecutionProvider provider, Instrument instrument, OrderType type, OrderSide side, double qty, double price, double stopPx, TimeInForce timeInForce = TimeInForce.Day, string text = "" ) : System
provider IExecutionProvider
instrument Instrument
type OrderType
side OrderSide
qty double
price double
stopPx double
timeInForce TimeInForce
text string
return System

Order() public method

public Order ( IExecutionProvider provider, Portfolio portfolio, Instrument instrument, OrderType type, OrderSide side, double qty, double price, double stopPx, TimeInForce timeInForce = TimeInForce.Day, byte routeId, string text = "" ) : System
provider IExecutionProvider
portfolio Portfolio
instrument Instrument
type OrderType
side OrderSide
qty double
price double
stopPx double
timeInForce TimeInForce
routeId byte
text string
return System

Order() public method

public Order ( Order order ) : System
order Order
return System

ToString() public method

public ToString ( ) : string
return string

this() public method

public this ( int index ) : object
index int
return object