Class: Quant::Indicators::PingPoint

Inherits:
IndicatorPoint show all
Defined in:
lib/quant/indicators/ping.rb

Overview

A simple point used primarily to test the indicator system in unit tests. It has a simple computation that just sets the pong value to the input value and increments the compute_count by 1 each time compute is called. Sometimes you just gotta play ping pong to win.

Instance Attribute Summary

Attributes inherited from IndicatorPoint

#indicator, #tick

Method Summary

Methods inherited from IndicatorPoint

#initialize, #initialize_data_points, #oc2

Methods included from Attributes

deregister, included, register, registry

Constructor Details

This class inherits a constructor from Quant::Indicators::IndicatorPoint