C# Class FastQuant.Account

Afficher le fichier Open project: fastquant/fastquant.dll

Méthodes publiques

Свойство Type Description
Positions List
Transactions List

Méthodes publiques

Méthode Description
Account ( Framework framework ) : System
Add ( AccountReport report ) : void
Add ( AccountTransaction transaction, bool updateParent = true ) : void
Add ( System.DateTime dateTime, double value, byte currencyId = CId.USD, string text = null, bool updateParent = true ) : void
Add ( FastQuant.Fill fill, bool updateParent = true ) : void
Add ( double value, byte currencyId = CId.USD, string text = null, bool updateParent = true ) : void
Deposit ( System.DateTime dateTime, double value, byte currencyId = CId.USD, string text = null, bool updateParent = true ) : void
Deposit ( double value, byte currencyId = CId.USD, string text = null, bool updateParent = true ) : void
GetByCurrencyId ( byte currencyId ) : AccountPosition
GetValue ( byte currencyId ) : double
Withdraw ( System.DateTime dateTime, double value, byte currencyId = CId.USD, string text = null, bool updateParent = true ) : void
Withdraw ( double value, byte currencyId = CId.USD, string text = null, bool updateParent = true ) : void

Method Details

Account() public méthode

public Account ( Framework framework ) : System
framework Framework
Résultat System

Add() public méthode

public Add ( AccountReport report ) : void
report AccountReport
Résultat void

Add() public méthode

public Add ( AccountTransaction transaction, bool updateParent = true ) : void
transaction AccountTransaction
updateParent bool
Résultat void

Add() public méthode

public Add ( System.DateTime dateTime, double value, byte currencyId = CId.USD, string text = null, bool updateParent = true ) : void
dateTime System.DateTime
value double
currencyId byte
text string
updateParent bool
Résultat void

Add() public méthode

public Add ( FastQuant.Fill fill, bool updateParent = true ) : void
fill FastQuant.Fill
updateParent bool
Résultat void

Add() public méthode

public Add ( double value, byte currencyId = CId.USD, string text = null, bool updateParent = true ) : void
value double
currencyId byte
text string
updateParent bool
Résultat void

Deposit() public méthode

public Deposit ( System.DateTime dateTime, double value, byte currencyId = CId.USD, string text = null, bool updateParent = true ) : void
dateTime System.DateTime
value double
currencyId byte
text string
updateParent bool
Résultat void

Deposit() public méthode

public Deposit ( double value, byte currencyId = CId.USD, string text = null, bool updateParent = true ) : void
value double
currencyId byte
text string
updateParent bool
Résultat void

GetByCurrencyId() public méthode

public GetByCurrencyId ( byte currencyId ) : AccountPosition
currencyId byte
Résultat AccountPosition

GetValue() public méthode

public GetValue ( byte currencyId ) : double
currencyId byte
Résultat double

Withdraw() public méthode

public Withdraw ( System.DateTime dateTime, double value, byte currencyId = CId.USD, string text = null, bool updateParent = true ) : void
dateTime System.DateTime
value double
currencyId byte
text string
updateParent bool
Résultat void

Withdraw() public méthode

public Withdraw ( double value, byte currencyId = CId.USD, string text = null, bool updateParent = true ) : void
value double
currencyId byte
text string
updateParent bool
Résultat void

Property Details

Positions public_oe property

public List Positions
Résultat List

Transactions public_oe property

public List Transactions
Résultat List