C# Class FastQuant.Data.Compression.BarCompressor

Afficher le fichier Open project: fastquant/fastquant.dll

Protected Properties

Свойство Type Description
bar Bar
instrumentId int
newBarSize long
oldBarSize long

Méthodes publiques

Méthode Description
Add ( DataEntry entry ) : void
Compress ( DataEntryEnumerator enumerator ) : BarSeries
GetCompressor ( int instrumentId, BarType barType, long oldBarSize, long newBarSize, System.TimeSpan time1 = default(TimeSpan), System.TimeSpan time2 = default(TimeSpan) ) : BarCompressor

Méthodes protégées

Méthode Description
AddItemsToBar ( PriceSizeItem items ) : void
BarCompressor ( ) : System
CreateNewBar ( BarType barType, System.DateTime beginTime, System.DateTime endTime, double price ) : void
EmitNewCompressedBar ( ) : void

Private Methods

Méthode Description
method_0 ( PriceSizeItem item ) : void
method_1 ( ) : void

Method Details

Add() public abstract méthode

public abstract Add ( DataEntry entry ) : void
entry DataEntry
Résultat void

AddItemsToBar() protected méthode

protected AddItemsToBar ( PriceSizeItem items ) : void
items PriceSizeItem
Résultat void

BarCompressor() protected méthode

protected BarCompressor ( ) : System
Résultat System

Compress() public méthode

public Compress ( DataEntryEnumerator enumerator ) : BarSeries
enumerator DataEntryEnumerator
Résultat BarSeries

CreateNewBar() protected méthode

protected CreateNewBar ( BarType barType, System.DateTime beginTime, System.DateTime endTime, double price ) : void
barType BarType
beginTime System.DateTime
endTime System.DateTime
price double
Résultat void

EmitNewCompressedBar() protected méthode

protected EmitNewCompressedBar ( ) : void
Résultat void

GetCompressor() public static méthode

public static GetCompressor ( int instrumentId, BarType barType, long oldBarSize, long newBarSize, System.TimeSpan time1 = default(TimeSpan), System.TimeSpan time2 = default(TimeSpan) ) : BarCompressor
instrumentId int
barType BarType
oldBarSize long
newBarSize long
time1 System.TimeSpan
time2 System.TimeSpan
Résultat BarCompressor

Property Details

bar protected_oe property

protected Bar bar
Résultat Bar

instrumentId protected_oe property

protected int instrumentId
Résultat int

newBarSize protected_oe property

protected long newBarSize
Résultat long

oldBarSize protected_oe property

protected long oldBarSize
Résultat long