Class: BitexBot::SellClosingFlow

Inherits:
ClosingFlow
  • Object
show all
Defined in:
lib/bitex_bot/models/sell_closing_flow.rb

Overview

It bought at Bitex and needs to close (sell) in the other market.

Class Method Summary collapse

Methods inherited from ClosingFlow

close_open_positions, create_closing_flow!, #create_initial_order_and_close_position!, open_positions, #positions_balance_amount, suggested_amount, #sync_closed_positions

Class Method Details

.fx_rateObject



13
14
15
# File 'lib/bitex_bot/models/sell_closing_flow.rb', line 13

def self.fx_rate
  Settings.selling_fx_rate
end

.open_position_classObject



9
10
11
# File 'lib/bitex_bot/models/sell_closing_flow.rb', line 9

def self.open_position_class
  OpenSell
end