C# Class PriceHistoryGenerators.SinPriceHistoryGenerator

Exibir arquivo Open project: mrdavidlaing/functional-fsharp

Public Methods

Method Description
GeneratePrices ( HistoryRequest request ) : List
GetIntervalInSeconds ( string interval ) : long
GetMidPrice ( long secsSinceMidnight ) : decimal
SinPriceHistoryGenerator ( ) : System
SinPriceHistoryGenerator ( TimeGenerator timeGenerator ) : System

Private Methods

Method Description
GeneratePriceBar ( long startSecsSinceMidnight, long endSecsSinceMidnight ) : PriceBar

Method Details

GeneratePrices() public method

public GeneratePrices ( HistoryRequest request ) : List
request HistoryRequest
return List

GetIntervalInSeconds() public method

public GetIntervalInSeconds ( string interval ) : long
interval string
return long

GetMidPrice() public method

public GetMidPrice ( long secsSinceMidnight ) : decimal
secsSinceMidnight long
return decimal

SinPriceHistoryGenerator() public method

public SinPriceHistoryGenerator ( ) : System
return System

SinPriceHistoryGenerator() public method

public SinPriceHistoryGenerator ( TimeGenerator timeGenerator ) : System
timeGenerator TimeGenerator
return System