C# Класс FastQuant.Account

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Positions List
Transactions List

Открытые методы

Метод Описание
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

Описание методов

Account() публичный метод

public Account ( Framework framework ) : System
framework Framework
Результат System

Add() публичный метод

public Add ( AccountReport report ) : void
report AccountReport
Результат void

Add() публичный метод

public Add ( AccountTransaction transaction, bool updateParent = true ) : void
transaction AccountTransaction
updateParent bool
Результат void

Add() публичный метод

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
Результат void

Add() публичный метод

public Add ( FastQuant.Fill fill, bool updateParent = true ) : void
fill FastQuant.Fill
updateParent bool
Результат void

Add() публичный метод

public Add ( double value, byte currencyId = CId.USD, string text = null, bool updateParent = true ) : void
value double
currencyId byte
text string
updateParent bool
Результат void

Deposit() публичный метод

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
Результат void

Deposit() публичный метод

public Deposit ( double value, byte currencyId = CId.USD, string text = null, bool updateParent = true ) : void
value double
currencyId byte
text string
updateParent bool
Результат void

GetByCurrencyId() публичный метод

public GetByCurrencyId ( byte currencyId ) : AccountPosition
currencyId byte
Результат AccountPosition

GetValue() публичный метод

public GetValue ( byte currencyId ) : double
currencyId byte
Результат double

Withdraw() публичный метод

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
Результат void

Withdraw() публичный метод

public Withdraw ( double value, byte currencyId = CId.USD, string text = null, bool updateParent = true ) : void
value double
currencyId byte
text string
updateParent bool
Результат void

Описание свойств

Positions публичное свойство

public List Positions
Результат List

Transactions публичное свойство

public List Transactions
Результат List