Class: Coinbot::OrderBook::Indicator
- Inherits:
-
Object
- Object
- Coinbot::OrderBook::Indicator
- Defined in:
- lib/coinbot/order_book/indicator.rb
Instance Attribute Summary collapse
-
#ema_cross ⇒ Object
Returns the value of attribute ema_cross.
-
#macd ⇒ Object
Returns the value of attribute macd.
-
#order_trend ⇒ Object
Returns the value of attribute order_trend.
-
#profit_margin ⇒ Object
Returns the value of attribute profit_margin.
-
#rsi ⇒ Object
Returns the value of attribute rsi.
-
#stuck_in_position ⇒ Object
Returns the value of attribute stuck_in_position.
-
#twenty_four_hr_high_low ⇒ Object
Returns the value of attribute twenty_four_hr_high_low.
-
#weighted_avg ⇒ Object
Returns the value of attribute weighted_avg.
Instance Attribute Details
#ema_cross ⇒ Object
Returns the value of attribute ema_cross.
9 10 11 |
# File 'lib/coinbot/order_book/indicator.rb', line 9 def ema_cross @ema_cross end |
#macd ⇒ Object
Returns the value of attribute macd.
9 10 11 |
# File 'lib/coinbot/order_book/indicator.rb', line 9 def macd @macd end |
#order_trend ⇒ Object
Returns the value of attribute order_trend.
9 10 11 |
# File 'lib/coinbot/order_book/indicator.rb', line 9 def order_trend @order_trend end |
#profit_margin ⇒ Object
Returns the value of attribute profit_margin.
9 10 11 |
# File 'lib/coinbot/order_book/indicator.rb', line 9 def profit_margin @profit_margin end |
#rsi ⇒ Object
Returns the value of attribute rsi.
9 10 11 |
# File 'lib/coinbot/order_book/indicator.rb', line 9 def rsi @rsi end |
#stuck_in_position ⇒ Object
Returns the value of attribute stuck_in_position.
9 10 11 |
# File 'lib/coinbot/order_book/indicator.rb', line 9 def stuck_in_position @stuck_in_position end |
#twenty_four_hr_high_low ⇒ Object
Returns the value of attribute twenty_four_hr_high_low.
9 10 11 |
# File 'lib/coinbot/order_book/indicator.rb', line 9 def twenty_four_hr_high_low @twenty_four_hr_high_low end |
#weighted_avg ⇒ Object
Returns the value of attribute weighted_avg.
9 10 11 |
# File 'lib/coinbot/order_book/indicator.rb', line 9 def weighted_avg @weighted_avg end |