TSLab API Docs
1
|
Public Member Functions | |
LastContractsTradeStatisticsWithKind (ILastContractsTradeStatistics tradeStatistics, TradeStatisticsKind kind, double widthPercent) | |
Public Member Functions inherited from TSLab.Script.BaseTradeStatisticsWithKind< ILastContractsTradeStatistics > | |
IReadOnlyList< ITradeHistogram > | GetHistograms () |
IReadOnlyList< ITradeHistogram > | GetHistograms (int firstBarIndex, int lastBarIndex) |
void | GetHistogramsBarIndexes (out int firstBarIndex, out int lastBarIndex) |
IReadOnlyList< ITradeHistogramBar > | GetAggregatedHistogramBars (int barIndex) |
IAggregatedHistogramBarsProvider | CreateAggregatedHistogramBarsProvider () |
void | Refresh (IDataBar bar, IEnumerable< ITrade > trades) |
ITradeHistogram | GetLastHistogram () |
double | GetValue (ITradeHistogramBar bar) |
double | GetValue (ITradeHistogramBar bar, TradeStatisticsKind kind) |
void | GetMinMaxValues (IEnumerable< ITradeHistogram > histograms, out double minValue, out double maxValue) |
AlphaColor | GetColor (IGraphListBase graphList, double minValue, double maxValue, double value) |
Public Member Functions inherited from TSLab.Script.IBaseTradeStatisticsWithKind | |
double | GetValue (ITradeHistogramBar bar) |
double | GetValue (ITradeHistogramBar bar, TradeStatisticsKind kind) |
void | GetMinMaxValues (IEnumerable< ITradeHistogram > histograms, out double minValue, out double maxValue) |
AlphaColor | GetColor (IGraphListBase graphList, double minValue, double maxValue, double value) |
Public Member Functions inherited from TSLab.Script.IBaseTradeStatistics | |
IReadOnlyList< ITradeHistogram > | GetHistograms () |
IReadOnlyList< ITradeHistogram > | GetHistograms (int firstBarIndex, int lastBarIndex) |
void | GetHistogramsBarIndexes (out int firstBarIndex, out int lastBarIndex) |
IReadOnlyList< ITradeHistogramBar > | GetAggregatedHistogramBars (int barIndex) |
IAggregatedHistogramBarsProvider | CreateAggregatedHistogramBarsProvider () |
void | Refresh (IDataBar bar, IEnumerable< ITrade > trades) |
ITradeHistogram | GetLastHistogram () |
Public Attributes | |
int | ContractsCount => m_tradeStatistics.ContractsCount |
Public Attributes inherited from TSLab.Script.BaseTradeStatisticsWithKind< ILastContractsTradeStatistics > | |
string | Id |
string | StateId |
ITradeHistogramsCache | TradeHistogramsCache |
bool | HasStaticTimeline |
double | PriceStep |
IBaseTradeStatistics | Source |
Additional Inherited Members | |
Protected Member Functions inherited from TSLab.Script.BaseTradeStatisticsWithKind< ILastContractsTradeStatistics > | |
BaseTradeStatisticsWithKind (TTradeStatistics tradeStatistics, TradeStatisticsKind kind, double widthPercent) | |
Protected Attributes inherited from TSLab.Script.BaseTradeStatisticsWithKind< ILastContractsTradeStatistics > | |
readonly TTradeStatistics | m_tradeStatistics |
Properties inherited from TSLab.Script.BaseTradeStatisticsWithKind< ILastContractsTradeStatistics > | |
TradeStatisticsKind | Kind [get] |
double | WidthPercent [get] |
Properties inherited from TSLab.Script.IBaseTradeStatisticsWithKind | |
IBaseTradeStatistics | Source [get] |
TradeStatisticsKind | Kind [get] |
double | WidthPercent [get] |
Properties inherited from TSLab.Script.IBaseTradeStatistics | |
string | Id [get] |
string | StateId [get] |
ITradeHistogramsCache | TradeHistogramsCache [get] |
bool | HasStaticTimeline [get] |
double | PriceStep [get] |
Properties inherited from TSLab.Script.ILastContractsTradeStatistics | |
int | ContractsCount [get] |