C# Class FastQuant.PortfolioManager

Afficher le fichier Open project: fastquant/fastquant.dll Class Usage Examples

Méthodes publiques

Méthode 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

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

Method Details

Add() public méthode

public Add ( Portfolio portfolio, bool emitEvent = true ) : void
portfolio Portfolio
emitEvent bool
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

Delete() public méthode

public Delete ( string name ) : void
name string
Résultat void

GetById() public méthode

public GetById ( int id ) : Portfolio
id int
Résultat Portfolio

Init() public méthode

public Init ( ) : void
Résultat void

Load() public méthode

public Load ( string name ) : Portfolio
name string
Résultat Portfolio

PortfolioManager() public méthode

public PortfolioManager ( Framework framework, PortfolioServer portfolioServer ) : System
framework Framework
portfolioServer PortfolioServer
Résultat System

Remove() public méthode

public Remove ( Portfolio portfolio ) : void
portfolio Portfolio
Résultat void

Remove() public méthode

public Remove ( int id ) : void
id int
Résultat void

Remove() public méthode

public Remove ( string name ) : void
name string
Résultat void

Save() public méthode

public Save ( Portfolio portfolio ) : void
portfolio Portfolio
Résultat void

this() public méthode

public this ( string name ) : Portfolio
name string
Résultat Portfolio