C# Class FastQuant.OrderManager

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

Private Properties

Property Type Description
CancelOCAOrder void
OnAccountReport void
OnExecutionReport void
OnExecutionReportLoaded void

Public Methods

Method Description
Cancel ( Order order ) : void
Clear ( ) : void
Delete ( string name ) : void
Dump ( ) : void
Get ( int id ) : Order
GetByClId ( string id ) : Order
GetByProviderId ( string id ) : Order
Load ( string name = null, int clientId = -1 ) : void
LoadMessages ( string name = null, int clientId = -1 ) : List
OrderManager ( Framework framework, OrderServer orderServer ) : System
Register ( ExecutionCommand command ) : void
Register ( Order order ) : void
Reject ( Order order ) : void
Replace ( Order order, double price ) : void
Replace ( Order order, double price, double stopPx, double qty ) : void
Send ( Order order ) : void

Private Methods

Method Description
CancelOCAOrder ( Order order ) : void
OnAccountReport ( AccountReport report ) : void
OnExecutionReport ( ExecutionReport report ) : void
OnExecutionReportLoaded ( ExecutionReport report ) : void

Method Details

Cancel() public method

public Cancel ( Order order ) : void
order Order
return void

Clear() public method

public Clear ( ) : void
return void

Delete() public method

public Delete ( string name ) : void
name string
return void

Dump() public method

public Dump ( ) : void
return void

Get() public method

public Get ( int id ) : Order
id int
return Order

GetByClId() public method

public GetByClId ( string id ) : Order
id string
return Order

GetByProviderId() public method

public GetByProviderId ( string id ) : Order
id string
return Order

Load() public method

public Load ( string name = null, int clientId = -1 ) : void
name string
clientId int
return void

LoadMessages() public method

public LoadMessages ( string name = null, int clientId = -1 ) : List
name string
clientId int
return List

OrderManager() public method

public OrderManager ( Framework framework, OrderServer orderServer ) : System
framework Framework
orderServer OrderServer
return System

Register() public method

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

Register() public method

public Register ( Order order ) : void
order Order
return void

Reject() public method

public Reject ( Order order ) : void
order Order
return void

Replace() public method

public Replace ( Order order, double price ) : void
order Order
price double
return void

Replace() public method

public Replace ( Order order, double price, double stopPx, double qty ) : void
order Order
price double
stopPx double
qty double
return void

Send() public method

public Send ( Order order ) : void
order Order
return void