C# 클래스 FastQuant.FileDataServer

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

공개 메소드들

메소드 설명
AddDataSeries ( Instrument instrument, byte type, BarType barType = BarType.Time, long barSize = 60 ) : DataSeries
AddDataSeries ( string name ) : DataSeries
Close ( ) : void
DeleteDataSeries ( Instrument instrument, byte type, BarType barType = BarType.Time, long barSize = 60 ) : void
DeleteDataSeries ( string name ) : void
FileDataServer ( Framework framework, string fileName, string host = null, int port = -1 ) : System.Collections.Generic
Flush ( ) : void
GetDataSeries ( Instrument instrument, byte type, BarType barType = BarType.Time, long barSize = 60 ) : DataSeries
GetDataSeries ( string name ) : DataSeries
GetDataSeriesList ( Instrument instrument = null, string pattern = null ) : List
Open ( ) : void
Refresh ( ) : void
Save ( Instrument instrument, DataObject obj, SaveMode option = SaveMode.Add ) : void

비공개 메소드들

메소드 설명
CreateDataSeries ( string name ) : DataSeries
GetBarDataSeriesInCache ( Instrument instrument, BarType barType, long barSize, bool createNotExist ) : DataSeries

메소드 상세

AddDataSeries() 공개 메소드

public AddDataSeries ( Instrument instrument, byte type, BarType barType = BarType.Time, long barSize = 60 ) : DataSeries
instrument Instrument
type byte
barType BarType
barSize long
리턴 DataSeries

AddDataSeries() 공개 메소드

public AddDataSeries ( string name ) : DataSeries
name string
리턴 DataSeries

Close() 공개 메소드

public Close ( ) : void
리턴 void

DeleteDataSeries() 공개 메소드

public DeleteDataSeries ( Instrument instrument, byte type, BarType barType = BarType.Time, long barSize = 60 ) : void
instrument Instrument
type byte
barType BarType
barSize long
리턴 void

DeleteDataSeries() 공개 메소드

public DeleteDataSeries ( string name ) : void
name string
리턴 void

FileDataServer() 공개 메소드

public FileDataServer ( Framework framework, string fileName, string host = null, int port = -1 ) : System.Collections.Generic
framework Framework
fileName string
host string
port int
리턴 System.Collections.Generic

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

GetDataSeries() 공개 메소드

public GetDataSeries ( Instrument instrument, byte type, BarType barType = BarType.Time, long barSize = 60 ) : DataSeries
instrument Instrument
type byte
barType BarType
barSize long
리턴 DataSeries

GetDataSeries() 공개 메소드

public GetDataSeries ( string name ) : DataSeries
name string
리턴 DataSeries

GetDataSeriesList() 공개 메소드

public GetDataSeriesList ( Instrument instrument = null, string pattern = null ) : List
instrument Instrument
pattern string
리턴 List

Open() 공개 메소드

public Open ( ) : void
리턴 void

Refresh() 공개 메소드

public Refresh ( ) : void
리턴 void

Save() 공개 메소드

public Save ( Instrument instrument, DataObject obj, SaveMode option = SaveMode.Add ) : void
instrument Instrument
obj DataObject
option SaveMode
리턴 void