OHLCSeriesFormatter: (<T>(tableContentBuilder: T, series: OHLCSeries<OHLCFigure, OHLCFigure>, ohlcSegment: OHLCSegment) => T)

Type declaration

    • <T>(tableContentBuilder: T, series: OHLCSeries<OHLCFigure, OHLCFigure>, ohlcSegment: OHLCSegment): T
    • Interface for a function which builds ResultTable content when pointing at an OHLCSeries.

      Returns

      TableContentBuilder that was supplied

      Type Parameters

      Parameters

      • tableContentBuilder: T

        Builder that is used to build contents of ResultTable. Use addRow() method for adding content.

      • series: OHLCSeries<OHLCFigure, OHLCFigure>

        OHLCSeries

      • ohlcSegment: OHLCSegment

        OHLCSegment that is pointed. Has methods for reading its Open, High, Low, Close and Position values.

      Returns T