C# Class FastQuant.TimeBarFactoryItem

Inheritance: BarFactoryItem
ファイルを表示 Open project: fastquant/fastquant.dll Class Usage Examples

Public Methods

Method Description
TimeBarFactoryItem ( Instrument instrument, long barSize, BarInput barInput, ClockType type, System.TimeSpan session1, System.TimeSpan session2, int providerId = -1 ) : System
TimeBarFactoryItem ( Instrument instrument, long barSize, BarInput barInput = BarInput.Trade, ClockType type = ClockType.Local, int providerId = -1 ) : System
TimeBarFactoryItem ( Instrument instrument, long barSize, BarInput barInput, System.TimeSpan session1, System.TimeSpan session2, int providerId = -1 ) : System
TimeBarFactoryItem ( Instrument instrument, long barSize, BarInput barInput = BarInput.Trade, int providerId = -1 ) : System
TimeBarFactoryItem ( Instrument instrument, long barSize, ClockType type = ClockType.Local, int providerId = -1 ) : System
TimeBarFactoryItem ( Instrument instrument, long barSize, int providerId = -1 ) : System

Protected Methods

Method Description
GetBarCloseDateTime ( DataObject obj ) : System.DateTime
GetBarOpenDateTime ( DataObject obj ) : System.DateTime
OnData ( DataObject obj ) : void
OnReminder ( System.DateTime datetime ) : void

Method Details

GetBarCloseDateTime() protected method

protected GetBarCloseDateTime ( DataObject obj ) : System.DateTime
obj DataObject
return System.DateTime

GetBarOpenDateTime() protected method

protected GetBarOpenDateTime ( DataObject obj ) : System.DateTime
obj DataObject
return System.DateTime

OnData() protected method

protected OnData ( DataObject obj ) : void
obj DataObject
return void

OnReminder() protected method

protected OnReminder ( System.DateTime datetime ) : void
datetime System.DateTime
return void

TimeBarFactoryItem() public method

public TimeBarFactoryItem ( Instrument instrument, long barSize, BarInput barInput, ClockType type, System.TimeSpan session1, System.TimeSpan session2, int providerId = -1 ) : System
instrument Instrument
barSize long
barInput BarInput
type ClockType
session1 System.TimeSpan
session2 System.TimeSpan
providerId int
return System

TimeBarFactoryItem() public method

public TimeBarFactoryItem ( Instrument instrument, long barSize, BarInput barInput = BarInput.Trade, ClockType type = ClockType.Local, int providerId = -1 ) : System
instrument Instrument
barSize long
barInput BarInput
type ClockType
providerId int
return System

TimeBarFactoryItem() public method

public TimeBarFactoryItem ( Instrument instrument, long barSize, BarInput barInput, System.TimeSpan session1, System.TimeSpan session2, int providerId = -1 ) : System
instrument Instrument
barSize long
barInput BarInput
session1 System.TimeSpan
session2 System.TimeSpan
providerId int
return System

TimeBarFactoryItem() public method

public TimeBarFactoryItem ( Instrument instrument, long barSize, BarInput barInput = BarInput.Trade, int providerId = -1 ) : System
instrument Instrument
barSize long
barInput BarInput
providerId int
return System

TimeBarFactoryItem() public method

public TimeBarFactoryItem ( Instrument instrument, long barSize, ClockType type = ClockType.Local, int providerId = -1 ) : System
instrument Instrument
barSize long
type ClockType
providerId int
return System

TimeBarFactoryItem() public method

public TimeBarFactoryItem ( Instrument instrument, long barSize, int providerId = -1 ) : System
instrument Instrument
barSize long
providerId int
return System