C# 클래스 FastQuant.Data.Compression.BarCompressor

파일 보기 프로젝트 열기: fastquant/fastquant.dll

보호된 프로퍼티들

프로퍼티 타입 설명
bar Bar
instrumentId int
newBarSize long
oldBarSize long

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
AddItemsToBar ( PriceSizeItem items ) : void
BarCompressor ( ) : System
CreateNewBar ( BarType barType, System.DateTime beginTime, System.DateTime endTime, double price ) : void
EmitNewCompressedBar ( ) : void

비공개 메소드들

메소드 설명
method_0 ( PriceSizeItem item ) : void
method_1 ( ) : void

메소드 상세

Add() 공개 추상적인 메소드

public abstract Add ( DataEntry entry ) : void
entry DataEntry
리턴 void

AddItemsToBar() 보호된 메소드

protected AddItemsToBar ( PriceSizeItem items ) : void
items PriceSizeItem
리턴 void

BarCompressor() 보호된 메소드

protected BarCompressor ( ) : System
리턴 System

Compress() 공개 메소드

public Compress ( DataEntryEnumerator enumerator ) : BarSeries
enumerator DataEntryEnumerator
리턴 BarSeries

CreateNewBar() 보호된 메소드

protected CreateNewBar ( BarType barType, System.DateTime beginTime, System.DateTime endTime, double price ) : void
barType BarType
beginTime System.DateTime
endTime System.DateTime
price double
리턴 void

EmitNewCompressedBar() 보호된 메소드

protected EmitNewCompressedBar ( ) : void
리턴 void

GetCompressor() 공개 정적인 메소드

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
리턴 BarCompressor

프로퍼티 상세

bar 보호되어 있는 프로퍼티

protected Bar bar
리턴 Bar

instrumentId 보호되어 있는 프로퍼티

protected int instrumentId
리턴 int

newBarSize 보호되어 있는 프로퍼티

protected long newBarSize
리턴 long

oldBarSize 보호되어 있는 프로퍼티

protected long oldBarSize
리턴 long