C# Class FastQuant.FileDataServer

Inheritance: DataServer
Afficher le fichier Open project: fastquant/fastquant.dll

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
CreateDataSeries ( string name ) : DataSeries
GetBarDataSeriesInCache ( Instrument instrument, BarType barType, long barSize, bool createNotExist ) : DataSeries

Method Details

AddDataSeries() public méthode

public AddDataSeries ( Instrument instrument, byte type, BarType barType = BarType.Time, long barSize = 60 ) : DataSeries
instrument Instrument
type byte
barType BarType
barSize long
Résultat DataSeries

AddDataSeries() public méthode

public AddDataSeries ( string name ) : DataSeries
name string
Résultat DataSeries

Close() public méthode

public Close ( ) : void
Résultat void

DeleteDataSeries() public méthode

public DeleteDataSeries ( Instrument instrument, byte type, BarType barType = BarType.Time, long barSize = 60 ) : void
instrument Instrument
type byte
barType BarType
barSize long
Résultat void

DeleteDataSeries() public méthode

public DeleteDataSeries ( string name ) : void
name string
Résultat void

FileDataServer() public méthode

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

Flush() public méthode

public Flush ( ) : void
Résultat void

GetDataSeries() public méthode

public GetDataSeries ( Instrument instrument, byte type, BarType barType = BarType.Time, long barSize = 60 ) : DataSeries
instrument Instrument
type byte
barType BarType
barSize long
Résultat DataSeries

GetDataSeries() public méthode

public GetDataSeries ( string name ) : DataSeries
name string
Résultat DataSeries

GetDataSeriesList() public méthode

public GetDataSeriesList ( Instrument instrument = null, string pattern = null ) : List
instrument Instrument
pattern string
Résultat List

Open() public méthode

public Open ( ) : void
Résultat void

Refresh() public méthode

public Refresh ( ) : void
Résultat void

Save() public méthode

public Save ( Instrument instrument, DataObject obj, SaveMode option = SaveMode.Add ) : void
instrument Instrument
obj DataObject
option SaveMode
Résultat void