Class FootprintRenderedAPIAdapter

  • All Implemented Interfaces:
    de.gsi.chart.renderer.spi.financial.FootprintRenderer.IFootprintRenderedAPI

    public class FootprintRenderedAPIAdapter
    extends java.lang.Object
    implements de.gsi.chart.renderer.spi.financial.FootprintRenderer.IFootprintRenderedAPI
    Specific implementation of adapter for your trading framework. This adapter is just demonstration to show fast mapping to trading domain objects for providing footprint data for renderers.
    Author:
    afischer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      de.gsi.chart.renderer.spi.financial.service.footprint.NbColumnColorGroup getColumnColorGroup​(de.gsi.dataset.spi.financial.api.ohlcv.IOhlcvItem ohlcvItem)  
      de.gsi.chart.renderer.spi.financial.service.footprint.FootprintRendererAttributes getFootprintAttributes()  
      java.lang.Object getLock​(de.gsi.dataset.spi.financial.api.ohlcv.IOhlcvItem ohlcvItem)  
      double getPocPrice​(de.gsi.dataset.spi.financial.api.ohlcv.IOhlcvItem ohlcvItem)  
      java.util.Collection<java.lang.Double[]> getPriceVolumeList​(de.gsi.dataset.spi.financial.api.ohlcv.IOhlcvItem ohlcvItem)  
      de.gsi.dataset.spi.financial.api.ohlcv.IOhlcvItem getPullbackColumn​(de.gsi.dataset.spi.financial.api.ohlcv.IOhlcvItem ohlcvItem)  
      boolean isFootprintAvailable​(de.gsi.dataset.spi.financial.api.ohlcv.IOhlcvItem ohlcvItem)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FootprintRenderedAPIAdapter

        public FootprintRenderedAPIAdapter​(de.gsi.chart.renderer.spi.financial.service.footprint.FootprintRendererAttributes footprintAttrs,
                                           NbColumnColorGroupService nbColumnColorGroupService)
    • Method Detail

      • getFootprintAttributes

        public de.gsi.chart.renderer.spi.financial.service.footprint.FootprintRendererAttributes getFootprintAttributes()
        Specified by:
        getFootprintAttributes in interface de.gsi.chart.renderer.spi.financial.FootprintRenderer.IFootprintRenderedAPI
      • isFootprintAvailable

        public boolean isFootprintAvailable​(de.gsi.dataset.spi.financial.api.ohlcv.IOhlcvItem ohlcvItem)
        Specified by:
        isFootprintAvailable in interface de.gsi.chart.renderer.spi.financial.FootprintRenderer.IFootprintRenderedAPI
      • getPriceVolumeList

        public java.util.Collection<java.lang.Double[]> getPriceVolumeList​(de.gsi.dataset.spi.financial.api.ohlcv.IOhlcvItem ohlcvItem)
        Specified by:
        getPriceVolumeList in interface de.gsi.chart.renderer.spi.financial.FootprintRenderer.IFootprintRenderedAPI
      • getPocPrice

        public double getPocPrice​(de.gsi.dataset.spi.financial.api.ohlcv.IOhlcvItem ohlcvItem)
        Specified by:
        getPocPrice in interface de.gsi.chart.renderer.spi.financial.FootprintRenderer.IFootprintRenderedAPI
      • getPullbackColumn

        public de.gsi.dataset.spi.financial.api.ohlcv.IOhlcvItem getPullbackColumn​(de.gsi.dataset.spi.financial.api.ohlcv.IOhlcvItem ohlcvItem)
        Specified by:
        getPullbackColumn in interface de.gsi.chart.renderer.spi.financial.FootprintRenderer.IFootprintRenderedAPI
      • getLock

        public java.lang.Object getLock​(de.gsi.dataset.spi.financial.api.ohlcv.IOhlcvItem ohlcvItem)
        Specified by:
        getLock in interface de.gsi.chart.renderer.spi.financial.FootprintRenderer.IFootprintRenderedAPI
      • getColumnColorGroup

        public de.gsi.chart.renderer.spi.financial.service.footprint.NbColumnColorGroup getColumnColorGroup​(de.gsi.dataset.spi.financial.api.ohlcv.IOhlcvItem ohlcvItem)
        Specified by:
        getColumnColorGroup in interface de.gsi.chart.renderer.spi.financial.FootprintRenderer.IFootprintRenderedAPI