Class: Coinbot::OrderBook::Indicator

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

Instance Attribute Summary collapse

Instance Attribute Details

#ema_crossObject

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

#macdObject

Returns the value of attribute macd.


9
10
11
# File 'lib/coinbot/order_book/indicator.rb', line 9

def macd
  @macd
end

#order_trendObject

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_marginObject

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

#rsiObject

Returns the value of attribute rsi.


9
10
11
# File 'lib/coinbot/order_book/indicator.rb', line 9

def rsi
  @rsi
end

#stuck_in_positionObject

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_lowObject

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_avgObject

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