Class: Cryptum::OrderBook::Indicator

Inherits:
Object
  • Object
show all
Defined in:
lib/cryptum/order_book/indicator.rb

Overview

This class is used to track market indicators to drive decision making.

Instance Attribute Summary collapse

Instance Attribute Details

#action_signalObject

Returns the value of attribute action_signal.



8
9
10
# File 'lib/cryptum/order_book/indicator.rb', line 8

def action_signal
  @action_signal
end

#last_action_signalObject

Returns the value of attribute last_action_signal.



8
9
10
# File 'lib/cryptum/order_book/indicator.rb', line 8

def last_action_signal
  @last_action_signal
end

#market_trendObject

Returns the value of attribute market_trend.



8
9
10
# File 'lib/cryptum/order_book/indicator.rb', line 8

def market_trend
  @market_trend
end

#profit_marginObject

Returns the value of attribute profit_margin.



8
9
10
# File 'lib/cryptum/order_book/indicator.rb', line 8

def profit_margin
  @profit_margin
end