C# Class FastQuant.DataSeriesNameHelper

Datei anzeigen Open project: fastquant/fastquant.dll Class Usage Examples

Public Methods

Method Description
GetDataType ( DataSeries series ) : byte
GetInstrument ( DataSeries series, Framework framework ) : Instrument
GetName ( Instrument instrument, BarType barType, long barSize ) : string
GetName ( Instrument instrument, byte type ) : string
GetSymbol ( DataSeries series ) : string
GetSymbol ( string seriesName ) : string
TryGetBarTypeSize ( DataSeries series, BarType &barType, long &barSize ) : bool

Private Methods

Method Description
GetBarTypeAsString ( BarType barType, long barSize ) : object
GetDataTypeAsString ( byte dataType ) : string
GetDataTypeFromName ( string seriesName ) : byte

Method Details

GetDataType() public static method

public static GetDataType ( DataSeries series ) : byte
series DataSeries
return byte

GetInstrument() public static method

public static GetInstrument ( DataSeries series, Framework framework ) : Instrument
series DataSeries
framework Framework
return Instrument

GetName() public static method

public static GetName ( Instrument instrument, BarType barType, long barSize ) : string
instrument Instrument
barType BarType
barSize long
return string

GetName() public static method

public static GetName ( Instrument instrument, byte type ) : string
instrument Instrument
type byte
return string

GetSymbol() public static method

public static GetSymbol ( DataSeries series ) : string
series DataSeries
return string

GetSymbol() public static method

public static GetSymbol ( string seriesName ) : string
seriesName string
return string

TryGetBarTypeSize() public static method

public static TryGetBarTypeSize ( DataSeries series, BarType &barType, long &barSize ) : bool
series DataSeries
barType BarType
barSize long
return bool