C# 클래스 FastQuant.BarFactoryItem

파일 보기 프로젝트 열기: fastquant/fastquant.dll 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
bar Bar
barInput BarInput
barSize long
barType BarType
factory BarFactory
instrument Instrument
providerId int
session1 System.TimeSpan
session2 System.TimeSpan
sessionEnabled bool

공개 메소드들

메소드 설명
ToString ( ) : string

보호된 메소드들

메소드 설명
AddReminder ( System.DateTime datetime, ClockType type ) : bool
BarFactoryItem ( Instrument instrument, BarType barType, long barSize, BarInput barInput, System.TimeSpan session1, System.TimeSpan session2, int providerId = -1 ) : System
BarFactoryItem ( Instrument instrument, BarType barType, long barSize, BarInput barInput = BarInput.Trade, int providerId = -1 ) : System
EmitBar ( ) : void
GetBarCloseDateTime ( DataObject obj ) : System.DateTime
GetBarOpenDateTime ( DataObject obj ) : System.DateTime
GetDataObjectDateTime ( DataObject obj, ClockType type ) : System.DateTime
InSession ( System.DateTime dateTime ) : bool
OnData ( DataObject obj ) : void
OnReminder ( System.DateTime datetime ) : void

비공개 메소드들

메소드 설명
Process ( DataObject obj ) : void

메소드 상세

AddReminder() 보호된 메소드

protected AddReminder ( System.DateTime datetime, ClockType type ) : bool
datetime System.DateTime
type ClockType
리턴 bool

BarFactoryItem() 보호된 메소드

protected BarFactoryItem ( Instrument instrument, BarType barType, long barSize, BarInput barInput, System.TimeSpan session1, System.TimeSpan session2, int providerId = -1 ) : System
instrument Instrument
barType BarType
barSize long
barInput BarInput
session1 System.TimeSpan
session2 System.TimeSpan
providerId int
리턴 System

BarFactoryItem() 보호된 메소드

protected BarFactoryItem ( Instrument instrument, BarType barType, long barSize, BarInput barInput = BarInput.Trade, int providerId = -1 ) : System
instrument Instrument
barType BarType
barSize long
barInput BarInput
providerId int
리턴 System

EmitBar() 보호된 메소드

protected EmitBar ( ) : void
리턴 void

GetBarCloseDateTime() 보호된 메소드

protected GetBarCloseDateTime ( DataObject obj ) : System.DateTime
obj DataObject
리턴 System.DateTime

GetBarOpenDateTime() 보호된 메소드

protected GetBarOpenDateTime ( DataObject obj ) : System.DateTime
obj DataObject
리턴 System.DateTime

GetDataObjectDateTime() 보호된 메소드

protected GetDataObjectDateTime ( DataObject obj, ClockType type ) : System.DateTime
obj DataObject
type ClockType
리턴 System.DateTime

InSession() 보호된 메소드

protected InSession ( System.DateTime dateTime ) : bool
dateTime System.DateTime
리턴 bool

OnData() 보호된 메소드

protected OnData ( DataObject obj ) : void
obj DataObject
리턴 void

OnReminder() 보호된 메소드

protected OnReminder ( System.DateTime datetime ) : void
datetime System.DateTime
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

bar 보호되어 있는 프로퍼티

protected Bar,FastQuant bar
리턴 Bar

barInput 보호되어 있는 프로퍼티

protected BarInput barInput
리턴 BarInput

barSize 보호되어 있는 프로퍼티

protected long barSize
리턴 long

barType 보호되어 있는 프로퍼티

protected BarType barType
리턴 BarType

factory 보호되어 있는 프로퍼티

protected BarFactory,FastQuant factory
리턴 BarFactory

instrument 보호되어 있는 프로퍼티

protected Instrument instrument
리턴 Instrument

providerId 보호되어 있는 프로퍼티

protected int providerId
리턴 int

session1 보호되어 있는 프로퍼티

protected TimeSpan,System session1
리턴 System.TimeSpan

session2 보호되어 있는 프로퍼티

protected TimeSpan,System session2
리턴 System.TimeSpan

sessionEnabled 보호되어 있는 프로퍼티

protected bool sessionEnabled
리턴 bool