C# Class FastQuant.Account

Datei anzeigen Open project: fastquant/fastquant.dll

Public Properties

Property Type Description
Positions List
Transactions List

Public Methods

Method 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 method

public Account ( Framework framework ) : System
framework Framework
return System

Add() public method

public Add ( AccountReport report ) : void
report AccountReport
return void

Add() public method

public Add ( AccountTransaction transaction, bool updateParent = true ) : void
transaction AccountTransaction
updateParent bool
return void

Add() public method

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
return void

Add() public method

public Add ( FastQuant.Fill fill, bool updateParent = true ) : void
fill FastQuant.Fill
updateParent bool
return void

Add() public method

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

Deposit() public method

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
return void

Deposit() public method

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

GetByCurrencyId() public method

public GetByCurrencyId ( byte currencyId ) : AccountPosition
currencyId byte
return AccountPosition

GetValue() public method

public GetValue ( byte currencyId ) : double
currencyId byte
return double

Withdraw() public method

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
return void

Withdraw() public method

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

Property Details

Positions public_oe property

public List Positions
return List

Transactions public_oe property

public List Transactions
return List