C# Class FastQuant.PortfolioManager

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

Public Methods

Method Description
Add ( Portfolio portfolio, bool emitEvent = true ) : void
Clear ( ) : void
Delete ( string name ) : void
GetById ( int id ) : Portfolio
Init ( ) : void
Load ( string name ) : Portfolio
PortfolioManager ( Framework framework, PortfolioServer portfolioServer ) : System
Remove ( Portfolio portfolio ) : void
Remove ( int id ) : void
Remove ( string name ) : void
Save ( Portfolio portfolio ) : void
this ( string name ) : Portfolio

Private Methods

Method Description
OnAccountReport ( AccountReport report ) : void
OnExecutionReport ( ExecutionReport report ) : void
Read ( BinaryReader reader ) : void
Write ( BinaryWriter writer ) : void

Method Details

Add() public method

public Add ( Portfolio portfolio, bool emitEvent = true ) : void
portfolio Portfolio
emitEvent bool
return void

Clear() public method

public Clear ( ) : void
return void

Delete() public method

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

GetById() public method

public GetById ( int id ) : Portfolio
id int
return Portfolio

Init() public method

public Init ( ) : void
return void

Load() public method

public Load ( string name ) : Portfolio
name string
return Portfolio

PortfolioManager() public method

public PortfolioManager ( Framework framework, PortfolioServer portfolioServer ) : System
framework Framework
portfolioServer PortfolioServer
return System

Remove() public method

public Remove ( Portfolio portfolio ) : void
portfolio Portfolio
return void

Remove() public method

public Remove ( int id ) : void
id int
return void

Remove() public method

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

Save() public method

public Save ( Portfolio portfolio ) : void
portfolio Portfolio
return void

this() public method

public this ( string name ) : Portfolio
name string
return Portfolio